Layer 4: Data Projection & Indexing (The Interface)

To protect Consensus Nodes from overload risks and ensure the ability to serve millions of concurrent users, BullChain completely separates the Write Path and Read Path.

  • Event Streaming Architecture: Validator Nodes do not directly answer complex queries from the User Interface (UI) to avoid DDoS attacks. Instead, immediately after a transaction is successfully executed, the Node emits detailed Events via WebSocket/gRPC protocols with extremely low latency.

  • Dedicated Indexer Service: A specialized Indexer system listens to these events, processes them, and Projects the data into databases optimized for reading (such as TimescaleDB for candlestick charts, Redis for realtime Orderbooks, PostgreSQL for order history).

  • Client Query Optimization: The Bullbit application on user devices queries data from this Indexer layer. This architecture ensures that charting, history viewing, or market analysis for millions of users occurs smoothly and independently, never pressuring the matching performance of the Blockchain.

Last updated