Result Set Caching

My application will get the recipient from MySql using the bean data source. Since all pages will use the same set of entries every time I can save the list of countries as a List in some global bean, it is safe in this case. I could update the list any time I want ... but when the situation becomes more complicated, what is the best strategy for her, a more scalable solution?

Use database in memory? 3-cached cached result set?

did not find it, perhaps because I am on a new topic.

+3
source share
3 answers

ResultSet , .

EhCache . ( ). Spring ( EhCacheManagerFactoryBean EhCacheFactoryBean).

+1

, FastMap , , - , . , EhCache Memcached.

0

Source: https://habr.com/ru/post/1728850/


All Articles