java - How to configure my local cache on the server -
I am trying to configure a cache on my server to avoid hitting the database all the time. The problem I am facing is controlling how cached is.
My cache will be blocked by users ID (string), so that half of the battle! The value of the map should be a group of personal details (I call them). Individual card is a superclass, then business and social card, a user can be only on a personal card, a social card, but it can have several business cards. So, there is a way to say a map value, but just say some integrity, one of them and one of the other? Or if the map is not there, then perhaps the card list is preserved with integrity. Thank you for your time Control those constraints elsewhere should go. Using the verification framework in your code design, in the database, all of them, or better. The cache should mirror the data used repeatedly. If these kinds of unwelcome appear in it, then maybe something is wrong.
Comments
Post a Comment