stackstash

Apache Kafka vs MySQL

Apache Kafka and MySQL are free.

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

MySQL logo: The relational database behind a huge share of web apps and WordPress.
MySQL logo: The relational database behind a huge share of web apps and WordPress.

MySQL

Free

The relational database behind a huge share of web apps and WordPress.

Try it

Pros of MySQL

  • Easy to find hosting

  • Familiar SQL

  • Free Community edition

Cons of MySQL

  • Fewer advanced features than Postgres

  • Oracle steers the project