docs: builder, business-delegate, bytecode, caching, callback, chain diagrams

This commit is contained in:
Ilkka Seppälä
2025-04-06 09:00:19 +03:00
parent 25f7bc6fea
commit d5a46be3c5
12 changed files with 25 additions and 12 deletions
+4
View File
@@ -34,6 +34,10 @@ Wikipedia says
> In computing, a cache is a hardware or software component that stores data so that future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation or a copy of data stored elsewhere. A cache hit occurs when the requested data can be found in a cache, while a cache miss occurs when it cannot. Cache hits are served by reading data from the cache, which is faster than recomputing a result or reading from a slower data store; thus, the more requests that can be served from the cache, the faster the system performs.
Flowchart
![Caching flowchart](./etc/caching-flowchart.png)
## Programmatic Example of Caching Pattern in Java
In this programmatic example, we demonstrate different Java caching strategies, including write-through, write-around, and write-behind, using a user account management system.
Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB