Skip to content

connectionloops/cloops.microservices

Repository files navigation

CLOOPS Microservices SDK

An opinionated library to build highly available, lean and scalable cloud native microservices using NATS as the primary communication layer.

🎯 Overview

Minimize undifferentiated work and get all the bells and whistles for a lean, high-performance, and scalable microservices setup. Check out the docs for detailed guides.

No REST interfaces. This SDK uses NATS as the primary way for your services to communicate with each other. This extends to UI as well.

🚀 Why C# for Microservices?

Modern C# is an excellent choice for building microservices! It's lean, fast, and fully open source with cross-platform support. With .NET's native Linux support, you get exceptional performance that rivals or exceeds many other languages. C# offers a perfect balance of developer productivity, type safety, and runtime efficiency—making it ideal for high-throughput, low-latency microservices architectures. Plus, with features like async/await, minimal APIs, and native AOT compilation, you can build services that are both performant and maintainable.

⚡ Why NATS over REST?

  • Lower latency - Direct messaging without HTTP overhead
  • Higher throughput - Optimized for performance at scale
  • No protocol bloat - Lightweight and efficient
  • Temporal decoupling - Services communicate asynchronously
  • Built-in load balancing - No additional hops required
  • Decentralized PKI - AuthN and AuthZ without central servers
  • Zero exposed ports - Services connect to NATS, not each other
  • Global distribution - Easy to create highly available, globally distributed services

📚 Learning NATS

📖 Documentation

Comprehensive guides available in the docs directory.

This SDK is built on cloops.nats, which provides annotation-based consumer definitions and foundational features.

About

An opinionated SDK to build microservices with NATS as communication layer

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages