4.7 Scaling Effects
In biology, the square-cube law explains why weâll never see elephant-sized spiders. The bugâs weight scales with volume, so it goes as O(n^3). The strength of the leg scales with the area of the cross section, so it goes as O(n^2).
If you make the critter ten times as large, that makes the strength-to-weight ratio one-tenth of the small version, and the legs just wonât hold it up.
We run into scaling effects all the time. Anytime you have a âmany-to-oneâ or âmany-to-fewâ relationship, you can be hit by scaling effects when one side increases. For instance, a database server that holds up just fine when two ...
Get Release It! now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.