- What is the better way to cache a Java Web Application using MySQL? to improve performance.
- What are the best techniques to do it?
- It is better to do this at the application level or database level?
I’m new to this, so, sorry if I’m wrong.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well there are ways to have some performance tips both at database levels and Application levels.
For database levels here are few inputs
For some ORM layers like
hibernateit also provides some sort of mechanism to cache the outputs in primary levels and secondary levels.For application levels we have many options few of them are
1.EHCache
2. Memcached
JCS
here is a complete list of java based caching frameworks
java-caching-system
and some googling will help you to find many other options
for UI layers there are lots of area of improvements like
Yahoo has very good blog for this.YSLOW from YAHOO.If you are in the early stage of development i will suggest not to go for them as they lead to premature optimization and can lead to may problems.