aspose file tools*
The moose likes Performance and the fly likes What is meant by avoiding  roundtrips to the server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "What is meant by avoiding  roundtrips to the server " Watch "What is meant by avoiding  roundtrips to the server " New topic
Author

What is meant by avoiding roundtrips to the server

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

while designing an Architecture , for a Application , people always suggest to avoid round trips to the server .

could anybody please tell me what is meant by round trip and if possible any such scenario .

Thanks .


Save India From Corruption - Anna Hazare.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

This should help -> server round trip


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

This should help ->


didn't helped man.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30764
    
156

Ravi,
Network calls are expensive especially if you have a lot of them. For example, suppose I need to get 20 items a table in the database. And assume my database and application server are on different machines. I could send 20 SQL queries by primary key to get the data. This is 20 round trips. Or I could send one SQL query to get all 20 things. This is one roundtrip.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

I got it , THANK YOU .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is meant by avoiding roundtrips to the server