Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate more sophisticated caches, like EHCache or Guava Cache. #10

Open
dnmilne opened this issue Dec 16, 2013 · 1 comment
Open

Comments

@dnmilne
Copy link
Owner

dnmilne commented Dec 16, 2013

Angel, can you please describe what we would get by using EHCache? My take is that we don't need many features from the cache, except that it needs to be fast, small, and simple (just key lookup, no traversing, etc)?

@ghost ghost assigned Neuw84 Dec 16, 2013
@dnmilne dnmilne closed this as completed Dec 16, 2013
@dnmilne dnmilne reopened this Dec 16, 2013
@Neuw84
Copy link
Collaborator

Neuw84 commented Dec 16, 2013

Hi,

We could tune the performance very easily (EHcache has a .xml file for configuration), add distributed caching, caching to memory, to hard disk,configure persistent caching, (not loading the cache every time you launch the application...)... and more things.

Your approach is perfect for the task as no more is needed. But maybe it's worth trying to integrate some of this caches for scaling reasons and see the performance penalty (should't be too much).

An option could be added for letting the user this decision, use your approach for performance and simplicity or use other cache mechanism for tuning how, how much and where the things are cached.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants