Is it unnecessary to use ehcache over mongodb?

By : Ben

1 for indexed object, such as user indexed by Id username 2 simple query, such as search by page, username 3 complex query, tag, geolocation query.

Any suggestions?

By : Ben


It depends on many factors including your hardware, and your data. However, if all your data fits in ram, mongo will keep it all in ram, so its doubtful.

I've never used ehcache though.

This video can help you solving your question :)
By: admin