Implementing PaxosLease in Python with HTTP Flask

Marton Trencseni - Sat 13 December 2025 • Tagged with lamport, paxos, paxoslease, lease, distributed, python, flask

This article introduces PaxosLease, a simplified Paxos variant that uses expiring leases instead of persistent values to enable fast, reliable master election in distributed systems.

Continue reading

Multi-Paxos: Building a Simple Replicated Log in Python

Marton Trencseni - Sun 07 December 2025 • Tagged with lamport, paxos, distributed, python, flask

This post builds a minimal Multi-Paxos system in Python with Flask HTTP endpoints, showing how repeated Paxos rounds form a fault-tolerant replicated log.

Continue reading

Paxos: Lamport's Crown Jewel for Replicated State Machines

Marton Trencseni - Thu 04 December 2025 • Tagged with lamport, paxos, distributed, python, flask

A straightforward explanation of Paxos using a simple Python Flask HTTP implementation to show how distributed systems achieve consensus in the presence of faults.

Continue reading

A brief discussion of the Practical Byzantine Fault Tolerance (PBFT) algorithm

Marton Trencseni - Sat 06 September 2025 • Tagged with lamport, byzantine, generals, distributed, signed, signature, pbft, blockchain, paxos, raft

This article explains how Practical Byzantine Fault Tolerance (PBFT) builds on Lamport’s theoretical consensus algorithms by introducing leaders, quorums, and cryptographic optimizations to make Byzantine consensus practical, contrasts it with Paxos and crash-fault tolerance, and explores its influence on modern blockchain protocols.

Continue reading

Culture talk: What I learned from building a distributed database that never took off

Marton Trencseni - Tue 31 December 2024 • Tagged with techtalk, startup, scalien, scaliendb, paxos, replication

Recently, I delivered a culture talk on Scalien, my old database startup that never took off. I discussed the business, product and some technical challenges and lessons learned from developing ScalienDB, a Paxos-based distributed NoSQL database.

100

Continue reading