Comments (3)
One possible architecture:
- We create a private journal called
moonstream-data
. Only our crawlers, the Moonstream API, and thebugout
team have access to this journal. - Crawlers put all crawled data into the
moonstream-data
journal using tags that denote the source type (e.g.ethereum_blockchain
,ethereum_txpool
, etc.). - When a user calls the
/stream
endpoint on Moonstream API, Moonstream queries themoonstream-data
journal for events from that user's subscriptions and returns only those events back to the user.
from api.
For some sources, we will show the user all crawled data (e.g. ethereum_blockchain
).
For other sources, we will only show the user data from when their subscription started (e.g. ethereum_txpool
). This prevents us from leaking information to one user about when other users became interested in an address in the transaction pool.
from api.
Two invariants:
- Single journal (
moonstream-data
) into which all crawled data goes. - Users only have access to
moonstream-data
through the Moonstream API, and their access is determined by their subscriptions.
This way, we don't have to duplicate data from multiple sources across multiple users, which will save us a lot in terms of storage costs.
from api.
Related Issues (20)
- Postgresql Blob block storage index schematic database schema.
- User RDS database schema. With tables synchronize possiblity.
- Database connections managment.
- Moonworm-crawler with schematic indexing with GCS integration.
- Blockstore -> RDS synchronizer.
- Blockstore -> RDS synchronizer.
- Subscriptions manager.
- Add raw transactions between timestamps
- Add score_changes leaderboard endpoint.
- Add search by leaderboard points data keys.
- We need add share leaderboard frontend.
- Add Xai testnet.
- Delete all unclamed drops.
- Fix `/info` endpoint for empty leaderboard.
- Leaderboard unique addresses statistics.
- Summon team suggestion
- Leaderboard API endpoint to delete all unpublished versions
- Add leaderboard generator as RabitMQ.
- Delete dasboard generator workers.
- Leaderboard push diff. Leaderboard version will store config in which blocks_number version is generated.
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 api.