BonsaiBONSAI

Distributed device systems: the network as one system

We design how devices, servers, and users interact in distributed systems:

  • fault tolerance
  • state synchronization
  • offline mode
  • scaling
  • safe updates
Get a first consultation→
From our projects
Client pain points
01

Nodes drift out of sync

Device and server state diverges, and the system starts making decisions on stale data.

02

One node takes it all down

An architecture without fault tolerance: one failed device or service cascades into a system-wide outage.

03

No offline mode

When the link drops, devices lose functionality instead of running autonomously and resynchronizing later.

04

Risky updates

Updating a distributed network without a safe mechanism leads to bricked devices and downtime.

¶ What we do03 areas

What we design

We design device networks as fault-tolerant distributed systems.

Distributed architecture
01 / 03

Distributed architecture

We design systems with fault tolerance and state consistency across nodes.

  • fault tolerance
  • sync protocols
  • state consistency
  • conflict resolution
Offline-first & unreliable links
02 / 03

Offline-first & unreliable links

We build in autonomous node operation and correct resynchronization once the link is restored.

  • offline mode
  • buffering
  • resynchronization
  • eventual consistency
Management & scaling
03 / 03

Management & scaling

Centralized fleet management and safe updates as the network grows.

  • centralized management
  • fleet monitoring
  • safe OTA
  • scaling from 10 to thousands of nodes
¶ Tech stackArchitecture
Distributed
gRPC, message queues, consensus
Edge
ARM, Raspberry Pi, STM32, ESP32
Backend
Go, Python, PostgreSQL, Redis
Messaging
MQTT, Kafka, NATS
Ops
OTA, Grafana, Prometheus
Infra
Docker, Kubernetes, CI/CD
¶ How we work06 steps

Infrastructure-Ready Engineering

  1. 01Stage

    Engineering audit

    We study the network topology, nodes, and link conditions.

  2. 02Stage

    Architecture

    We design synchronization, fault tolerance, and scaling.

  3. 03Stage

    Development

    We build the nodes, the backend, and consistency mechanisms.

  4. 04Stage

    Stress-testing

    We test behavior under failures and link loss.

  5. 05Stage

    Deployment

    We deploy the system and connect the node network.

  6. 06Stage

    Ongoing support

    Monitoring, safe updates, and scaling.

¶ Who it’s forWhere distributed systems run

Urban infrastructure

Station and terminal networks

Robotics

Groups of autonomous devices

Manufacturing

Distributed equipment

Smart infrastructure

Intelligent device networks

¶ Why BonsaiWhy build distributed systems with us
01

Distributed expertise

We understand consistency, consensus, and fault tolerance.

02

Offline-first

We treat link loss as the norm, not the exception.

03

Safe updates

We update the network with no downtime and no bricked devices.

04

Scale

From prototype to thousands of nodes on one architecture.

Assess your distributed system

We’ll run a technical audit of your architecture:

  • —assess the topology and nodes
  • —check fault tolerance
  • —identify connectivity and scaling risks
  • —estimate timeline and cost