Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

Large amount of web services call?

Thread view: 
howa - 25 Mar 2008 18:17 GMT
I have clients which will call the server for record updating, and the
requests is expected to have 1000 req/s.

What kind of library is the most efficient for handling my needs?

E.g. XMLRPC, SOAP ect ?

THanks.
Arne Vajhøj - 29 Mar 2008 18:52 GMT
> I have clients which will call the server for record updating, and the
> requests is expected to have 1000 req/s.
>
> What kind of library is the most efficient for handling my needs?
>
> E.g. XMLRPC, SOAP ect ?

1000 req/s is high for any XML over HTTP solution.

You can go for it and just throw enough hardware at the problem.

Or you can go for a more efficient binary message format over
a permanent connection.

Arne
Roedy Green - 30 Mar 2008 03:54 GMT
>What kind of library is the most efficient for handling my needs?

The most efficient would be some Datagrams, using an Applet to compose
the datagrams, and compressing the contents in binary format.

You won't be able to do much i/o to get that kind of volume.  This
means you will need to be read-write caching nearly all your I/O.

The usual approach to keep ramping up the transaction rate is to use
multiple servers and a scheme to spread the load evenly over all of
them.  You can see this with big companies. Every time you do a PING
you get a different IP as you are directed to a different server. You
just keep adding servers as needed to handle the load.

Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.