File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes Implementation of xmemcached for increasing the performance. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Implementation of xmemcached for increasing the performance." Watch "Implementation of xmemcached for increasing the performance." New topic
Author

Implementation of xmemcached for increasing the performance.

vijaya vardhanreddy
Greenhorn

Joined: Aug 09, 2012
Posts: 2
Hi all,

REQUIREMENT: loading the grid from MySQL data base. 1 lack records has to display from different tables i used inner joins in the sql query i am using the pagination showing 10 records at a time .for only one user query execution time is 3 seconds.but for the 100 users query execution time is 50 seconds.for load testing i am using the j meter. the acceptable time for 100 users is 12 seconds. i am planning to implement net.rubyeye.xmemcached.please help me how to write the code by using spring 2.5.6 and hibernate.that is for first user the data will come from by hitting the sql query and for second time on words the data will display from the cache memory.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7784
    
  21

vijaya vardhanreddy wrote:Hi all,
REQUIREMENT: loading the grid from MySQL data base. 1 lack records has to display from different tables i used inner joins in the sql query i am using the pagination showing 10 records at a time .for only one user query execution time is 3 seconds.but for the 100 users query execution time is 50 seconds.for load testing i am using the j meter. the acceptable time for 100 users is 12 seconds. i am planning to implement net.rubyeye.xmemcached.please help me how to write the code by using spring 2.5.6 and hibernate.that is for first user the data will come from by hitting the sql query and for second time on words the data will display from the cache memory.

This thread looks like an almost exact copy of this one; and furthermore, it doesn't look like you've looked at the answers given there at all, but are simply barreling ahead with an "implementation".

My advice: DON'T. You'll regret it in the long run.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementation of xmemcached for increasing the performance.