JAM Stack Deployment Platforms and Performance Comparison


Our web app is finally ready to go live but which deployment tool should we use? With the rise of JAMstack, we have a multitude of options from Vercel, Netlify, to Firebase. Certainly, performance is key for us so we want to know which one is the fastest. In this talk, we will do a real-world benchmark comparing the most known JAMstack deployment options and discuss pros and cons.

8 min
01 Jul, 2021


Sign in or register to post your comment.

AI Generated Video Summary

This is an introduction to the Jamstack Deploy project, which measures and tests popular cloud providers for the Jamstack architecture. The project focuses on performance and uses Checkly as a monitoring tool. The speaker plans to add more stats and tools for comparison and invites users to contribute to the project.

1. Introduction to Jamstack Deploy

Short description:

This is an introduction to a project I was working on in the last couple of weeks, where I tried to measure and test the most popular cloud providers for the Jamstack. Jamstack is an architecture designed to make the web faster, more secure, and easier to use. It offers better performance, security, and scalability. Site generators like Next, Hugo, and Nuxt are commonly used to create Jamstack apps. The deployment process requires providers that offer SSL support.

Hi there, welcome to my talk. This is Jamstack Deploy, and it's an introduction to a project I was working on in the last couple of weeks, where I tried to measure and tried to test the latest or the most popular cloud providers for the Jamstack. So my name is Nacho Anasha, I am from Argentina, you have there my Twitter handle. I am working as Lead Open Source Engineer in Czech Republic. I am part of the Outsourced teams.

This is a disclaimer for the talk, it's an early stage project, so things could change in the future, but I hope you can get an idea and you can start using it as a helpful resource, anytime you would like to test a Jamstack provider.

So let's just start talking about the Jamstack. Starting in the new black, this is probably something you hear a lot the latest couple of months about the JavaScript APIs and markup, that it's basically the main things about Jamstack. Jamstack is not a framework, Jamstack is an architecture designed to be or think or build to make the web faster, more secure and easier to use. And of course, also easier to scale. You can go to Jamstack.com to get more information.

But basically the main features about the Jamstack, it's that you can get better performance, mostly because we build everything in deploy time, not in prime time. So the user does not need to wait the content. The content is already there. We then use web servers, we ship everything through CDNs. So everything, it's static. It's more secure because it's a kind of microservice approach and you can also rely on third party API. So if you don't have the resources to take care of security, you can delegate in something like Auth0. So it's also cheaper and it's easier to scale because the way to scale is to ship in more parts of the world, like replicate your files or serve static files in more places. This is the main things about the Jamstack.

Then you have site generators or static site generators like Next, Hugo, Nuxt. Those are the main tools that you use every day to create Jamstack apps. And this is the kind of architecture where we compare the classic structure of a web app with the Jamstack web app. You can see on the right that the Jamstack, it's quite easy. It's just a client, a CDN where we ship the files and microservices that are kind of lockboxes. We as developers don't really care about what they do or how they do, we just need to implement them. So it's an easy structure for the Jamstack developers.

So it's time to deploy. We would like to deploy our application to any kind of provider. So what do I look for in these providers? So the first thing is that I would like to have SSL support out of the box.

2. Measuring Performance and Project Process

Short description:

I like to have Git support like PRs or preview integrations. Infrastructure as code is a good feature. A nice setup process, something simple and fast. Performance is the focus of this project. The process involved creating a dummy app and deploying it to different providers. Checkly was used as a monitoring tool to measure performance. The checks were run in different AWS regions to gain insights from around the world. The time to first byte was used as the unit of measure. The Jamstack deploy project is in the early beta stage.

I like to have Git support like PRs or preview integrations. CLI, I love the terminal, I would like to do everything through my terminal. But I also like to have a nice UI where I don't have my computer or something, you know, where I can write code so I can go to the UI and do fast things.

Infrastructure as code is a good feature because it allows you to create or create infrastructure using XAML, JSON or even code and not everything going to the UI. A nice setup process, something simple and fast. Domains. I always need a custom domain for my site's price as low as possible. Performance and learning queue. Performance is like the focus of this project and the future learning queue will be too because I will try to have tutorials or things trying to show how to use those providers.

So how was the process of this project? What I did to measure the performance of these providers. The first thing is that I create a dummy app. It's a NUX app in the static site. So I create the same exactly app and I deploy the same app to different providers. I start with Verzol, Medlify, Firebase, Render, GitHub, Pages, and search.

