Web Application Caching in Java

  • What is the best way to cache a Java web application using MySQL? to increase productivity.
  • What are the best methods for doing this?
  • Is it better to do this at the application level or at the database level?

I am new to this, therefore, sorry if I am wrong.

+5
source share
4 answers

Well, there are ways to get some performance recommendations at both the database and application levels.

For database tiers here are a few entries

  • Query optimization
  • Creating indexes on frequently asked data.

For some ORM layers, such as hibernate, it also provides some mechanism for caching outputs at the primary levels and secondary levels.

,

1. EHCache 2. Memcached

JCS

java

java-caching-system

,

  • HTTP
  • .
  • javascripts
  • CSS
  • CDN severs

Yahoo . YSLOW YAHOO. , , .

+7
+4

, Ehcache . , : ehcache

+3

, ( , ), , , .

, Java, , , Guava ehcache.

:

, -, -, , , , , .

- , .

+2

All Articles