Topics | Search Log Out | Register | Edit Profile
Hide Clipart | Banned/Unbanned User Log | Moderator Login History | Thread Delete/Move Log | Last 30 mins | 1 | 2
Calling REST experts

Chalanachithram.com DB » New TF Industry Related » Archive through March 19, 2017 » Calling REST experts « Previous Next »
Author Message
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73307
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 02:07 pm:       


Bithiri_bathi:

when you start scrolling, every scrolling event triggers a rest call to the backend and get appropriate for that page


Yes, and am aware of this. Just telling from UI point of view
 

Wellsfargo
Side Hero
Username: Wellsfargo

Post Number: 7374
Registered: 06-2012
Posted From: 124.123.185.239

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 01:59 pm:       


Nakhral:

you need to pull in batch ..why all 100,000 at one shot..server will cry like "please don't do this to me.." and what about client???




server kanna client edusthadi. nenu chesanu couple of times using a curl command line
 

Bithiri_bathi
Comedian
Username: Bithiri_bathi

Post Number: 1392
Registered: 04-2016
Posted From: 144.49.132.22

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 01:58 pm:       


Ntr_rocks:

edi aithe loading records when scrolling easy kada annai...I prefer scrolling bcoz u dont need to click




infinite scrolling is also pagination, it's just that UI is modified not to have page numbers...when you start scrolling, every scrolling event triggers a rest call to the backend and get appropriate for that page
 

Maverick
Legend
Username: Maverick

Post Number: 63661
Registered: 01-2008
Posted From: 108.171.130.187

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 01:35 pm:       


Ntr_rocks:

edi aithe loading records when scrolling easy kada annai...I prefer scrolling bcoz u dont need to click


web based kaadule..basically getting a dump from data and processing it..

looks like they having paging option..so will ask for it..thanks
Happy Vizag
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73301
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 01:28 pm:       


Maverick:

.looking into pagination option..


edi aithe loading records when scrolling easy kada annai...I prefer scrolling bcoz u dont need to click
 

Maverick
Legend
Username: Maverick

Post Number: 63659
Registered: 01-2008
Posted From: 108.171.130.187

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 01:27 pm:       

the app has a hard limit of handling 10mb in httpbody of rest response..so trying a wget to a local file and avoid the rest call from appliction,but just parse the json
Happy Vizag
 

Asdf
Megastar
Username: Asdf

Post Number: 27208
Registered: 12-2014
Posted From: 76.109.163.196

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 01:27 pm:       


Maverick:

.vallu pampestunnaru..ikkada consuming ki problem




they gotta implement pagination on their side, no other option.

also, filtering should be done on their end usually. see if the association thing can help
 

Maverick
Legend
Username: Maverick

Post Number: 63658
Registered: 01-2008
Posted From: 108.171.130.187

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 01:25 pm:       

thanks for the bump..response ledemo ani light teesukunna..looking into pagination option..vallu pampestunnaru..ikkada consuming ki problem..essentially getting data from sap by design
Happy Vizag
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73298
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 01:23 pm:       


Bithiri_bathi:


Ok Thanks, will look into it
 

Bithiri_bathi
Comedian
Username: Bithiri_bathi

Post Number: 1391
Registered: 04-2016
Posted From: 144.49.132.22

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 01:20 pm:       


Ntr_rocks:

Ok, How do we test REST api without real UI, emanna tools vunnaya ?




You can use curl, wget, or python using requests module

if you need Kerberos Auth support then you can use this python module

https://github.com/requests/requests-kerberos

which is modified version of python requests
 

Thikka_sankara
Legend
Username: Thikka_sankara

Post Number: 31893
Registered: 02-2012
Posted From: 122.178.72.76

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:30 pm:       

What's the size of the "record"?? And why are you trying to pull 100k in real time?? How frequently are you expecting to pull 100k??
methavulaki venkayya jawaabu....
https://youtu.be/fUafzTD37sY
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73288
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:28 pm:       


Asdf:


THanks, will look into those
 

Brickmansions
Side Hero
Username: Brickmansions

Post Number: 3300
Registered: 04-2015
Posted From: 72.48.141.170

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:27 pm:       

REST is mostly JSON, 100k objects is not a big deal
 

Asdf
Megastar
Username: Asdf

Post Number: 27204
Registered: 12-2014
Posted From: 76.109.163.196

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:26 pm:       


Ntr_rocks:




I used restclient in mozilla, prefer this somehow

Advanced REST client in chrome
 

Mental_sachinodu
Hero
Username: Mental_sachinodu

