Skip to content
hardpointlabsPublic

About

Proof of Concept for running Invar in AWS ECS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

AWS ECS Proof of Concept

Using this repo as a proving ground for testing various HA/non-HA/sharded deployment configurations for Invar with ECS.

The assumption is that we can use ECS-managed EC2 instances in a family with direct-attached NVMe disks to colocate Invar with the existing workload to eliminate NIC-imposed bandwidth bottlenecks and eliminate network latency + egress costs on lookup.

Assumed request path

flowchart LR
    Client[External Client] --> ALB[Application Load Balancer]
    ALB --> ECS[ECS Task]
    ECS --> Cache[ElastiCache / Valkey]
    ECS --> DB[(PostgreSQL)]

    style Client fill:#e8f0fe,stroke:#4285f4,color:#111
    style ALB fill:#e8f0fe,stroke:#4285f4,color:#111
    style ECS fill:#fff3cd,stroke:#d6a323,color:#111
    style Cache fill:#d4edda,stroke:#28a745,color:#111
    style DB fill:#e8daef,stroke:#7b2cbf,color:#111
Loading

Alternatives

Depending on your dataset and access pattern you may/may not be SOL. If you want tiered storage but your're not transferring much stuff, ElastiCache Data Tiering or Redis Flex might be acceptable cost and performance-wise. If you are moving a lot of data, you'll eventually hit some infrastructure limits like NIC bandwidth or per-TCP stream limits in AWS. You might find your bill explodes before you hit these limits if your dataset grows first.

There's no deployable 'artifact' for these services you can drop alongside your own workloads, they gate it behind their managed services. Valkey has this ticket that's been open for ~2 years now, maybe it lands at some point. Maybe not.

DragonflyDB does support tiered storage but building the plumbing is still up to you: getting requests to the right instance, handling cluster topology changes, e.t.c. We want to build, support and own that plumbing for users who need it.

About

Proof of Concept for running Invar in AWS ECS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors