Show HN: open source framework for building nanoservices
4 points| DGrechko | 1 year ago
A couple of years ago, we started Deskree as a BaaS product. Eventually, our tiny team of three engineers was managing 20,000 microservices. And as you might know, microservices at that scale suck to manage. Every change meant updating dozens of repos, rolling out updates across services felt like herding cats, and when something broke, it took forever to figure out where.
At some point, we figured we can create small reusable nodes, each handling just one task. No need to rewrite the same logic across multiple services, updating a node propagates changes everywhere it’s used. Add built-in monitoring and observability, trace things on a code-level and then debugging gets so much easier.
Turns out, this concept already existed. Apple and IBM have been using nanoservices internally for years, but somehow, no one ever released an actual framework for it. So, we built one.
Each nanoservice is just a function running in an isolated container. Built-in protocol for inter-service communication gives low latency, and you can run this with Docker, Kubernetes, Serverless, or anything really. Deploy as monolith or microservices, and then change it up if you need to. Built-in monitoring and observability also makes debugging easy. Adding Python library soon for AI/ML workflows.
To get started:
npx create-nanoservice my-service
Check it out, would love to know what’s broken, what’s missing and what would make it better:
GitHub repo: https://github.com/deskree-inc/nanoservice-ts
Docs: https://nanoservice.xyz/docs/d/introduction/welcome
Website: https://deskree.com
X: https://x.com/nanoservice_ts
Excited to share this with everyone here, let us know your thoughts!
No comments yet.