Post Number: 19622
Registered: 10-2008
Posted From: 24.125.46.70

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:23 pm:       


Asdf:


postman kakundaa plugins vunnai ga, firefox and chrome lo.




postman, dhc restclient inka chala unaayi ilativi
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73287
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:22 pm:       


Asdf:



postman kakundaa plugins vunnai ga, firefox and chrome lo.

restclient use chese vadni


Em plugins oo cheppu
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73286
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:21 pm:       


Mental_sachinodu:


do you use it for embedding tests into your build or just for prototyping some test requests?


prototyping some test requests...


Mental_sachinodu:


Never tried kerberos, but it should not be a problem


Ok, google chestunna emi dorakaledu...will do more...Specific roles batti kuda authentication kavali...please let me know, if you have examples/articles
 

Mental_sachinodu
Hero
Username: Mental_sachinodu

Post Number: 19621
Registered: 10-2008
Posted From: 24.125.46.70

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:20 pm:       


Ntr_rocks:

Ok, How do we test REST api without real UI, emanna tools vunnaya ?




our team builds a set of test cases as a part of REST operation implementation. my rule, task is not marked complete until the tests are built and run. full fledged testing ante it will become a bottleneck, but postman could be explored for this purposes
 

Twotown
Side Hero
Username: Twotown

Post Number: 5141
Registered: 09-2016
Posted From: 207.244.66.70

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:20 pm:       


Asdf:

postman kakundaa plugins vunnai ga, firefox and chrome lo.



nenu only postman.. maa CharePointu ki saripothundi...
 

Asdf
Megastar
Username: Asdf

Post Number: 27203
Registered: 12-2014
Posted From: 76.109.163.196

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:18 pm:       


Ntr_rocks:

How do we test REST api without real UI, emanna tools vunnaya ?




postman kakundaa plugins vunnai ga, firefox and chrome lo.

restclient use chese vadni
 

Mental_sachinodu
Hero
Username: Mental_sachinodu

Post Number: 19620
Registered: 10-2008
Posted From: 24.125.46.70

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:18 pm:       


Ntr_rocks:

Guruji, meeru postman use chestara ?

use cheste kerberos authentication ela use chestaru, ipudu mana authorize lanti data annotation keywords ni ela handle cheyali...





do you use it for embedding tests into your build or just for prototyping some test requests?

Never tried kerberos, but it should not be a problem
 

Twotown
Side Hero
Username: Twotown

Post Number: 5140
Registered: 09-2016
Posted From: 207.244.66.70

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:17 pm:       


Twitter:

ninnu interview chesthe nenu guratee ga theeskonu sorry



ippudu ayithe guarntee teesukovu adhi naaki bhi telusu :-( .. aa rojuloo WCF tho chedugu ... appatlone {bala Stone lo chaduvukoo} legacy kosam XML , current vaatikosam JSOn , single service double endpoints create chesina charithaa maadi...
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73285
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:16 pm:       


Twitter:


ledhu thammi i never used postman antha avasaram raaledhu


Ok, How do we test REST api without real UI, emanna tools vunnaya ?
 

Twitter
Legend
Username: Twitter

Post Number: 50935
Registered: 10-2009
Posted From: 66.194.212.162

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:15 pm:       


Ntr_rocks:

Guruji, meeru postman use chestara ?

use cheste kerberos authentication ela use chestaru, ipudu mana authorize lanti data annotation keywords ni ela handle cheyali...




ledhu thammi i never used postman antha avasaram raaledhu
 

Andhravodu
Side Hero
Username: Andhravodu

Post Number: 6848
Registered: 07-2015
Posted From: 69.62.241.11

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:15 pm:       


Ntr_rocks:

XML kuda cheyachu ga...


XMl 100k records ki single pull kashtam. ~10k pampinchochu each message chunk lo
 

Just4fun
Legend
Username: Just4fun

Post Number: 35455
Registered: 10-2007
Posted From: 172.72.132.15

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:13 pm:       


Twitter:

json objects ga aithe 100k jujubi


ikkada format issue kaadu, 100k records pull/raed ante server/client handle chestada ani...xml kante json light and better performance.
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73284
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:13 pm:       


Twitter:



ninnu interview chesthe nenu guratee ga theeskonu sorry


kinda nenu adigina daniki cheppakapothe meeru tellollu jobs cheap ga chesestunnaru ani pracharam chesta...

asalu naa question ee wrong aithe educate me plz...:-)
 

Twitter
Legend
Username: Twitter

Post Number: 50934
Registered: 10-2009
Posted From: 66.194.212.162

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:10 pm:       


Twotown:

