/plushcap/analysis/datastax/datastax-how-fast-netlify-datastax-astra

How Fast Is Netlify + DataStax Astra?

What's this blog post about?

In this post, a JavaScript newbie shares their journey to understanding async and await by creating a live web app that times how long it takes to make asynchronous API calls between two cloud-based services. The author set up timing tests using asynchronous API calls and faced some hiccups along the way. They discovered that round numbers were not updating with each subsequent series of tests, which led them to use the async/await pattern in JavaScript. By making the code pause after the test, they could correctly calculate the runtime for each set of asynchronous API calls. The author also used Netlify's functions feature and Promise.all() to make simultaneous calls to the API.

Company
DataStax

Date published
Nov. 3, 2021

Author(s)
Denise Gosnell

Word count
717

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.