There seems to be some problem with the configuration files.. i am reattaching them .. http://www.nabble.com/file/p22541195/remote.cache.client.ccf remote.cache.client.ccf http://www.nabble.com/file/p22541195/remote.cache.server.ccf remote.cache.server.ccf
Yaswanth wrote: > > Hi, > > I am trying to implement Remote Cache using JCS. > > Below is my Server and Client Code. Here are my > http://www.nabble.com/file/p22541185/remote.cache.server.ccf Server and > http://www.nabble.com/file/p22541185/remote.cache.client.ccf Client Cache > configuration files. > > My ServerCode : > RemoteCacheServerFactory.main(new String[]{"/remote.cache.server.ccf"}); > > My Client1 Code : > JCS.setConfigFilename( "/remote.cache.client.ccf" ); > JCS cache = JCS.getInstance( "testCache" ); > cache.put("Key"+i, "Value"+i); // So many times.. While loop > > My Client2 Code : > JCS.setConfigFilename( "/remote.cache.client.ccf" ); > JCS cache = JCS.getInstance( "testCache" ); > cache.get("Key"+i); // So many times. While loop > > > I am running a JCS Remote Server and Starting Two Remote Clients. > > Using One client i am adding 10K Objects into cache and after that i am > using using another client i am retrieving them. At this time my average > retrieval time is 2.3 Seconds. > > When i rerun the test case with 100K objects . My average retrieval rate > is 302 Seconds. > > I observed that my retrieval rates are very slow, which i think shouldn't > be. Can anyone point out where the problem is ? > > Thanks, > Yaswanth > -- View this message in context: http://www.nabble.com/Implementing-Remote-Cache-using-JCS-.-tp22541185p22541195.html Sent from the JCS - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org For additional commands, e-mail: jcs-users-h...@jakarta.apache.org