stackstash

Drizzle vs Apache Kafka

Drizzle and Apache Kafka are free.

A TypeScript query builder that maps tables to typed functions.

Try it

Pros of Drizzle

  • Queries stay readable if you already know SQL

  • The same schema can target Postgres or SQLite

  • Type errors catch renamed columns

Cons of Drizzle

  • You still design the tables yourself

  • It is a library in the app, not a hosted database

A log that services publish events to, and other services read later.

Try it

Pros of Apache Kafka

  • Producers do not wait on every downstream service

  • You can replay events after a bug

  • It holds up once you actually have a stream of events

Cons of Apache Kafka

  • Running a cluster is a lot for one app

  • A database is the simpler choice until you need a stream