codemation / easyrpc Goto Github PK
View Code? Open in Web Editor NEWAn easy to use rpc framework for enabling fast inter-process, inter-container, or inter-host communication
License: MIT License
An easy to use rpc framework for enabling fast inter-process, inter-container, or inter-host communication
License: MIT License
Need to migrate current Jenkins build CICD to Github actions and implement tests from #2 once created.
To ensure default functionality is preserved between new releases, need to create tests on most core functionality. This will also allow for easier contributions in the future.
Found in easyjobs, data of only type int sent between RPC endpoints fails with the following exception:
Traceback (most recent call last):
File "/home/tso/Documents/python/easyjobs/jobs-env/lib/python3.8/site-packages/easyrpc/server.py", line 491, in server_request
if 'GENERATOR_START' in result:
TypeError: argument of type 'int' is not iterable
07-22 10:31 EasyRpc-server /ws/jobs ERROR error during server_request
Traceback (most recent call last):
File "/home/tso/Documents/python/easyjobs/jobs-env/lib/python3.8/site-packages/easyrpc/server.py", line 491, in server_request
if 'GENERATOR_START' in result:
TypeError: argument of type 'int' is not iterable
Check if result is iterable by inspecting for 'contains' attribute, allowing for inspection of 'GENERATOR_START' for generator detectoin
Requiring strict json serialization capable data types between RPC endpoints can limit users ability to share functionality without creating an additional translation layer.
I.e Custom Data Type -> Json Structured -> Rpc Transport -> Json Load - > Restructure Data Type.
The additional translation often means that data may be serialized / deserialized more than once. JSON serialization is also not the best performing serialization method.
Using pythons built in pickle serialization, objects & data types can be sent between RPC endpoints as bytes & deserialized as the same data type, removing translation interface requirements.
Function annotations could be implemented but not fully mirrored by their proxy counterparts. While implementing the above pickle serialization, annotations of methods and their associated datatypes can be serialized & sent to a proxy which could then fully mirror the origin methods annotations. This removes
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.