Quick tips for distributed event-based systems
Explains how to replace brittle, synchronous side-effects in endpoints with a resilient, event-based system using queues for better error handling and performance.
Explains how to replace brittle, synchronous side-effects in endpoints with a resilient, event-based system using queues for better error handling and performance.
An exploration of asynchronous programming in JavaScript and Node.js, explaining concepts like the event loop, callbacks, and non-blocking I/O.
Explores using Java 21+ virtual threads to elegantly convert legacy Future objects into modern, composable CompletableFuture instances.
Explores using Java 21+ virtual threads to elegantly convert legacy Future objects into modern, composable CompletableFuture instances.
Explores the concept of synchronous 'await' in JavaScript, its potential benefits for code duplication, and why it's impractical.
A hands-on guide and workshop for writing network applications using the Tokio async runtime in Rust.
Explores methods for implementing background task processing and concurrency in Starlette-based web applications like FastAPI to avoid blocking on LLM API calls.
Explains linked cancellation tokens in C#, showing how to create a token that cancels when any of multiple source tokens are canceled.
Explores challenges and solutions for testing asynchronous Swift code, focusing on avoiding random failures due to concurrency issues in Swift 6.
Explains how to use the new Promise.withResolvers API in Node.js v22+ to manage asynchronous operations in nested tests.
A deep-dive tutorial explaining JavaScript Promises from the ground up, covering their necessity and how to use them effectively.
Explains how to cancel a C# task using multiple CancellationToken sources by linking them with CancellationTokenSource.CreateLinkedTokenSource.
A comprehensive guide to JavaScript Promises, covering basics, error handling, advanced methods like Promise.all(), and real-world use cases.
Explains the concept of Structured Concurrency for robust async code and demonstrates a potential C# implementation using a TaskScope.
A .NET developer shares technical interview questions focused on C#, SOLID principles, async/await, and database queries to assess problem-solving skills.
Debunks common myths about Node.js, revealing surprising truths about its architecture, async operations, and threading model.
A developer shares their top 10 favorite built-in PHP functions, highlighting useful and surprising capabilities of the language.
Explains how to use JavaScript's AbortController to manage the expiry of tokens or objects, ensuring they are invalidated after a set lifetime.
Explains the misconception that Tasks in C# are for multithreading, clarifying they represent asynchronous operations, not threads, and are not primarily for performance.
Explains how to use TaskCompletionSource in .NET to convert event-based APIs into awaitable tasks, with examples for timers and error handling.