Re:Serverless Development with Serverless Framework
by zbentley on Monday December 09, 2019 @09:31AM
(#21742922)
Even eventually consistent databases have severe scalability limitations compared to how far out stateless functions can scale.
And nobody said anything about on-prem databases. You can hit these issues just as easily with e.g. Aurora or Dynamo.
If you're in a traditional three tier architecture you might run into your database being overloaded by the autoscaling behavior but this is fundamentally a provisioning problem. These problems are better served in models that are scalable.
Your suggestion to by a (necessarily overprovisioned) on prem database server is cost inefficient, degrades in value over time, and is effectively a lock in.
Embracing eventual consistency is not that scary!