relaycorp / cloud-gateway

Infrastructure as Code and configuration for all Awala-Internet Gateways run by Relaycorp
MIT License
1 stars 1 forks source link

Replace NATS Streaming with Redis PubSub #84

Closed gnarea closed 9 months ago

gnarea commented 3 years ago

The problem

NATS Streaming is a delight to use in development, but less so to deploy and operate (especially when using Kubernetes + GitOps):

This is what the systems architecture looks like today:

original

The solution

This is what it'll look like afterwards:

after

Alternatives considered

Kafka is too expensive at +$1.2k/month for the simplest possible HA cluster. Kafka also feels like a massive overkill for what it'd be used for.

gnarea commented 9 months ago

Done! 🎉