java - JSR 107 - Caching (JCache) vs CPU caching -


I have read about JSR 107 caching (jachet).

I am confused: everybody who knows, every CPU manages its caching memory (with no help from the OS).

So, why do we need a Java caching handler?

Thanks

There is a difference between CPU caching and memory caching. This will cache things in the zacate memory, so you do not have to get it from expensive resources on disk or network.

Therefore, the cache is created in the CPU so that they can avoid going to memory. The CPU typically has three level caches and 8 MB around the store. CPU caching does not have to worry about anything because it has been taken care of for you. If some CPU is not in the cache, then it has to be taken out of memory.

It is like avoiding caching in the memory in memory or avoiding slow resources. As I mentioned earlier, the mechanisms have control over the programs so if you want to constantly ask your DB for some object, then you It can store memory and return to the same object. This has left a little bit of performance. As Thomas mentions Jacques, JVM adds functionality to be able to provide caching. What I understand from this means that different Java programs can share the same cache.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -