Comments (4)
That sounds interesting indeed! But we should absolutely look into the performance impact for such a change.
from lahja.
The other alternative is to go ahead and drop pickle and have event classes be in charge of their own serialization. Very likely that path also gains us some additional performance.
from lahja.
The other alternative is to go ahead and drop pickle and have event classes be in charge of their own serialization
Yeah probably the better direction. Event classes can have a serializer injected and we might ship with default serializers based on pickle
and maybe cloudpickle
but one can always go down to the metal and serialize in a custom way. This would allow full flexibility without giving up convenience.
from lahja.
I'm replacing this with #173
from lahja.
Related Issues (20)
- Run sync handlers in an executor
- Ensure docs are covered with doctest in CI
- Error prone pattern with background tasks that we wait till they are started.
- More efficient subscription updates.
- Better request/response benchmark
- Thread based endpoint implementation
- Ensure that `broadcast/request/stream/wait_for` cannot be called prior to running the endpoint.
- Rename `EndpointAPI.subscribe` to be `EndpointAPI.add_event_handler` HOT 3
- endpoint.request() should raise when a result is no longer possible
- Declarative cross implementation test suite tools HOT 2
- Make `Response` a property of `Request`
- ReadTheDocs build isn't triggered automatically HOT 1
- Context manager API for EndpointAPI.subscribe
- Convert test suite to use declarative tool
- Proxy object API HOT 2
- The Trio endpoint serializes all messages through a single coro
- Fix and re-enable *-core-common tests on CI
- Custom event serialization.
- Create a constant for the commonly used BroadcastConfig(require_subscriber=False)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lahja.