asynchronous
Describes work that starts now and finishes later, letting the program do other things instead of waiting for it.
In more detail
Network calls, disk reads and database queries are usually asynchronous, and the result arrives through a callback, a promise or an awaited task. It raises how much work a program can keep in flight, not how fast any single piece finishes.
Example
Java: CompletableFuture.supplyAsync(() -> "ready").thenApply(String::toUpperCase)Related terms
- synchronous — Code that runs step by step and makes the program wait for each step to finish before the next one starts.
- message queue — A store that holds messages from producers until consumers are ready to process them, decoupling the rate of arrival from the rate of work.
- request path — The work a system does between receiving a request and sending the answer the user is waiting for.
- oldest message age — How long the oldest unprocessed message has been waiting.
- async and await — Language keywords for writing code that waits for slow work, such as a network call, without blocking a thread.
- Task — The .NET type representing an operation that may still be running and will eventually complete with a result, an exception or cancellation.
- I/O — Input and output: any time a program reads or writes data outside its own memory, such as files, networks or the terminal.
- Promise — A JavaScript object that stands for a result that is not ready yet and will later either succeed with a value or fail with an error.
- event loop — The central loop of an asynchronous program that waits for events, such as timers firing or data arriving, and runs the matching callbacks.
- CompletableFuture — A Future that can be completed later and chained, letting you describe asynchronous steps such as transform, combine and recover without nesting callbacks.
- blocking call — A call that makes the current thread wait, doing nothing else, until some result or event arrives.
- callback — A function you pass to other code so it can call you back later, for example when an event happens or a timer fires.
Taught in
- Serverless And Container Patterns: Where The Limits Bite — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Databases That Survive: Standbys, Replicas And Global Tables — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Async and Await: Managing Concurrency — Modern .NET Core, C# & Enterprise Microservices
- Querying, Change Tracking, and Saving Data — Modern .NET Core, C# & Enterprise Microservices
- Critical Rendering Path: Preload, Prefetch And Scripts — Frontend Architecture & Web Platform
- MutationObserver: Reactive DOM Watching Without Polling — Frontend Architecture & Web Platform
- The Browser Event Loop: Call Stack, Microtasks And Macrotasks — Frontend Architecture & Web Platform
- Cancellation With AbortController And Async Signal Propagation — Frontend Architecture & Web Platform
- IndexedDB In Practice: Object Stores, Indexes And Transactions — Frontend Architecture & Web Platform
- The ExecutorService — Modern Java: Virtual Threads & High-Throughput Services
- Async With CompletableFuture — Modern Java: Virtual Threads & High-Throughput Services
- State with useState: Immutability And Asynchronous Batching — React 19 & Modern Component Architecture
- Complex State with useReducer: State Machines And Action Types — React 19 & Modern Component Architecture
- Virtual DOM vs Real DOM: The Reconciliation Cost Model — React 19 & Modern Component Architecture
- React Fiber Architecture: Work Units, Priority And Commits — React 19 & Modern Component Architecture
- Keys In Depth: Identity Preservation And Identity Resetting — React 19 & Modern Component Architecture
- Diffing Algorithm: Element Type Shifts And Subtree Tear Down — React 19 & Modern Component Architecture
- SyntheticEvent System: Event Delegation in Modern React — React 19 & Modern Component Architecture
- useEffect Lifecycle: Mount, Dependencies, And Cleanup Phases — React 19 & Modern Component Architecture
- Avoiding Effect Antipatterns: Derived State And Events — React 19 & Modern Component Architecture
- useLayoutEffect vs useEffect: Painting And Synchronous Reads — React 19 & Modern Component Architecture
- Requirements: The Constraints That Shape The System — Scalable System Design & Distributed Architecture
- Replication, Failover And Leader Election — Scalable System Design & Distributed Architecture
- Eventual Consistency And What It Costs A Product — Scalable System Design & Distributed Architecture
- Queues, Events And Asynchronous Work — Scalable System Design & Distributed Architecture
- The Difference Between A Queue And A Log — Scalable System Design & Distributed Architecture
- Timeouts, And Avoiding Cascaded Failure — Scalable System Design & Distributed Architecture
- Observability As A Design Input — Scalable System Design & Distributed Architecture
- Worked Design One: Scaling The Ticket Booking System — Scalable System Design & Distributed Architecture
- Discriminated Unions: Tagged Variants And Pattern Matching — Production TypeScript
- Why Generics: Functions, Identities And Type Variables — Production TypeScript
- Union Utilities: Exclude, Extract, NonNullable And Awaited — Production TypeScript
- Function Utilities: ReturnType, Parameters And Constructor — Production TypeScript
- Conditional Types: Ternary Types And Type Inference With infer — Production TypeScript
References
- MDN Web Docs glossary: Asynchronous
- Azure Architecture Center: Asynchronous Request-Reply pattern
- Asynchronous programming scenarios
- MDN: Introducing asynchronous JavaScript
- Java SE 21 API: CompletableFuture
- MDN: async function
- MDN: Promise