# Distributed systems & messaging

> Queues, outbox, idempotent consumption and language-agnostic message contracts: the distributed systems experiments carried out in the labs.

- Record count: 1
- Source: https://muhammetsafak.com/labs/focus/distributed-systems/
- Language: en-US
- Author: Muhammet Şafak

---
This focus gathers my experiments on distributed systems and messaging: queues, outbox, idempotent consumption and language-agnostic message contracts. The question under them all: can two languages share one queue without a serialization lock-in? Read it if services written in different languages have to consume the same message and you want to see where the contract breaks.

[Transactional Outbox: Dual-Write, Idempotent Consumers](https://muhammetsafak.com/engineering/systems/transactional-outbox-dual-write-and-idempotent-consumption/) · [Idempotency: When the Same Message Arrives Twice](https://muhammetsafak.com/engineering/notes/idempotency-duplicate-delivery/)

## All records

### Two languages sharing one queue without the serialization lock-in

- Why a frozen JSON envelope replaced language-specific serialization, and how the experiment ended as a queue standard read by PHP, Python, Go and Node.js.
- What it does today: The frozen JSON envelope has four languages — PHP, Python, Go, Node.js — reading the same bytes, with no sidecar and no broker plugin. Teams running a polyglot queue can pick up the spec and the SDKs today.
- State: Became a product
- Form: Open-Source
- Started: 2026-03-01
- https://muhammetsafak.com/labs/babelqueue-lab/
- Markdown: https://muhammetsafak.com/labs/babelqueue-lab.md
