Add DynamoDB Accelerator (DAX) support for sub-millisecond reads
Los mantenedores suelen responder en 1 día
@abhijeet-dhumal ya está trabajando en esto.
Desde el 19/3/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Comienza localizando la inicialización del cliente del almacén en línea de DynamoDB y las definiciones de configuración; después, inspecciona pyproject.toml para ver cómo se declaran las dependencias opcionales. Rastrea las rutas existentes de lectura y escritura y sus pruebas; se considera terminado cuando la opción use_dax selecciona amazon-dax-client al estar habilitada, mientras que el comportamiento y las APIs existentes de DynamoDB permanecen sin cambios.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
DynamoDB online store latency is fundamentally limited by network round-trip time to the DynamoDB service (~50-80ms per request). Even with all code optimizations applied, achieving <60ms p99 latency for production workloads (50 entities × 200 features) is not possible with direct DynamoDB access.
Benchmarks results here shows: https://github.com/abhijeet-dhumal/featurestore-benchmarks/tree/perf-with-6optimisations/fs-online-benchmark/locust-bechmarking/feast-benchmarking
- Current latency: 169ms p99 at 50 entities × 200 features
- Target SLA: 60ms p99
- Gap: 109ms that cannot be closed with code optimizations alone
This is frustrating for users who need low-latency feature serving for real-time ML inference but want to use DynamoDB for its scalability and managed infrastructure.
Describe the solution you'd like
Add native support for DynamoDB Accelerator (DAX) - AWS's in-memory caching layer for DynamoDB. This would allow users to configure a DAX endpoint for sub-millisecond cached reads:
online_store:
type: dynamodb
region: us-east-1
use_dax: true
endpoint_url: "daxs://my-cluster.abc123.dax-clusters.us-east-1.amazonaws.com:8111"
When enabled, Feast would use amazon-dax-client instead of boto3 for read operations, providing:
- <1ms latency for cached reads (vs 50-80ms for DynamoDB)
- 10x+ throughput improvement
- Transparent caching with no application changes
Describe alternatives you've considered
- VPC Endpoints: Reduces latency by ~10-20ms but still limited by DynamoDB service latency.
- Application-level caching (Redis sidecar): Adds operational complexity, requires cache invalidation logic, and duplicates the online store concept.
- Switch to Redis online store: Achieves lower latency (~102ms at same scale) but loses DynamoDB's serverless scaling, managed infrastructure, and AWS integration benefits.
- Reduce batch size: Requesting fewer entities per call meets latency benchmark but increases total request count and doesn't solve the underlying latency issue.
- ElastiCache for DynamoDB: Not a direct integration; requires custom implementation.
None of these alternatives provide the combination of low latency + DynamoDB's managed infrastructure that DAX offers natively.
| Configuration | P99 Latency (50 entities × 200 features) |
|---|---|
| DynamoDB (current Feast master branch) | 169ms |
| DynamoDB + VPC Endpoint | ~150ms (expected) |
| DynamoDB + DAX | ~40ms (expected) |
Implementation scope:
- Add use_dax: bool config option
- Conditional client initialization using amazon-dax-client
- Optional dependency in pyproject.toml
- No changes to read/write API signatures
DAX characteristics:
- Fully API-compatible with DynamoDB for reads
- Write-through cache (writes go to both DAX and DynamoDB)
- Cost: ~$0.25/hr for dax.r5.large node
- Runs inside VPC (same network as application pods)
References:
- AWS DAX Documentation
- amazon-dax-client on PyPI
- Benchmark results from Feast online store performance testing
- Lenguaje dominante
- Python
- Estrellas
- 7.4k
- Forks
- 1.5k
- Merge medio
- 2 d 6 h
- PR fusionados (30 d)
- 107
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de feast-dev/feast
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
BigQuery data quality monitoring fails: PRIMARY KEY placed outside the column list in monitoring table DDLPosiblemente ocupada @liron-velocity la tomó hace 50 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
get_online_features silently drops a join key value when it shares a name with an OnDemandFeatureView's RequestSource fieldPosiblemente ocupada @OHMFOHS la tomó hace 99 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
kind/bug priority/p2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
feast-dev/feast#6778 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de feast-dev/feast
Issues similares
-
Public benchmark import end-to-end test fails when the test stack's worker runs the parity jobAbiertoaccepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
future-agi/future-agi#6392 ·
Los mantenedores suelen responder en 1 día
-
memmapped_arange ignores the start value and drops the last point above the memmap thresholdPosiblemente ocupada @prathameshfuke la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
StingraySoftware/HENDRICS#213 ·
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día