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

swarmdb protocol and implementation? #103

Open
lambdafu opened this issue Jul 15, 2018 · 5 comments
Open

swarmdb protocol and implementation? #103

lambdafu opened this issue Jul 15, 2018 · 5 comments

Comments

@lambdafu
Copy link

Is the source code for the olebedev/swarmdb docker image available? Is the server protocol documented? The closest I found is https://github.com/gritzko/swarm-ron-docs/ but that is obviously out of date.
Currently, I am trying to reverse engineer the protocol based on the demo code and the docker black box, but that's quite frustrating.
I understand that there are still challenges to swarm, such as subgraph queries. But I have more trivial questions, too, that could be answered from the implementation of the server. For example, how you key the log entries to make a sortable linear log for the backend db without a version vector. Do you keep a hash to a local timestamp or so?

@gritzko
Copy link
Owner

gritzko commented Jul 18, 2018

Hi Marcus!
The server protocol is sparsely documented at http://github.com/gritzko/RON
Subgraph queries are not that much of a challenge, actually.
I think, we may chat on hangouts cause your timestamp questions require an extended response.
What is your objective with the protocol?

@lambdafu
Copy link
Author

Hi! I am working with @flanfly on collaborative disassemblers. He is implementing (parts of) RON for Rust right now for panopticon.re, and I am interested in doing a simpler version for 8-bit computers on the web (JS only). We think the ideas behind swarm and RON are amazing, but we are still catching up with you (yesterday, we worked on understanding the spanning tree optimization and the RON representation of the "set" datatype). @flanfly is traveling right now, but a hangout next week (or any other suitable time) would be awesome!

@lafaucialby
Copy link

Hi @gritzko , I would like to know if you will release the source code of the golang version of swarmdb which is in the docker image.
thank you

@gritzko
Copy link
Owner

gritzko commented Sep 26, 2018

@lafaucialby Eventually, yes. What is your use case?

@lafaucialby
Copy link

lafaucialby commented Sep 26, 2018

@gritzko I am a university student and I would need to study the code and better understand how it works.
I would also like to try to implement a basic structure for the swarm coin proposal.
congratulations for your work.

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

3 participants