Monolith, Microservices or Both: Modern application development using Service Weaver
summary
Service Weaver is an open source Go framework that lets a single modular binary run locally, across processes, or as microservices without code changes; runtime features include a custom TCP transport, zero-overhead encoding, collocation to keep chatty components in-process, and routing for key affinity. Benchmarks on Google Cloud examples show up to ~40% fewer Go lines and orders-of-magnitude config reduction (1500 → 5 lines), lower CPU and p99 latency. Deploys to Kubernetes via a GKE deployer, integrates with OpenTelemetry, and demos run, deploy, trace and roll out successfully.
AI-written summary · about
chapters (11)
- 0:00Service Weaver intro
- 3:58Microservices vs monoliths
- 7:50Service Weaver core ideas
- 8:33Developing with Service Weaver
- 19:46Live demo: simple app
- 31:21Running in multiple processes
- 35:14Adding observability
- 39:49Deploying to Kubernetes
- 47:15Strongly typed metrics
- 51:07Service Weaver API evolution
- 58:00Conclusion
related talks
19mService Weaver: A Framework for Writing Distributed Systems
27mTowards Modern Development of Cloud Applications
34mModern Development of Cloud Applications With Service Weaver
45mGo, Microservices and all the joy!
31mBuilding a microservices architecture with Go
47mimport Golang; struct microservices
31mSuccessful Go for microservices architecture
01h 03mGo & Microservices
