In that post we also described how this approach of mocking the network with a centralized component provides us with an evolution path of iteratively pulling in aspects of lib3h as they’re ready -- instead of trying to conquer all of the inherent complexity in a single iteration
-
-
7/18
So what is sim2h?
In other words, Sim2h uses the websocket implementation from lib3h to create encrypted “wormholes” between each Holochain conductor instance and this central “in-memory” switch-board.pic.twitter.com/6oW8NbDzY8Show this thread -
8/18
So what is sim2h?
The result is that we have a single point to route all Holochain network messages to their according recipient.
But with that said, all of the other specific and important aspects of the Holochain network are still present including:
Check the photo
pic.twitter.com/HCEZn1pnTQ
Show this thread -
9/18
So what is sim2h?
Note that the above bullet points are not true for sim1h, as messages (as well as entry data) is stored in the centralized database and that’s what nodes rely on.Show this thread -
10/18
So what is sim2h?
Getting rid of that database both gets us much closer to the network structure that Holochain is built for and also has a very important pragmatic benefit: 
Check the graphicpic.twitter.com/dVrtN8t76r
Show this thread -
11/18
So what is sim2h?
The database sim1h uses can’t just be made available publicly on the internet -- even for testing purposes -- without asking for trouble. Sim2h on the other side just facilitates connections between nodes of the same DNA.pic.twitter.com/L3ZA6eJuouShow this thread -
12/18
So what is sim2h?
The state of the DHT is stored exclusively in all the nodes at the edges. Any change has to pass through the DNAs validation rules the same way it would in a fully peer-to-peer setting.Show this thread -
13/18
So what is sim2h?
This difference is precisely what enables us to use sim2h right now for our first public Holochain test network. This is also an important prerequisite for Holo’s first test network.pic.twitter.com/PGVmUquUoTShow this thread -
14/18
So what is sim2h?
That said, the fact that all messages are routed through a single point creates a single point of failure, which surely is not what you would want for a production ready p2p framework.Show this thread -
15/18
So what is sim2h?
But it actually is beneficial for test networks, as already described in the post about sim1h.Show this thread -
16/18
So what is sim2h?
That’s because, in all alpha test networks, and potentially in early betas, we definitely want to be able to log network messages as needed in order to gain a global view for debugging.pic.twitter.com/rVq7d7vO1dShow this thread -
17/18
So what is sim2h?
So we believe the single point of failure is a reasonable trade-off (during alpha and early beta phases) for the ability to analyse the network.pic.twitter.com/69jSarZvsCShow this thread -
18/18
So what is sim2h?
And should that central point actually experience issues, we can spawn new machines without even managing any application data, since that is stored at the node level.pic.twitter.com/6BfNWpujrLShow this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

The important bit