This is a cluster chat server project that uses muduo
as the underlying
communication module to handle network IO.
In addition, it uses MySQL
for data persistence and uses Redis
publish-subscribe
function for communication between different servers.
At the same time, Nginx
is used for load balancing at the transport layer.
In the data transfer module, it uses json to serialize and deserialize the transfer data.
Type the following commands to build the project and compile:
./autobuild.sh
Then you can find the executable file in the bin
directory.