Hi Community!
After some back and forth, I can confidently share my Flash
package. It is now in version v0.1.0b2 and includes all known Dash(v2.18.2)
functions.
The repo builds directly on Dash
and has a distinct package for publishing. This approach makes it possible to run Dash’s tests see test-logs. For the most part, tests that not pass either contain a process lock or global variable. More details regarding testing can be seen in this thread
That said, I didn’t encounter any bugs or issues yet, but haven’t test it in a proper production environment. I will keep you postet as soon as i deployed it in a K8s cluster!
Dash Flash advantages:
- Ensuring I/O bound tasks don’t block each other
- Better state management via the URL due to async layout functions
- Native websocket and HTTP/2 support
Possible future improvements:
- websocket_callbacks broadcasting results to all clients subscripted to that callback
- parallel routing
For further details and everything you need to start - have a look at the README
pip install dash-flash
Happy coding