---
title: "#async articles | Hashnode"
description: "Explore 408 articles tagged #async on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/async"
---

Tag

# #async

408 posts · 28 followers

[ZyVOP](https://hashnode.com/@zyvop) · [2d ago](https://hashnode.com/posts/how-async-await-really-works-from-syntax-sugar-to-state-machines-zclcn/6af93990dd79e5910bf7aee0)

### [How async/await Really Works: From Syntax Sugar to State Machines](https://blog.zyvop.com/how-async-await-really-works-from-syntax-sugar-to-state-machines-zclcn?utm_source=hashnode&utm_medium=feed)

Explore how JavaScript transforms async/await into resumable state machines using Promises, microtasks, and the event loop.

14 min read · [blog.zyvop.com](https://blog.zyvop.com/how-async-await-really-works-from-syntax-sugar-to-state-machines-zclcn?utm_source=hashnode&utm_medium=feed)

[techpotions](https://hashnode.com/@techpotions) · [Nov 10](https://hashnode.com/posts/react-native-async-storage-what-to-use-instead/6af36def2f43d93b559e2124)

### [React Native Async Storage: What to Use Instead](https://techpotions.hashnode.dev/react-native-async-storage-what-to-use-instead?utm_source=hashnode&utm_medium=feed)

React Native AsyncStorage is the default key-value store, but for many production apps it’s not enough. Here’s when to replace it and how to pick the right alternative, step by step.

8 min read · [techpotions.hashnode.dev](https://techpotions.hashnode.dev/react-native-async-storage-what-to-use-instead?utm_source=hashnode&utm_medium=feed)

[Linh Fish Dev](https://hashnode.com/@linhfishdev) · [Nov 8](https://hashnode.com/posts/javascript-run-multiple-promises-at-once-with-promise-allsettled-one-failure-won-t-ruin-the-batch/6af0923fa47cab96f277319b)

### [JavaScript: Run Multiple Promises at Once with Promise.allSettled — One Failure Won't Ruin the Batch](https://linhfishdev.hashnode.dev/javascript-run-multiple-promises-at-once-with-promise-allsettled-one-failure-won-t-ruin-the-batch?utm_source=hashnode&utm_medium=feed)

When you need to call several independent APIs at once — fetching user info, the post list, and statistics for a dashboard page, for example — Promise.allSettled() is the right choice. It waits for ev

4 min read · [linhfishdev.hashnode.dev](https://linhfishdev.hashnode.dev/javascript-run-multiple-promises-at-once-with-promise-allsettled-one-failure-won-t-ruin-the-batch?utm_source=hashnode&utm_medium=feed)

[Gowtham Muthuvel](https://hashnode.com/@GowthamMuthuvel) · [Nov 6](https://hashnode.com/posts/fastapi-def-vs-async-def-blocking-event-loop/6aed7dd4310621c7358a6ed9)

### [FastAPI \`def\` vs \`async def\`: When Your Endpoint Blocks Everything](https://gowthammuthuvel.hashnode.dev/fastapi-def-vs-async-def-blocking-event-loop?utm_source=hashnode&utm_medium=feed)

Ten concurrent 0.5 s sleeps: async def + time.sleep took 5016.7 ms and made /ping sit at p50 450.7 ms. Plain def and await asyncio.sleep both finished around 0.5 s with /ping under 2 ms.

12 min read · [gowthammuthuvel.hashnode.dev](https://gowthammuthuvel.hashnode.dev/fastapi-def-vs-async-def-blocking-event-loop?utm_source=hashnode&utm_medium=feed)

[Waqas Shahid](https://hashnode.com/@practicaldevblog) · [Oct 26](https://hashnode.com/posts/javascript-async-await-explained-from-callbacks-to-clean-code/6adf7c5026319dd161d103c1)

### [JavaScript Async/Await Explained: From Callbacks to Clean Code](https://practicaldevblog.hashnode.dev/javascript-async-await-explained-from-callbacks-to-clean-code?utm_source=hashnode&utm_medium=feed)

Introduction JavaScript often has to wait for a network request, a file, or a timer. The old way to handle waiting was nested callbacks, which quickly became hard to read. Promises improved that. Asyn

3 min read · [practicaldevblog.hashnode.dev](https://practicaldevblog.hashnode.dev/javascript-async-await-explained-from-callbacks-to-clean-code?utm_source=hashnode&utm_medium=feed)

[ZyVOP](https://hashnode.com/@zyvop) · [Oct 26](https://hashnode.com/posts/concurrency-threads-processes-and-asyncio-and-why-llm-apps-love-async-cnqzq/6adecf1995d39177b6e4af80)

### [Concurrency: Threads, Processes, and asyncio (and Why LLM Apps Love Async)](https://blog.zyvop.com/concurrency-threads-processes-and-asyncio-and-why-llm-apps-love-async-cnqzq?utm_source=hashnode&utm_medium=feed)

Learn why AI apps spend most of their time waiting, and how threads, processes, and asyncio turn that waiting into speed, with a safe way to call a model many times at once.

16 min read · [blog.zyvop.com](https://blog.zyvop.com/concurrency-threads-processes-and-asyncio-and-why-llm-apps-love-async-cnqzq?utm_source=hashnode&utm_medium=feed)

[Harpreet Singh Kapula](https://hashnode.com/@happysingh89) · [Oct 25](https://hashnode.com/posts/you-added-async-await-everywhere-your-python-got-slower-here-s-why/6addc42a30dff6e7290edf68)

### [You Added async/await Everywhere. Your Python Got Slower. Here's Why.](https://singh-technical-blog.hashnode.dev/you-added-async-await-everywhere-your-python-got-slower-here-s-why?utm_source=hashnode&utm_medium=feed)

You added async/await and your Python didn't speed up. Learn what the event loop does in memory, why blocking calls kill it, and how to fix it.

13 min read · [singh-technical-blog.hashnode.dev](https://singh-technical-blog.hashnode.dev/you-added-async-await-everywhere-your-python-got-slower-here-s-why?utm_source=hashnode&utm_medium=feed)

[Faishal Wahiduddin](https://hashnode.com/@faishalwahiduddin) · [Oct 18](https://hashnode.com/posts/twelve-hours-apart-leading-docheck-s-engineering-team-from-the-other-side-of-the-planet/6ad4c824f616daa546011ba1)

### [Twelve Hours Apart: Leading DoCheck's Engineering Team From the Other Side of the Planet](https://faishalwahiduddin.hashnode.dev/twelve-hours-apart-leading-docheck-s-engineering-team-from-the-other-side-of-the-planet?utm_source=hashnode&utm_medium=feed)

From 2021 to 2023 I was CTO of DoCheck, a productivity SaaS with a 20+ engineering team in Indonesia. I was in Orlando, finishing an M.S. in Computer Science at the University of Central Florida on a

4 min read · [faishalwahiduddin.hashnode.dev](https://faishalwahiduddin.hashnode.dev/twelve-hours-apart-leading-docheck-s-engineering-team-from-the-other-side-of-the-planet?utm_source=hashnode&utm_medium=feed)

[Powerduck](https://hashnode.com/@powerduck) · [Oct 8](https://hashnode.com/posts/openapi-long-running-async-jobs-202-location-status/6aca07891f20fc58e5aa69ee)

### [Long-running REST APIs: 202 Accepted, Location, job status polling, and webhooks in OpenAPI](https://blogs.powerduck.com/openapi-long-running-async-jobs-202-location-status?utm_source=hashnode&utm_medium=feed)

Holding an HTTP connection open for a three-minute export times out and ties up workers. Return 202 Accepted with a Location to a job resource, model the job state machine, and let clients poll or subscribe to a webhook. Here is the full lifecycle with progress and cancellation,

7 min read · [blogs.powerduck.com](https://blogs.powerduck.com/openapi-long-running-async-jobs-202-location-status?utm_source=hashnode&utm_medium=feed)

[Powerduck](https://hashnode.com/@powerduck) · [Oct 7](https://hashnode.com/posts/openapi-callbacks-vs-webhooks-runtime-expressions/6aca079f2a681a5142c4eadf)

### [OpenAPI callbacks vs webhooks: modeling async request/reply with runtime expressions](https://blogs.powerduck.com/openapi-callbacks-vs-webhooks-runtime-expressions?utm_source=hashnode&utm_medium=feed)

A webhook is an inbound URL you register once; an OpenAPI callback is an outbound call whose URL arrives inside the request. Same shape, opposite direction. Here are the callbacks syntax, runtime expressions, a worked 202 example, and how to mock the round trip.

7 min read · [blogs.powerduck.com](https://blogs.powerduck.com/openapi-callbacks-vs-webhooks-runtime-expressions?utm_source=hashnode&utm_medium=feed)
