smallnest / rpcx

Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! 𝐉𝐚𝐯𝐚有𝐝𝐮𝐛𝐛𝐨, 𝐆𝐨𝐥𝐚𝐧𝐠有𝐫𝐩𝐜𝐱! build for cloud!
https://rpcx.io
Other
8.08k stars 1.16k forks source link

support evio #240

Closed smallnest closed 5 years ago

smallnest commented 6 years ago

https://github.com/tidwall/evio

http://wangyapu.com/2018/06/12/tianchi_dubbo_mesh/?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io

evio is an event loop networking framework that is fast and small. It makes direct epoll and kqueue syscalls rather than using the standard Go net package, and works in a similar manner as libuv and libevent.

The goal of this project is to create a server framework for Go that performs on par with Redis and Haproxy for packet handling. My hope is to use this as a foundation for Tile38 and a future L7 proxy for Go... and a bunch of other stuff.

smallnest commented 5 years ago

evio use the single goroutine to handle requests and it can not achieve high thoughtuts for rpc cases, so rpcx won't support evio

smallnest commented 5 years ago

other epoll impelemtation:

https://github.com/eranyanay/1m-go-websockets