Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.44 KB

File metadata and controls

39 lines (25 loc) · 1.44 KB

Parsec

Contains the Parsec specifications, and an implementation of the protocol using Kafka

Run

To run the ParsecSimulator that will generate Parsec Protocol messages on Kafka topics: Just edit the KProducer.scala run:

sbt simulator/run

Kafka cluster

You can see the schemas as they are registered in the schema-registry-ui

You can view the messages as they are shown in the kafka-topics-ui

A bit of theory

https://github.com/parsec-network/parsec/blob/specs/docs/specs/parsec_pay_setup.png

https://github.com/parsec-network/parsec/blob/specs/docs/specs/customer_journey_parsec_payment.png

TODO

Blog /blog/2016/12/parsec-scaling-cryptocurrency-with-kafka/

Decide on State management implementation. KStreams is a good choice:

  • partition aware (it auto handles partitioning when scaling)
  • state keeping is like samza but improved from functionality from Google
  • persists on RocksDB and compacted topics
  • it persists on RocksDB and compacted topics
  • it resumes from where it left when it crashes