Progressive Rollout ❖ Open new countries with v3 one by one ❖ It took about 2.5 years to run v3 everywhere ❖ Today we can deploy new features for a set of users (by attributes or random)
Varnish Fast reverse proxy cache 30% HIT/MISS Firemode to handle high traffic (TTL) Be careful with authenticated user blocks (Javascript is your friend)
Today we are mainly Monolithics But we would love using more Micro-Services Easier to deploy Development workflow Legacy database Smaller teams Faster deployments Easier to scale out
Gateway Principles (Clean Architecture) Decouple models (not db) Isolate business & data accesses (in the Monolytics to better decouple in micro services) Restrictive rules Enter the
‣ Know the read requests before creating your data models ‣ Create as many tables (KeySpaces) than you have views ‣ Denormalize the data (no join allowed)
CQRS & Event Sourcing ❖ Separate Read & Write ❖ Eventual consistency ❖ But hard to do with legacy software / database See talk PHPTour 2015 at moquet.net