So once I deploy the same exactly app to them, I went to Checkly. Checkly is a monitoring tool. It's basically the backbone of this project. It's what I am using to measure the different providers. And with Checkly I can create checks. Basically a check is a kind of request where I try to measure performance and get statistics stats from this check where I can see the response time, the time to first byte, etc. And what I did with these checks using Checkly is try to run all of them in around the world, in all the AWS regions possible so I can get different insights from different parts of the world. It's not the same if I am from Argentina, if I am from United States, and if I am from South Africa.

And I put all of these pieces together using JavaScript and I decided to use the time to first byte like the unit of measure for the project. And according to Google, 200 milliseconds it's a good number for that. So I like to keep with that number. So I put everything together with JavaScript, Vue.js and Checkly Public API so I can show all the information to the public without actually using or going through the Checkly UI. So you can go to that URL, you can also go to the repo, and you will find something like this.

The Jamstack deploy project early stage is really beta now, but it's probably the beginning for something bigger. You can pick your provider, you will see there that you have more providers that are coming soon. So if you click a provider like Rocell or Netlify, you will see something like this.

3. Introduction to Performance Map and Future Plans

Short description:

This part introduces a map that shows the performance of a Next.js app deployed in static mode to different providers. The map displays regions where performance checks were conducted, with green indicating below 200 milliseconds, yellow between 200 and 500 milliseconds, and red for larger values. A list of the fastest times is also available. The speaker plans to add more stats and tools for comparison and A/B testing. They invite users to visit jumpstartdeploy.com, contribute to the project, and reach out on Twitter for questions.

A nice map where you can see all the regions running checks against this site deploy. Remember it's a Next.js app deployed in the static mode to the different providers. Same application, so I can see how this application performs in the different regions. If I request or I try to measure the performance from U.S., from Australia, from Japan, from everywhere in the world, I will get the map with the different dots. Everything green it's below 200 milliseconds. Between 200 and 500 you will see yellow and bigger than that you will see red.

So, you have also a list where you can get the fastest time, always talking about the first byte. But in the future I will be adding more stats and more tools where you can compare them and actually do like an A, B test. So, you can go to the jumpstartdeploy.com and start and of course PRs are welcome.

My to-do list is trying to bring a better UX at A versus B, like Netlify versus Bercel or Netlify versus Render or whatever, and more tutorials where I can show you how to use them and which are the main features of those providers and of course more providers AWS, Cloudflare, Microsoft Azure and so on. So, that's it. Thank you very much. If you have questions you can reach me on Twitter.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

React Advanced Conference 2022React Advanced Conference 2022
25 min
A Guide to React Rendering Behavior
React is a library for "rendering" UI from components, but many users find themselves confused about how React rendering actually works. What do terms like "rendering", "reconciliation", "Fibers", and "committing" actually mean? When do renders happen? How does Context affect rendering, and how do libraries like Redux cause updates? In this talk, we'll clear up the confusion and provide a solid foundation for understanding when, why, and how React renders. We'll look at: - What "rendering" actually is - How React queues renders and the standard rendering behavior - How keys and component types are used in rendering - Techniques for optimizing render performance - How context usage affects rendering behavior| - How external libraries tie into React rendering
React Summit 2023React Summit 2023
32 min
Speeding Up Your React App With Less JavaScript
Too much JavaScript is getting you down? New frameworks promising no JavaScript look interesting, but you have an existing React application to maintain. What if Qwik React is your answer for faster applications startup and better user experience? Qwik React allows you to easily turn your React application into a collection of islands, which can be SSRed and delayed hydrated, and in some instances, hydration skipped altogether. And all of this in an incremental way without a rewrite.
React Summit 2023React Summit 2023
24 min
React Concurrency, Explained
React 18! Concurrent features! You might’ve already tried the new APIs like useTransition, or you might’ve just heard of them. But do you know how React 18 achieves the performance wins it brings with itself? In this talk, let’s peek under the hood of React 18’s performance features: - How React 18 lowers the time your page stays frozen (aka TBT) - What exactly happens in the main thread when you run useTransition() - What’s the catch with the improvements (there’s no free cake!), and why Vue.js and Preact straight refused to ship anything similar
JSNation 2022JSNation 2022
21 min
The Future of Performance Tooling
Our understanding of performance
user-experience has heavily evolved over the years. Web Developer Tooling needs to similarly evolve to make sure it is user-centric, actionable and contextual where modern experiences are concerned. In this talk, Addy will walk you through Chrome and others have been thinking about this problem and what updates they've been making to performance tools to lower the friction for building great experiences on the web.
React Summit Remote Edition 2021React Summit Remote Edition 2021
43 min
RedwoodJS: The Full-Stack React App Framework of Your Dreams
Tired of rebuilding your React-based web framework from scratch for every new project? You're in luck! RedwoodJS is a full-stack web application framework (think Rails but for JS/TS devs) based on React, Apollo GraphQL, and Prisma 2. We do the heavy integration work so you don't have to. We also beautifully integrate Jest and Storybook, and offer built-in solutions for declarative data fetching, authentication, pre-rendering, logging, a11y, and tons more. Deploy to Netlify, Vercel, or go oldschool on AWS or bare metal. In this talk you'll learn about the RedwoodJS architecture, see core features in action, and walk away with a sense of wonder and awe in your heart.

