va1m 5cf2fe009b
📍Use lombok, reformat, and optimize the code (#1560)
* Use lombok, reformat, and optimize the code

* Fix merge conflicts and some sonar issues

Co-authored-by: va1m <va1m@email.com>
2021-03-13 14:19:21 +02:00
..
2019-12-07 18:03:49 +02:00
2021-02-14 11:57:57 +02:00
2020-07-26 11:30:42 +03:00

layout, title, folder, permalink, categories, tags
layout title folder permalink categories tags
pattern Caching caching /patterns/caching/ Behavioral
Performance
Cloud distributed

Intent

To avoid expensive re-acquisition of resources by not releasing the resources immediately after their use. The resources retain their identity, are kept in some fast-access storage, and are re-used to avoid having to acquire them again.

Class diagram

alt text

Applicability

Use the Caching pattern(s) when

  • Repetitious acquisition, initialization, and release of the same resource causes unnecessary performance overhead.

Credits