Re: less invocation time with larger data size
Calum Shaw-Mackay <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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]