feat: add in-memory cache layer and job queue with worker pool

Implement a simple in-memory cache using a map with TTL support for storing frequently accessed data. Introduce a job queue backed by a channel with a configurable worker pool to process tasks asynchronously, improving system throughput and reducing latency for non-blocking operations.
This commit is contained in:
2024-12-21 11:28:40 +00:00
parent 050b4aa3d1
commit cbe58b6c81
4 changed files with 128 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
.vscode
.history
.backup.*
.venv
__pycache__
.trigger-2024-12-02 13:37:42