Swift 6.1 async/await support for SCAN and other commands
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reviewing the Redis command APIs and their concurrency support, especially the SCAN command; the issue does not name specific files or tests. Define the scope across SCAN and other commands, establish Swift 6.1 concurrency requirements, and plan the migration path and any breaking change documentation before implementation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
RediStack 1.6.2 does not support async/await for SCAN and other commands, which blocks full adoption of Swift 6.1 concurrency and modern async patterns in server-side Swift applications. The lack of async/await support for SCAN means fallback and cache search logic cannot be implemented in a scalable, non-blocking way. Workarounds (such as sync helpers) are not compatible with Swift concurrency rules and can introduce thread-safety and performance issues.
Why This Matters
- Many developers want to use async/await throughout their codebase for clarity, safety, and performance
- Non-blocking Redis operations are essential for scalable, modern Swift server applications
- SCAN is required for efficient cache/fallback lookups; blocking or sync workarounds are not acceptable for production
- Swift 6.1+ adoption is blocked without proper async/await support
Request
- Add async/await support for SCAN and other Redis commands
- Ensure compatibility with Swift 6.1+ concurrency rules
- Provide migration path from sync to async APIs
- Document any breaking changes
Environment
- Swift 6.1+
- RediStack 1.6.2
- Server-side Swift applications
- Lingua principale
- Swift
- Stelle
- 182
- Fork
- 29
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di swift-server/RediStack
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
swift-server/RediStack#135 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
swift-server/RediStack#133 · 5 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
swift-server/RediStack#131 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
swift-server/RediStack#127 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
swift-server/RediStack#126 ·
Tutte le issue di swift-server/RediStack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SwiftKickMobile/skai#84 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
raullenchai/Rapid-MLX#4889 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
iOS-2026
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
mozilla-mobile/firefox-ios#36150 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100