Re: [Pharo-users] distributed peer2peer sharing app in Pharo
Hi Peter, This is similar to what I was thinking of delving into, although I was thinking differently than file-sharing. I was thinking more modified blockchain sharing. My plans are to revive an old project of mine: http://www.squeaksource.com/squeakelib/, which depends on Cryptography. I am interested in implementing NIO as well. This is all infrastructure stuff, layers 4, 5 and 6. WebSockets may be all you need. As any flow system needs a control layer, add a couple of layers above the application layer: market/cloud and meta layers, used to contain apps and specify the peer2peer graph and formats. There's some other stuff, too. I don't know if this interests you. thanks, Robert On 10/12/2015 10:57 AM, Peter H. Meadows via Pharo-users wrote:
Hi, I am not sure if the objective is the same, but Evan and I are working on peer2peer solution for Pharo. It is called Trantor. From the project website <http://smalltalkhub.com/#!/~EvanDonahue/Trantor>: -=-=- Trantor is a framework for building collaborative peer-to-peer applications. Trantor employs a collection of Conflict-Free Replicated Datatypes to allow sets, counters, graphs, trees, text, etc to be edited offline and synchronized without human intervention when peered nodes are next connected. -=-=- We have also implemented Logoot algorithm for collaborative text editing. See http://smalltalkhub.com/#!/~JurajKubelka/Logoot/ You can try a simple Todo application by downloading: Gofer it smalltalkhubUser: 'EvanDonahue' project: 'Todo'; configuration; loadBleedingEdge. and executing (separately): server := TodoApp listenOn: 0. server addTodoList. server open. client := TodoApp connectToPort: server port. client sync. client addAnySharedList. client open. We are working on other use cases and we will appreciate any feedback. Cheers, Juraj
On Oct 12, 2015, at 13:10, Robert Withers <robert.w.withers@gmail.com> wrote:
Hi Peter,
This is similar to what I was thinking of delving into, although I was thinking differently than file-sharing. I was thinking more modified blockchain sharing.
My plans are to revive an old project of mine: http://www.squeaksource.com/squeakelib/, which depends on Cryptography. I am interested in implementing NIO as well. This is all infrastructure stuff, layers 4, 5 and 6. WebSockets may be all you need.
As any flow system needs a control layer, add a couple of layers above the application layer: market/cloud and meta layers, used to contain apps and specify the peer2peer graph and formats.
There's some other stuff, too. I don't know if this interests you.
thanks, Robert
On 10/12/2015 10:57 AM, Peter H. Meadows via Pharo-users wrote:
On 12-10-15 19:27, Juraj Kubelka wrote:
I am not sure if the objective is the same, but Evan and I are working on peer2peer solution for Pharo. We have also implemented Logoot algorithm for collaborative text editing.
Nice. We'll be able to improve our development flow a lot by reducing synchronization delay. Stephan
Hello, Just to follow up on Juraj's reply: Trantor is a framework for distributed applications. The basic idea is that you can establish a p2p network between various images, and then build applications using a set of specialized distributed collections that can be plugged into the p2p network and synchronized between hosts. The example Todo application is just a simple spec gui that writes items to a basic distributed collection. That collection is added to a running Trantor host in the image, and changes are broadcast to peer hosts in other images. The project is in the early stages, but it's definitely ready for prototypes and personal apps. I have been using Todo to synchronize a grocery list across all of the computers in my house (computers can join and leave the network and stay in sync). If anyone thinks they may have a use case for such a framework, please do get in touch. A lot of infrastructural decisions have yet to be made, and more use cases would really help ensure the final product is as broadly useful as possible. Cheers, Evan -- View this message in context: http://forum.world.st/distributed-peer2peer-sharing-app-in-Pharo-tp4855144p4... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (4)
-
Evan Donahue -
Juraj Kubelka -
Robert Withers -
Stephan Eggermont