swarm icon indicating copy to clipboard operation
swarm copied to clipboard

swarmdb protocol and implementation?

Open lambdafu opened this issue 6 years ago • 5 comments

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?

lambdafu avatar Jul 15 '18 12:07 lambdafu

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?

gritzko avatar Jul 18 '18 11:07 gritzko

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!

lambdafu avatar Jul 18 '18 12:07 lambdafu

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

lafaucialby avatar Sep 26 '18 12:09 lafaucialby

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

gritzko avatar Sep 26 '18 13:09 gritzko

@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.

lafaucialby avatar Sep 26 '18 13:09 lafaucialby