Blog Posts

Apache Pekko Series, Part 9: Production Best Practices

Running Pekko in production: Kafka connectors, OpenTelemetry distributed tracing, health checks, dispatcher tuning, Kubernetes deployment, and migrating from Akka.

Apache Pekko Series, Part 8: CQRS & Projections

Separating write models from read models with CQRS. Pekko Projection — consuming the event journal to build materialized views, exactly-once processing, and offset tracking.

Apache Pekko Series, Part 7: Clustering & Distributed Actors

Running Pekko across multiple JVMs. Cluster membership, the gossip protocol, cluster sharding for stateful actors, and singleton actors — all with practical configuration examples.

Apache Pekko Series, Part 6: gRPC with Pekko

Protocol Buffers, generated Pekko service stubs, server and client setup, and bidirectional streaming. When to use gRPC instead of REST and how to run both side by side.

Apache Pekko Series, Part 5: HTTP with Pekko

Build REST APIs with pekko-http's routing DSL. HTTP server setup, route composition, request and response marshalling, and integrating HTTP endpoints with an actor system.

Apache Pekko Series, Part 4: Streams & Reactive Processing

Source, Flow, and Sink — the building blocks of Pekko Streams. Backpressure by design, composable pipelines, and how to process data without dropping messages or crashing.

Apache Pekko Series, Part 3: Persistence & Event Sourcing

How EventSourcedBehavior works in Pekko: journals, snapshots, and recovery. Build actors whose state survives restarts by recording every change as an immutable event.

Apache Pekko Series, Part 2: Actor Lifecycle & Supervision

How actors start, fail, and recover. Parent-child supervision hierarchies, restart vs stop vs escalate strategies, and building self-healing systems in Pekko.

Apache Pekko Series, Part 0: Overview

A practical guide to building concurrent, distributed, and resilient systems with Apache Pekko — the open-source fork of Akka. What you'll learn and why Pekko matters.

Apache Pekko Series, Part 1: The Actor Model

What an actor is, how message passing replaces shared state, and how to create your first ActorSystem in Scala with Pekko Typed.