Workshops on related topic

React Summit 2023React Summit 2023
171 min
React Performance Debugging Masterclass
Workshop Free
Ivan’s first attempts at performance debugging were chaotic. He would see a slow interaction, try a random optimization, see that it didn't help, and keep trying other optimizations until he found the right one (or gave up).
Back then, Ivan didn’t know how to use performance devtools well. He would do a recording in Chrome DevTools or React Profiler, poke around it, try clicking random things, and then close it in frustration a few minutes later. Now, Ivan knows exactly where and what to look for. And in this workshop, Ivan will teach you that too.
Here’s how this is going to work. We’ll take a slow app → debug it (using tools like Chrome DevTools, React Profiler, and why-did-you-render) → pinpoint the bottleneck → and then repeat, several times more. We won’t talk about the solutions (in 90% of the cases, it’s just the ol’ regular useMemo() or memo()). But we’ll talk about everything that comes before – and learn how to analyze any React performance problem, step by step.
(Note: This workshop is best suited for engineers who are already familiar with how useMemo() and memo() work – but want to get better at using the performance tools around React. Also, we’ll be covering interaction performance, not load speed, so you won’t hear a word about Lighthouse 🤐)
JSNation 2023JSNation 2023
170 min
Building WebApps That Light Up the Internet with QwikCity
Workshop Free
Building instant-on web applications at scale have been elusive. Real-world sites need tracking, analytics, and complex user interfaces and interactions. We always start with the best intentions but end up with a less-than-ideal site.
QwikCity is a new meta-framework that allows you to build large-scale applications with constant startup-up performance. We will look at how to build a QwikCity application and what makes it unique. The workshop will show you how to set up a QwikCitp project. How routing works with layout. The demo application will fetch data and present it to the user in an editable form. And finally, how one can use authentication. All of the basic parts for any large-scale applications.
Along the way, we will also look at what makes Qwik unique, and how resumability enables constant startup performance no matter the application complexity.
React Day Berlin 2022React Day Berlin 2022
53 min
Next.js 13: Data Fetching Strategies
Workshop Free
- Introduction
- Prerequisites for the workshop
- Fetching strategies: fundamentals
- Fetching strategies – hands-on: fetch API, cache (static VS dynamic), revalidate, suspense (parallel data fetching)
- Test your build and serve it on Vercel
- Future: Server components VS Client components
- Workshop easter egg (unrelated to the topic, calling out accessibility)
- Wrapping up
Vue.js London 2023Vue.js London 2023
49 min
Maximize App Performance by Optimizing Web Fonts
Workshop Free
You've just landed on a web page and you try to click a certain element, but just before you do, an ad loads on top of it and you end up clicking that thing instead.
That…that’s a layout shift. Everyone, developers and users alike, know that layout shifts are bad. And the later they happen, the more disruptive they are to users. In this workshop we're going to look into how web fonts cause layout shifts and explore a few strategies of loading web fonts without causing big layout shifts.
Table of Contents:
What’s CLS and how it’s calculated?
How fonts can cause CLS?
Font loading strategies for minimizing CLS
Recap and conclusion
DevOps.js Conf 2022DevOps.js Conf 2022
152 min
MERN Stack Application Deployment in Kubernetes
Deploying and managing JavaScript applications in Kubernetes can get tricky. Especially when a database also has to be part of the deployment. MongoDB Atlas has made developers' lives much easier, however, how do you take a SaaS product and integrate it with your existing Kubernetes cluster? This is where the MongoDB Atlas Operator comes into play. In this workshop, the attendees will learn about how to create a MERN (MongoDB, Express, React, Node.js) application locally, and how to deploy everything into a Kubernetes cluster with the Atlas Operator.

React Summit 2022React Summit 2022
50 min
High-performance Next.js
Next.js is a compelling framework that makes many tasks effortless by providing many out-of-the-box solutions. But as soon as our app needs to scale, it is essential to maintain high performance without compromising maintenance and server costs. In this workshop, we will see how to analyze Next.js performances, resources usage, how to scale it, and how to make the right decisions while writing the application architecture.