ketoo / NoahGameFrame

A fast, scalable, distributed game server engine/framework for C++, include the actor library, network library, can be used as a real time multiplayer game engine ( MMO RPG/MOBA ), which support C#/Lua script/ Unity3d, Cocos2dx and plan to support Unreal.
https://github.com/ketoo/NoahGameFrame/wiki
Apache License 2.0
3.92k stars 1.09k forks source link

逻辑线程是单线程的情况下,io建议考虑使用非阻塞来提高吞吐量 #337

Open xazeng opened 1 year ago

xazeng commented 1 year ago

数据查询的逻辑中,跟数据库交互是直接走阻塞的socket,由于是单线程,io执行时其他逻辑并不能并行。