java - Using EhCache as the main Datatasource instead of Database -


is reliable use ehcache datasource instead of database ?

my business functionality periodically collect information running application , store in ehcache cache , retrieve , display statistics collected information querying cache ehcache search api. cache nee keep last 30-45 days of data.

what think approah?

ehcache acceptable solution - assuming tti, ttl , other params set according business needs. there shouldn't reliability issue per se. sql database affords options transactional commits, complex queries , relational support aren't provided of course of ehcache itself.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -