Closed
Description
There are some known services (mainly docs.rs) that continuously watch updates on crates.io to trigger jobs (doc build, dependency update PR, etc).
This will probably need a way for baseline fetch as well, which could be achieved with a database dump (#630).
The requirements for the APIs are:
- Streams (probably WebSocket) of changes, including relations (document-based NoSQL excels at this)
- A window of backlog of changes (to allow consistency when a short disconnect happens)
Some ways to implement reactiveness are:
- Use a database that is designed for direct sync (bypasses backend) (CouchDB)
- Use a database that is capable of realtime watches (MongoDB, RethinkDB)
- Roll our own implementation based on some PubSub and filtering based on timestamp datas
Metadata
Metadata
Assignees
Labels
No labels