One key area of research I'm doing with #cassandra is testing hybridization of deterministic & probabilistic consensus models.

Successfully doing so would provide an almost "best of both worlds" type model.

...
Probabilistic (#nakamoto) has strong liveness guarantees but is never really safe.

Deterministic (classical) guarantees safety but is difficult to resolve both liveness and safety issues. Usually requiring some #godmode
The #cassandra approach has 2-phases.

The 1st phase is probabilistic promoting liveness to a strong guarantee.

The 2nd phase receives the output of the 1st phase and produces a classical 2f+1 safety threshold.
The interesting piece here is the 1st phase. If say a portion of the network suddenly went offline, there was be a starvation of vote power.

The 1st phase can continue to make progress because it's not reliant on the 2f+1 threshold.

...
Without a 2f+1 vote power threshold, the 2nd phase can not use the output of the 1st to commit and provide a guarantee on safety.

There is a mechanism in the 1st phase to increment the vote power of active validators on each round of progress.

...
Eventually the increasing vote power of the active validators "dilutes" away the influence of the departed ones and viola!

The output of the 1st phase can now produce a 2f+1 quorum the 2nd phase need to do its thing & reverting from probabilistic safety to deterministic again.
This morning I implemented the final module needed to test the theory.

I ran the network for a while & killed 90% of it.

The remaining built a large quantity of probabilistically safe transactions, until suddenly the 2nd phase woke up & processed the lot!

#winning $exrd
As far as I'm aware, this kind of hybridization has not been done before successfully.

#cassandra will be not only the first, but will be doing so without breaking the #trilemma or #quadrilemma

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Dan Hughes

Dan Hughes Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @fuserleer

27 Mar
Throughout the day a few folks have correctly noted that there are indeed hybrid consensus platforms such as $dot #symbol #eth2 & others.

However there's a subtle but important difference in #cassandra that perhaps warrants "hybrid" as the incorrect term.

Clarification then...
As far as I understand, these solutions are essentially two separate consensus mechanisms.

Probabilistic to perform state transitions, with deterministic to finalise the best version of the former.

It works & does the job required, so why is #cassandra different?

....
Think of a hybrid car. There is a petrol engine & electric motor working together to move the car.

They are 2 separate systems & are open loop, one way. The engine if needed can generate electricity for the motor, but the motor doesn't produce anything useful for the engine...
Read 15 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!