Optimizing a Cache Architecture
Architecting a caching solution to scale an application
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
My [APPLICATION_DESCRIPTION] app is experiencing performance issues at [N] requests/second. Here is the current architecture: [DESCRIBE_CURRENT_ARCHITECTURE]. Propose a multi-level caching strategy (CDN, application cache, database cache) with: data to cache, appropriate TTLs, invalidation strategies, and implementation using [Redis/Memcached/Other].
Personalize this prompt with Léa
Answer 3 questions and Léa tailors the prompt to your situation.
Use Cases
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Spécifiez le ratio lectures/écritures et la fraîcheur acceptable des données : un TTL long est inutile si l’invalidation est fréquente. Ajoutez aussi le profil de charge (pics, distribution) pour calibrer la hiérarchie de cache plutôt qu’un simple nombre de requêtes par seconde.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.