Mixpanel Engineering

Engineering blog from Mixpanel covering its columnar analytics database, sharding and resharding, ingestion, replica consistency, funnel queries, and infrastructure.

Overview

Mixpanel is a product-analytics service that ingests billions of events from its customers' apps and answers funnel, retention and flow queries over them in seconds, so it runs its own columnar event database rather than a general-purpose warehouse. The blog's strongest content covers three areas: the analytics database, including its columnar file reader, compaction, and a dynamic sharding strategy, distributed-systems practice, such as keeping replicas consistent, resharding petabytes for the largest customers, and power-of-two-choices load balancing, and infrastructure and cost, from a look under the hood of its infrastructure to raising ingestion throughput while cutting Cloud Spanner cost. For interviews, "Sharding for speed, merging for cost" is a strong reference for "design an analytics database" questions, and "Power-of-2-Choices in Practice" anchors load-balancing discussions.

Interview questions

  • What topics does Mixpanel engineering blog cover?
  • Which Mixpanel posts are most useful for analytics-database interviews?
  • Why is Mixpanel's blog valuable for distributed-systems discussions?

Sign up free to read the full topic

More Engineering Blogs topics

Start free on Cariara · Coding problems · System design studio