Network Architecture
How Flux works under the hood — blockchain, FluxOS, FDM domain management, Syncthing, and the API gateway.
The Flux network is a complex system of interconnected components: a blockchain for consensus, FluxOS for compute orchestration, a domain management system for traffic routing, and multiple APIs for data access. Understanding this architecture helps operators troubleshoot issues and developers build on the platform.
Architecture Overview
- •Flux Blockchain (fluxd): C++ daemon (Zcash fork) — handles consensus, collateral, node registration, and app specifications on-chain
- •FluxOS: MEVN application (MongoDB, Express, Vue, Node.js) — orchestrates Docker containers, manages P2P communication, exposes the REST API
- •FluxBench: Hardware benchmarking daemon — periodically tests CPU, RAM, SSD, and network performance
- •FDM (Flux Domain Manager): HAProxy-based load balancer — manages DNS records, SSL certificates, and traffic routing
- •Stats API: Network-wide data aggregator — collects information from all nodes for dashboards and monitoring
Network Communication
Flux nodes communicate peer-to-peer using a gossip protocol. Each node maintains connections to other nodes:
- •Outgoing connections: Your node initiates connections to known peers
- •Incoming connections: Other nodes connect to your node
- •Message broadcast: Messages (app deployments, updates, hash verification) propagate through the network via gossip
- •DOS protection: The network monitors node behavior and can temporarily ban misbehaving nodes
Domain Manager (FDM)
FDM is responsible for making Flux applications accessible via standard domain names. It dynamically manages HAProxy configuration to route traffic to healthy nodes:
| Domain Pattern | Routes To |
|---|---|
| home.runonflux.io | Flux UI (load-balanced across healthy nodes) |
| api.runonflux.io | Flux API (load-balanced) |
| APPNAME.app.runonflux.io | Application (load-balanced across running instances) |
| APPNAME_PORT.app.runonflux.io | Multi-port application endpoints |
FDM integrates with Cloudflare and/or PowerDNS for DNS record management, and uses Let's Encrypt with Certbot for automatic SSL certificate provisioning.
Data Flow: Deploying an App
- 1
User submits spec
The app specification (Docker image, resources, instances) is signed by the user and broadcast to the Flux network.
- 2
On-chain registration
The specification is recorded on the Flux blockchain as a transaction, including the payment in FLUX.
- 3
Network propagation
FluxOS nodes receive the spec via gossip protocol and check if they have sufficient resources.
- 4
Container deployment
Eligible nodes pull the Docker image and start the container according to the spec.
- 5
Health monitoring
FluxOS continuously monitors container health. If a node goes down, the app is redeployed elsewhere automatically.
- 6
DNS routing
FDM detects the running instances and creates DNS records pointing to all healthy nodes running the app.
- 7
Traffic distribution
HAProxy load-balances incoming requests across all instances. SSL is terminated at the FDM level.
Key API Gateways
| Gateway | URL | Description |
|---|---|---|
| Production API | api.runonflux.io | Load-balanced API across all healthy nodes |
| Backup API | api.runonflux.com | Backup production endpoint |
| Stats API | stats.runonflux.io | Aggregated network statistics |
| Explorer | explorer.runonflux.io | Blockchain explorer |
| Direct Node | NODE_IP:16127 | Direct access to a specific node's API |
| Testnet | testnet-api.runonflux.io | Testnet API for development |
MongoDB Databases
Each FluxOS node maintains local MongoDB databases:
| Database | Purpose |
|---|---|
| zelfluxlocal | Logged users, login phrases, signatures, payments, geolocation cache, benchmark cache |
| zelcashdata | Scanned block height, UTXO index, address transactions, FluxNode transactions, app hashes |
| localzelapps | Locally installed app information and metadata |
| globalzelapps | Network-wide app messages, specifications, deployment locations, install errors |
| chainparams | Chain-level parameters and soft fork messages |
| zelshare | FluxShare file sharing metadata |
Syncthing — Distributed File Sync
Flux uses Syncthing for decentralized file synchronization between nodes running the same application. When an app writes data to persistent storage, Syncthing ensures all instances of that app maintain consistent data across nodes. This is critical for stateful applications like databases and content management systems.
The FluxOS API exposes 50+ Syncthing management endpoints under /syncthing/ for configuring devices, folders, and sync status. These are used internally by FluxOS and are generally not needed by operators.
Both of these come from the v9 whitepaper of October 2026, both carry a block height, and neither is widely known yet. They are listed here because each one asks something of a node operator rather than just describing the chain.
Two dated chain-level changes: the shielded pool is being retired
Flux inherited Zcash's private-transaction machinery along with its codebase. It has been sealed to new entrants since 2021 and today holds 96,479.94 FLUX — two hundredths of one percent of supply. The decision is to retire it: sunset at block 3,600,000, around April 2027, before PNR activates, and then remove the code.
If you hold FLUX in a shielded address, move it out before block 3,600,000. After the sunset the chain has no chain-level privacy at all: every payment becomes publicly linkable, as on Bitcoin. The whitepaper is explicit that it treats payment privacy as an open problem from that point, not as a delivered feature — so this is a capability being removed, with nothing announced to replace it.
And node collateral is quantum-exposed, by design
This one is specific to Flux and follows from how node registration works. Registering a node publishes the collateral's public key on chain. Bitcoin's comfort — that an unspent output hides its key until it is spent — therefore does not apply to a FluxNode. The whitepaper puts the exposure at 88,514,500 FLUX, 20.61% of everything issued, sitting in outputs a sufficiently capable quantum computer could spend immediately.
The adopted answer uses the one lever Flux has and Bitcoin does not: node collateral is a registered set that has to keep transacting in order to be paid, so migrating to a post-quantum key can be made a condition of eligibility. Operators who do not migrate stop earning. Nothing is ever frozen or forfeited — the whitepaper records as a standing decision that nothing in Flux is slashed. No date has been published for this one, so it is a commitment with a mechanism rather than a scheduled event.
Sources & Further Reading
Measured on this site
The live census — tier, country, hardware, FluxOS version, ArcaneOS status — covers every node on the Flux network, with 96 fields each.
Aggregated cores, RAM and disk for the whole network, and their geographic spread, are on FluxView Core.
The same topology drawn rather than tabulated: the Flux network explorer shows the node constellation and the flows between payment addresses.
What to read next, and why
what FluxEdge is is kept as a record only: FluxEdge and FluxCore were shut down on 4 November 2026, so read it as history, not as instructions.
renting GPU compute is kept as a record only: FluxEdge and FluxCore were shut down on 4 November 2026, so read it as history, not as instructions.
deploying a workload on FluxEdge is kept as a record only: FluxEdge and FluxCore were shut down on 4 November 2026, so read it as history, not as instructions.
becoming a FluxEdge GPU provider is kept as a record only: FluxEdge and FluxCore were shut down on 4 November 2026, so read it as history, not as instructions.
FluxEdge pricing and billing is kept as a record only: FluxEdge and FluxCore were shut down on 4 November 2026, so read it as history, not as instructions.
Other articles in Flux Ecosystem
FluxCloud Deployment Guide
Deploy apps via Docker or Git CI/CD, manage instances, marketplace templates, and pricing model.
FluxEdge GPU Computing (Shut Down): What It Was
FluxEdge, the GPU marketplace, was shut down after a security incident on 4 November 2026. What it offered, and what to do if you used it.
FluxCore Desktop App (Shut Down): Remove It
FluxCore was shut down on 4 November 2026; the official notice asks you to uninstall it and rotate secrets. What it did, and how to remove it.
Wallet Management
ZelCore, SSP Wallet, collateral management, address types, and security best practices.
Fusion & Cross-Chain Bridge
Fusion and parallel assets: which chains are still active, the 2027 consolidation deadlines, and the only official way to claim node rewards.