Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Microservices Application Pattern



Please see the example applications developed by Chris Richardson. These examples on Github illustrate various aspects of the microservice architecture.


Resulting Context

Benefits

...

  • The coordinator is coupled with the services.
  • If the coordinator goes down, it impacts the entire system.


RDD - Responsibility Driven Design - Wirfs-Brock


Why RDD?

more flexible than reactive services design

doesn't force everything to an API service model - just what should be an API vs a service vs a library vs a function

more natural way to find events produced and consumed by starting with business or client use cases

provides an easier way for business users to drive requirements specifications using natural language ( vs powerpoint logic )



Reactive Microservices based on event listeners

https://sites.google.com/a/mammatustech.com/mammatusmain/reactive-microservices

event maps, event storming in the context of microservices

effective really for software engineers but not so much for others


Benefits of Real OOP using Smalltalk before other languages improved

...

https://docs.lightning.engineering/the-lightning-network/multihop-payments/hash-time-lock-contract-htlc


https://medium.com/liquality/hash-time-locked-contracts-htlcs-explained-e88aa99cc824


Refund scenario for HTLC

 leverage HTLCs in Atomic Swaps, but also lead industry-wide efforts to standardize their implementation across different applications and blockchains.

Image Modified



Bitcoin UXTO model

https://river.com/learn/bitcoins-utxo-model/

  • Bitcoin does not have accounts with balances. Instead, individual coins are owned by Bitcoin users.
  • An Unspent Transaction Output (UTXO) is a discrete piece of bitcoin. UTXOs are used as the inputs of every Bitcoin transaction.
  • The UTXO model makes Bitcoin more auditable, transparent, and efficient than traditional financial systems, which rely on accounts, balances, and third parties.


Alice sends Bob 1 BTC and sends herself a change output.


Potential Value Opportunities

...