docs: add diagrams for identity map, intercepting filter, interpreter, iterator

This commit is contained in:
Ilkka Seppälä
2025-04-06 21:11:20 +03:00
parent 9d23a234bb
commit d8b07ac484
7 changed files with 12 additions and 4 deletions
+4
View File
@@ -31,6 +31,10 @@ Wikipedia says
> In the design of DBMS, the identity map pattern is a database access design pattern used to improve performance by providing a context-specific, in-memory cache to prevent duplicate retrieval of the same object data from the database.
Sequence diagram
![Identity Map sequence diagram](./etc/identity-map-sequence-diagram.png)
## Programmatic Example of Identity Map Pattern in Java
For the purpose of this demonstration in Java programming, assume we have already created a database instance, showcasing the Identity Map pattern to avoid duplicate objects in memory.
Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB