Discussions

Ask a Question

Is it possible to connect without Erlang node connection?

I'm trying to use Lasp/Partisan but I would like to know if it's possible to avoid Erlang disterl completely? The connect function expects a node name and ip:port but I wonder if it's possible to use just ip and port 🤔
ANSWERED

Handling unexpected node exit and rejoin on different port

I've been playing with lasp_pg from the Elixir terminal and noticed this behavior: I'm doing this from two elixir terminal sessions: Start node lasp1. Start node lasp2. Join to lasp1. Kill session (^C^C) Lasp1 says lasp2 is disconnected. Start node lasp2 again. Join to lasp1. Lasp1 now has two lasp2's in the membership list and continues to say that lasp2 is disconnected. I understand *why* it's doing this - the new lasp2 is connecting on a different port. The main issue is that, to stop the errors from coming in, I must force lasp2 to leave to clear out the previous lasp2 connection and then have lasp2 join again. Is there a way to force the lasp2's old connection to 'expire' based on its old port and remove it from the membership?
ANSWERED

Lasp VNode?

Hi all, I just bumped into Lasp and it looks amazing. We currently use riak_core in our project and one thing I didn't quite follow was if lasp can handle chashed primary nodes and handoffs like how the riak_core VNodes works. Are there any additional docs or some source files in particular I should be looking at? Thanks!

Friend to Friend (F2F Network)

Hi Christopher, Is it possible to use lasp to form F2f network topology ? https://en.m.wikipedia.org/wiki/Friend-to-friend I am looking to build a multiplex network with N layers, Consider I have a node with total 20 neighbours to peer with, and I want to form a gossip multiplex network with 4 layers = 5 peers for each layer will form F2f network and those layers will only be used to reach consensus with peers on shared Graph. I would love to send you an email with full details if that is okay? Thank you.