sywnff / pyrpc Goto Github PK
View Code? Open in Web Editor NEWa python implementation of RPC framework using google protobuf
a python implementation of RPC framework using google protobuf
INTRODUCTION Pyrpc is one small implementation of google protobuf RPC, programing by python. It may be used for building server prototype rapidly, only need write the implementation class of rpc service, and list it in the server_setting.py. On the server side, pyrpc uses epoll to dispatch network I/O events, supporting multi-thread. The thread model is one epoll dispatcher per thread. On client side, pyrpc generates proxy automatically, using synchronized call. See test/echo_service.py, test/test_client.py for usage. Best regards. Pyrpc 是python语言编写的一个google protobuf RPC 小型实现,完整实现了RPC 服务端和客户端,只需要 service 接口实现类在 server_setting.py 中注册即可搭建服务,方便快速建立服务原型。 在服务端,采用epoll作为网络I/O 时间分派处理,支持多线程并发,线程模型为每线程独立dispatcher (一个epoll事件调度处理器); 在客户端,pyrpc 自动生成调用代理,采用同步调用模型; 具体用法参见 test/echo_service.py 和 test/test_client.py. 敬请赐教。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.