REST ante Json kadha twitter annai.. BB2 golalo nuvvu padi marsi poyevaaa?
babulu enthaina techhukovachhcu.. server and client handling mechanisms meedha depend avuthadhi .. nenu first post lone cheppa nothing to do with REST.




ninnu interview chesthe nenu guratee ga theeskonu sorry :D

SOAP ki REST ki theda adhey .. SOAP only xml , REST supports json/xml even text , so wondering
Mav is reading 100k records as text or xml and not in json format ..andhukani telling json
aithe problem undakoodadhu ani
 

Twotown
Side Hero
Username: Twotown

Post Number: 5139
Registered: 09-2016
Posted From: 207.244.66.70

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:09 pm:       


Ntr_rocks:

XML kuda cheyachu ga...
Json is preferred bcoz it align with rest principles



alagante mana WCF nunchi 2 end points expose cheyyochchu...
by default ani naa tokkalo opinion ..inka XML chesedhi olu...
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73282
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:06 pm:       


Twotown:

REST ante Json kadha twitter annai


XML kuda cheyachu ga...
Json is preferred bcoz it align with rest principles
 

Twotown
Side Hero
Username: Twotown

Post Number: 5136
Registered: 09-2016
Posted From: 207.244.66.70

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 12:03 pm:       

REST ante Json kadha twitter annai.. BB2 golalo nuvvu padi marsi poyevaaa?
babulu enthaina techhukovachhcu.. server and client handling mechanisms meedha depend avuthadhi .. nenu first post lone cheppa nothing to do with REST.
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73281
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 11:54 am:       


Twitter:

json objects ga aithe 100k jujubi


Guruji, meeru postman use chestara ?

use cheste kerberos authentication ela use chestaru, ipudu mana authorize lanti data annotation keywords ni ela handle cheyali...
 

Asdf
Megastar
Username: Asdf

Post Number: 27201
Registered: 12-2014
Posted From: 76.109.163.196

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 11:53 am:       


Bithiri_bathi:

Implementing pagination support will allow the client to request set of few records at once

or modify the rest client/server to support requesting chunks of data using Range and If-Range headers




+1

also, association. idi rarely used though

for example , if you need Indian batsmen records. and you already have India code(91) in the context

/91/cricketers/batsmen
 

Twitter
Legend
Username: Twitter

Post Number: 50931
Registered: 10-2009
Posted From: 66.194.212.162

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 11:51 am:       

json objects ga aithe 100k jujubi
 

Bithiri_bathi
Comedian
Username: Bithiri_bathi

Post Number: 1390
Registered: 04-2016
Posted From: 144.49.132.22

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 11:45 am:       

Implementing pagination support will allow the client to request set of few records at once

or modify the rest client/server to support requesting chunks of data using Range and If-Range headers
 

Asdf
Megastar
Username: Asdf

Post Number: 27199
Registered: 12-2014
Posted From: 76.109.163.196

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 11:45 am:       

usually you dont get that many at once, as F/E cannot display/handle so many.

just googled...

http://stackoverflow.com/questions/2880722/is-http-post-limi tless
 

Emc2
Legend
Username: Emc2

Post Number: 53131
Registered: 03-2008
Posted From: 71.126.165.28

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 11:44 am:       

very common issue,

use node js and rest, or any other streaming api with rest works better

but make sure your receiving system has sufficient memory or do page nation
 

Nakhral
Junior Artist
Username: Nakhral

Post Number: 182
Registered: 11-2012
Posted From: 73.73.90.2

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 11:40 am:       

you need to pull in batch ..why all 100,000 at one shot..server will cry like "please don't do this to me.." and what about client???
 

Ntr_rocks
Legend
Username: Ntr_rocks

Post Number: 73277
Registered: 04-2009
Posted From: 45.43.104.179

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 11:36 am:       

bump
 

Twotown
Side Hero
Username: Twotown

Post Number: 5128
Registered: 09-2016
Posted From: 207.244.66.70

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 10:50 am:       

REST ki sambandam enti .. adi server and client limits meeda depend kadha?
 

Maverick
Legend
Username: Maverick

Post Number: 63657
Registered: 01-2008
Posted From: 108.171.130.187

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 17, 2017 - 10:48 am:       

Have you ever tried pulling say few 100 thousand records from a rest service? did you run into any issues with the size on http body?
Happy Vizag

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x8a2b490){Movie Clipart}
Show / hide regular icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Show / Hide Filmy icons selection options

Click on following links to open cliparts by Alphabetical Order

  A   B   C   D   E   F   G   H   I   J   K   L   M  

N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: