Lambdas vs Servers

  • Lambdas are deceptively close to mental model we have of normal servers
  • They both wait for some event (a request) and handle it when it happens
  • Servers run continuously. Lambdas don't
  • AWS will create and shut down Lambdas when it wants. Lambdas can't be too stateful
  • Even with scaling, servers may live for hours or days
  • Lambdas may live for minutes (or less)

10 / 25