feat: add multi-browser page pooling, render caching, and rate limiting

- Implement browser pool with 2 browsers × 8 pages each
- Add page pool with acquire/release lifecycle and page reset between uses
- Add render cache with TTL-based expiry and pre-warming before rotation boundaries
- Add in-memory view cache to avoid repeated DB reads
- Add per-IP rate limiting (2s cooldown)
- Add concurrent render limit (16 max)
- Refactor database functions with `db` prefix for clarity
- Add CONFIG object for all tunable parameters
- Add In
This commit is contained in:
2026-05-13 07:07:34 +02:00
parent 722a3143dc
commit 86b75598fd
+724 -465
View File
File diff suppressed because it is too large Load Diff