DEV Community

Cover image for MicroService Framework in C++

Posted on

MicroService Framework in C++


What are MicroServices?

Microservice architecture, or simply microservices, is a distinctive method of developing software systems that tries to focus on building single-function modules with well-defined interfaces and operations. The trend has grown popular in recent years as Enterprises look to become more Agile and move towards a DevOps and continuous testing.

Why Microservices?

Here I list some good reason to switch to microservices architecture:

  • Increase Resilience
  • Improve Scalability
  • Decoupling of Features
  • Simple API
  • Faster Framework
  • Easier Debugging and Maintenance
  • Continuous Delivery
  • Improve deployment velocity
  • Better adaptation on Market requests
  • Reduce Development and Deployment Cost

Why C++?

Most of the Server application are developed in C++ and the needs of performance is ever more requested. So a low level language can be a good solution, and the C++ wins over the other languages.

What is CXXMicroService?

GitHub logo ZigRazor / CXXMicroService

A C++ Library that give microservice framework ( Server / Client ) upon 0mq framework


A C++ Library that give microservice framework ( Server / Client ) upon 0mq framework

Requerements to build LOG4CXX

apt-get install build-essential libapr1-dev libaprutil1-dev gzip zip

$ git clone $ cd Catch2 $ cmake -Bbuild -H. -DBUILD_TESTING=OFF $ sudo cmake --build build/ --target install

CXXMicroService is a completely free and Open Source framework that give to the developers the possibility to build up a microservice in a faster way.
It aims to provide a simple set of API to do all you need with microservice.
The library is under development and all the contributions are welcome.

Please give me a feedback on this project, and if you want to contribute, please write me at

Thank you in advance,
Happy coding!

Top comments (2)

fredlag profile image

Do you plan to document your concept ?

zigrazor profile image

obviously, the project is just started, the next step is document the concept and give some example of usage of the framework