docs: add new diagrams for game loop, gateway, guarded suspension, half-sync/half-async, health check

This commit is contained in:
Ilkka Seppälä
2025-04-06 20:55:07 +03:00
parent 9b64cdee98
commit 9d23a234bb
11 changed files with 20 additions and 4 deletions
+4
View File
@@ -35,6 +35,10 @@ Wikipedia says
> A server that acts as an API front-end, receives API requests, enforces throttling and security policies, passes requests to the back-end service and then passes the response back to the requester.
Sequence diagram
![Gateway sequence diagram](./etc/gateway-sequence-diagram.png)
## Programmatic Example of Gateway Pattern in Java
First, we define a `Gateway` interface. This interface represents the contract for our external services. Each service that we want to interact with will implement this interface.
Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB