Sacrifical architecture

The term was introduced by Martin Fowler. Build with an intention to rebuild when the time comes. It’s like throw-away prototypes, only in production. When your business grows, you may have to throw away some or all of your previous code base (as eBay did, twice). This does not mean that the previous solutions were Read more…

Read more...
 

CQRS

Command Query Responsibility Segregation pattern. This pattern has the following benefits: Supports multiple denormalized views that are scalable and performant Improved separation of concerns = simpler command and query models Necessary in an event sourced architecture and the following drawbacks: Increased complexity Potential code duplication Replication lag/eventually consistent views Note to myself: Try to implement Read more…

Read more...
 

CAP theorem

It it impossible in a distributed data store to guarantee more than two out of the following three guarantees: Consistency aka every reader receives the most recent write or an error. Availability aka every reader receives a response without the guarantee that it contains the most recent write. Partition tolerance aka a system continues to Read more…

Read more...