-
-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Database replication #264
Comments
In short: no, they don't need to replicate 1000 tweets to display 5 :) You can do this by giving the Does that help? |
And in case where |
Hi @haadcode , Thank you much for your reply. It's extremely helpful.
Thank you very much for your patience. |
@shd101wyy I know this is very, very late but I still think answering your question will be helpful to others as well.
Yes, certain data stores have an iterator function that can probably help you.
Replication will start from the exchanged "heads" i.e. the latest entry or entries in the DAG, and replicate from there by following the
OrbitDB implements the
That sounds right.
I don't believe so, no...
Yes, it's stored in IndexedDB via a library called LevelDB. Finally, we also just released the OrbitDB Field Manual and I encourage everybody to check it out and open new issues / PRs there if you see fit. |
@aphelionz Thank you very much for your replies! |
Hi there,
I am now developing a twitter like web application using orbit-db.
Assume I have a
userA
who starts anodeA
. He stored all his tweets in a feed type database calledtweetsDB
.userA
posts1000
tweets in total stored in databasetweetsDB
.Now another user
userB
onnodeB
wants to see the most recent5
tweets ofuserA
.So
userB
would try to connect totweetsDB
.Does that mean
userB
has to download (replicate) the wholetweetsDB
including those1000
tweets in order to see the most recent5
tweets?Thank you
The text was updated successfully, but these errors were encountered: