redis-data-structures-caching
/redis-data-structures-caching
Pomaga wdrożyć cache-aside i write-through w Redis: ciągi, hashe, zbiory posortowane i polityki wygasania TTL.
- Autor
- nextboxis ↗
- Repozytorium
- library-skill-agents ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 28.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 28.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pomaga wdrożyć cache-aside i write-through w Redis: ciągi, hashe, zbiory posortowane i polityki wygasania TTL.
Oryginalny opis (EN)
Use this skill when implementing cache-aside, write-through, strings, hashes, sorted sets, and TTL eviction policies in Redis.
Jak działa
- When to use
- Prerequisites
- Step-by-step workflow
- Commands / code examples
- Common mistakes & pitfalls
- Verification checklist
- Related skills
Podgląd SKILL.md
--- name: redis-data-structures-caching description: Use this skill when implementing cache-aside, write-through, strings, hashes, sorted sets, and TTL eviction policies in Redis. --- # Redis Data Structures & Caching Patterns ## When to use Use this skill when you need to implementing cache-aside, write-through, strings, hashes, sorted sets, and TTL eviction policies in Redis. ## Prerequisites - Working knowledge of relevant programming language or database fundamentals. - Access to testing environment or local runtime instance. ## Step-by-step workflow 1. **Analyze operational requirements**: Review performance boundaries, data integrity constraints, and query patterns. 2. **Design schema / interface**: Define explicit data contracts, types, or indexes supporting planned operations. 3. **Implement core routines**: Construct declarative, type-safe, or parameterized queries and functions. 4. **Validate performance**: Verify execution metrics using profilers, EXPLAIN plans, or benchmark test suites. 5. **Implement defensive controls**: Enforce timeout boundaries, connection pooling limits, and transaction safety. ## Commands / code examples ```sql -- Production query and schema pattern for redis-data-structures-caching BEGIN; SELECT 1; COMMIT; ``` ## Common mistakes & pitfalls - Overlooking indexing strategies on foreign keys and frequently queried filter columns. - Running unparameterized dynamic queries, creating severe SQL injection vulnerabilities. - Holding open long-running database transactions during slow external network calls. ## Verification checklist - [ ] Schema contracts and type signatures are strictly enforced. - [ ] Queries are fully parameterized against injection vulnerabilities. - [ ] Profiling or execution plans show optimal resource consumption. - [ ] Error handling safely releases locks and rolls back aborted transactions. ## Related skills - postgresql-query-optimization-explain - sql-anti-patterns-remediation - acid-transactions-isolation-levels - secure-code-review-static-analysis-sast
Wersje
W bazie nie ma innych skilli o nazwie redis-data-structures-caching.
Migawka bazy z 13.11.2026 · wersja paczki f6f3f994564f (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100spring-data-redis
Wspiera w Spring Boot cache, przechowywanie sesji i limity zapytań w Redis, ze wzorcem cache-aside i strategią TTL. - 100caching-strategies
Opisuje wzorce cache w aplikacjach: Redis, cache w pamięci, cache HTTP, CDN, unieważnianie, cache-aside, write-through i stale-while-revalidate. - 100caching-strategies
Projektuje wielowarstwowe architektury cache dla aplikacji webowych: wzorce cache-aside i write-through, TTL, unieważnianie, Redis, CDN, nagłówki Cache-Control i ochrona przed stampede. - 100spring-data-redis
Podpowiada, jak ustawić cache, nazewnictwo kluczy i serializację w integracji Spring z Redis. - 95backend-caching-strategies
Wybiera i wdraża wzorzec cache na Redis: cache-aside, read-through, write-through lub write-behind, z poprawnym unieważnianiem. - 90role-backend:caching-strategies
Wdraża cache w Redis, Memcached i na CDN: wzorce cache-aside i write-through, unieważnianie, TTL i ochronę przed lawiną żądań.