You are viewing a single comment's thread from:

RE: LeoThread 2025-10-16 23-29

in LeoFinance6 days ago

Part 6/12:

Choice of Language & Frameworks

  • Golang (Go) is the primary language due to its concurrency support, performance, and simplicity.

  • For WebSocket streams, the team leverages Gorilla WebSocket for efficient real-time client communication.

  • NATS open-source messaging system is employed for reliable, high-performance stream transport, supporting high data volumes and low latency.

Optimization and Profiling

  • Intensive performance profiling ensures resource-efficient operation.

  • Memory lock techniques and use of sync.Map help reduce lock contention and resource usage; in particular, sync.Map achieves approximately 75% resource savings.