direction: right app: "Application" un_serveur: "Partitioning: a single server" { table: "incidents table\n(one view for the application)" { class: accent } base: "Database" { p1: "January\npartition" p2: "February\npartition" p3: "March\npartition" } table -> base.p1 table -> base.p2 table -> base.p3 } plusieurs: "Sharding: several servers" { routage: "Routing by\nthe shard key" { class: accent } s1: "Server A\nshard 1" { d1: "Servers 1 to 500" { shape: cylinder } } s2: "Server B\nshard 2" { d2: "Servers 501 to 1000" { shape: cylinder } } s3: "Server C\nshard 3" { d3: "Servers 1001 to 1500" { shape: cylinder } } routage -> s1.d1 routage -> s2.d2 routage -> s3.d3 } app -> un_serveur.table: "one request" { class: principal } app -> plusieurs.routage: "one request" { class: principal }