# thrift_test **Repository Path**: ornamrr/thrift_test ## Basic Information - **Project Name**: thrift_test - **Description**: Thrift 实践 | 一个基础的匹配服务器 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-09-13 - **Last Updated**: 2023-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README thrift 微服务的一个测试程序: 游戏匹配服务 包含一个 游戏客户端,发出匹配申请 ,由python实现 game.py 匹配服务器,处理匹配申请,同时作为存储节点的客户端 ,由C++实现 main.cpp 对于main.cpp的编译: ``` g++ -c main.cpp match_server/*.cpp g++ -c save_client/*.cpp ``` 链接: ``` g++ *.o -o main -lthrift -pthread ``` 启动服务: ``` ./main ```