Golang and JavaScript: The Future of Cloud
summary
A working monitoring stack that uses a Go backend with built-in HTTP and WebSockets, a JavaScript D3 frontend and a simple JSON protocol; the Go binary cross-compiles to ARM, serves static files and handles WebSocket subscriptions. It reads silicon counters by mmap /dev/mem into Go arrays, samples at high rates, batches timestamps into blocks and ships them as JSON to avoid congestion. Live demo processes millions of events (peaks ~17 million), records traces for replay and exposes per-server imbalance across six nodes.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:18Background
- 1:42Problem
- 3:06Solution
- 3:37Languages
- 8:35Protocol Mapping
- 9:42Code Structure
- 11:25Live Demonstration
- 16:40Estimate Code
- 16:58Golang Files
- 18:23Golang Demo
- 22:18Issues with Golang
- 24:07Loading Traces








