tags:
- ready
- online
- reviewed
- microservices
- go
- frameworks
micro
Contents
__Roadmap info from [ roadmap website ] (https://roadmap.sh/golang/go-microservices/micro) __
Micro
It is an API first development platform.It leverages the microservices architecture pattern and provides a set of services which act as the building blocks of a platform.Visit the following resources to learn more:
-
Micro__
- Purpose: Distributed systems development with built-in tooling.
- Key Features: Service discovery, API gateway, message broker, built-in CLI.
- Best For: Full-featured microservices architecture with service orchestration and rich tooling.
Example:
service := micro.NewService(micro.Name("greeter")) service.Init()Micro__ - Distributed System with Service Orchestration
Solution Example: IoT Platform
- Use Case: In an IoT platform with numerous devices, you need scalable backend services to collect and process sensor data.
- Framework Usage: Using Micro, different services (e.g., DeviceService, DataProcessorService) can be registered and discovered. Data processing happens asynchronously, and an API gateway exposes the service.
- Workflow:
- DeviceService collects sensor data and sends it to DataProcessorService for analysis.
- DataProcessorService scales horizontally based on load, using service discovery to route requests.
- API Gateway allows external systems to query processed data.
Example:
service := micro.NewService(micro.Name("device")) service.Init()