Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to scale an SPA? @ AmsterdamJS 2018

How to scale an SPA? @ AmsterdamJS 2018

I'm going to tell you a secret. If you are building an SPA, you can take advantage of optimisations that give you epic scalability, with super low latencies at a fraction of the cost. To understand the secret, I'll need to teach you a few things such as the actors involved in transferring data from your server to the browser; and about the ancient technology called 'serverless' which you might be surprised to learn is something you've already been using for years. By the end, you'll know the secret of how to architect an SPA for scale without breaking the bank.

Asim Hussain

June 01, 2018
Tweet

More Decks by Asim Hussain

Other Decks in Programming

Transcript

  1. $61

  2. • Azure Functions • Charge by GB-s + Executions •

    Limited to 5 mins • Stateless @jawache
  3. Summary @jawache SPAs are static, we can therefore use caching

    and serve using Azure Storage. Oh, BTW... storage is serverless So might as well make the rest of your app serverless Use as FaaS like Azure Functions for your API Orchestrate with Durable Functions* (or Logic Apps)