Skip to content
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

Sharding for P2P model? #91

Closed
lonnietc opened this issue Feb 27, 2022 · 4 comments
Closed

Sharding for P2P model? #91

lonnietc opened this issue Feb 27, 2022 · 4 comments

Comments

@lonnietc
Copy link

Hello,

I have just come across RoseDB and think that it might be what I need for a project that I am working on.

One thing that I am needing is to develop for a P2P solution for the database with high number of nodes and am wondering about what it might take to have simple sharding added to RoseDB so that it can do high node clustering and spread out the data across all nodes as needed?

@roseduan
Copy link
Collaborator

rosedb is just a standalone kv storage engine, and it doesn`t care the upper applications, you need do it yourself.

By the way, test RoseDB carefully before you decide to use it.

And tell us if there are problems, thanks.

@lonnietc
Copy link
Author

Thanks for the information and I absolutely plan to test it really well.

I am planning on adding a P2P Chord layer that will allow RoseDB to run in a very high P2P cluster. At least that is the goal and will let you know if I come across an problems.

It would be helpful to have a little bit more usage and example documentation on how to use some of the available commands since there are many and I do not know that parameters the take beyond the basic KV type like "set", "get" and did not see any "delete" either.

Can you please give me some more documentation so that I can utilize during my testing which will offer you beta testing results if I find problems?

Thanks again

@lonnietc
Copy link
Author

Regarding documentation, I ran across some information that suggests that RoseDB is compatible (or mostly) with Redis DB.

If that is true then I have come across some basic documentation:

https://www.tutorialspoint.com/redis/index.htm

and

https://www.w3resource.com/redis/

I will have to look and see what Redis DB commands are not supported by RoseDb to get a better feel.

It seems that there are some differences:

RoseDB has:

  1. Zset -- not sure what this does.

RedisDB has:

  1. Keys, Sorted Sets, HyperLogLog, Publish Subscribe, Transactions, Scripting, Connections

Both Redis DB and RoseDB have:

Strings, Lists, Hash, and Sets --- Not sure if the sub-commands in each of these are one-to-one or not.

@roseduan
Copy link
Collaborator

roseduan commented Mar 1, 2022

Regarding documentation, I ran across some information that suggests that RoseDB is compatible (or mostly) with Redis DB.

If that is true then I have come across some basic documentation:

https://www.tutorialspoint.com/redis/index.htm

and

https://www.w3resource.com/redis/

I will have to look and see what Redis DB commands are not supported by RoseDb to get a better feel.

It seems that there are some differences:

RoseDB has:

  1. Zset -- not sure what this does.

RedisDB has:

  1. Keys, Sorted Sets, HyperLogLog, Publish Subscribe, Transactions, Scripting, Connections

Both Redis DB and RoseDB have:

Strings, Lists, Hash, and Sets --- Not sure if the sub-commands in each of these are one-to-one or not.

Yes, rosedb`s commands are mostly mean the same thing with redis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants