Re: less invocation time with larger data size
fatma elshehri <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Hi, I do not consider the first invocation when i try this experiment. It is a fact that there are repeated values in the records that i retrieve from the databse and this means that serialization will be optimized, so this may lead to making invocation time for two clients very near to it for one client, but not less than it for one client, I GUESS! Also, optimization can make invocation time for say 500 record to be very near to it for 100 record, what happens is that some times time for 500 record is less than 100 record. i really appreciate any feedback Thanks, Regards, Fatma Calum Shaw-Mackay <[email protected]> wrote: Hi Fatma- Is this an observable steady decrease over time and may invocations? The first time you connect to a service, it will have to download the codebase jar, which will skew any kind of reative results if you don;t takt that into account. Also, if many of your results have, say the same string, serialization should optimize by referencing multiple copies of the same string (aka same sequence of characters) to the same reference. Can you give some more details? Cheers --Calum On 25/02/07, Fatma Elshehri wrote: > Hello all, > > i would like to share with you results that i got from a Jini application > i am developing. it is a server that takes an SQL query form the client, > connects to the database to retrieve the required data and send it back to > the client. what happened is that invocation time decreases with > increasing size of data. also, invocation time if one client only > connected to the server and invoking the method is greater than it if two > clients are invoking the method at the same time. > > please if any one has experienced something like this let me know because > it is really very important for me > > Thanks, > Regards, > > Fatma > > -------------------------------------------------------------------------- > Getting Started: http://www.jini.org/wiki/Category:Getting_Started > Community Web Site: http://jini.org > jini-users Archive: http://archives.java.sun.com/archives/jini-users.html > Unsubscribing: email "signoff JINI-USERS" to [email protected] > -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected] --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]