___ __ __ ____ / _ \ _ __ ___ _ __ | \/ / ___| | | | | '_ \ / _ \ '_ \| |\/| \___ \ | |_| | |_) | __/ | | | | | |___) | \___/| .__/ \___|_| |_|_| |_|____/ ======|_|============================:: OpenMS :: (v1.0.0)
The Distributed Network Framework based on Microservice Theory.
- Support C++20 coroutine coding
- Support Reactor network model
- Support Actor messaging model
- Support tcp, udp, kcp, rpc, http, mysql, redis
- Support Microservice cluster
- Support Windows, macOS, Linux
- Support Hot module replacement
- Download and install the VCPKG package manager.
- Set yours "VCPKG_HOME" in CMakePresets.json.
- Use CLion or Visual Studio to open the project.
- See Sample for more details about how to use.
// Master service instance
class Master : public MasterService
{
protected:
void onInit() override;
void onExit() override;
};
OPENMS_RUN(Master)// First cluster instance joined to master
class Cluster1 : public ClusterService
{
protected:
void onInit() override;
void onExit() override;
};
OPENMS_RUN(Cluster1)// Second cluster instance joined to master
class Cluster2 : public ClusterService
{
protected:
void onInit() override;
void onExit() override;
};
OPENMS_RUN(Cluster2)