cabal-club / cable.rs Goto Github PK
View Code? Open in Web Editor NEWrust implementation of the cable protocol
rust implementation of the cable protocol
Keypairs are currently in-memory only. We need a solution for storing and retrieving keypairs from disk.
cable.rs
currently only has an in-memory store. It would be great to add a key-value store to persist posts and indexes. The Store
trait should make this relatively straightforward.
One potential candidate, in terms of the database to use, is sled.
cable.rs
currently uses the async-std runtime. While this was arguably the most approachable async codebase at the time when cable.rs
was first written, it has largely been eclipsed in popularity by tokio.
If downstream users of cable.rs
are building an application that uses the tokio
runtime in some part of their stack, they end up having to run a second async runtime for async-std
. This is obviously not ideal.
We can either refactor cable.rs
to make it runtime agnostic, in which case it can run with either the async-std
or tokio
runtime, or we can switch to tokio
instead.
CC: @ahdinosaur
Responses to live channel time range requests are currently rather inefficient, since they send hashes for all posts matching the channel options every time a new post is published. It would be much better to only send a singe hash each time a new post is published.
The relevant code can be found in the send_post_hashes()
method, specifically in the match arm for LiveRequest::ChannelTimeRange(req_id, channel_opts)
.
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.