Using Swift 5.5 Async Await to Fetch REST API
A tutorial on using Swift 5.5's new async/await syntax to fetch REST APIs sequentially and concurrently, eliminating callback hell.
A tutorial on using Swift 5.5's new async/await syntax to fetch REST APIs sequentially and concurrently, eliminating callback hell.
A beginner's guide to using the new async/await APIs introduced in Swift 5.5 for writing concurrent code, including converting callback-based functions.
Explores the Swoole extension for PHP, enabling high-performance, asynchronous, and concurrent programming to rival Node.js and Go.
Explains PHP 8.1 fibers for async programming, their conceptual use, and why they're a low-level tool not meant for direct application code.
Explains how to implement idempotency using locks in a URL shortener to prevent duplicate database entries from concurrent requests.
Explores a subtle Go bug where recovering from a panic in an HTTP handler can leave a mutex locked, causing deadlocks.
A tutorial on implementing concurrency-safe file access in Go using sync.Mutex to ensure data consistency in a simple file-based store.
A developer explains how to split an array into chunks to parallelize tasks, using a JavaScript function to improve performance in web scraping.
Explains how to implement concurrent producer/consumer pipelines in .NET using System.Threading.Channels, with a practical example of generating Twitter card images.
Explores using the Kafka AdminClient API in Go, covering context usage for timeouts and basic cluster metadata operations.
A developer's notes on implementing a Kafka consumer in Go using the deprecated channel-based API, including code examples and termination patterns.
A developer's notes on implementing a concurrent web crawler in Go, covering mutexes, wait groups, and avoiding duplicate URL fetching.
A developer's personal notes and annotated examples while learning Go's concurrency features: channels, goroutines, and the select statement.
An introduction to Web Workers, explaining how they enable multithreading in JavaScript to prevent UI blocking, with basic usage examples.
Explores various methods for waiting on concurrent coroutines in Python's asyncio, comparing await, tasks, gather(), wait(), and TaskGroup.
Explains how to use the Aggregate Pattern in Domain-Driven Design with EF Core to handle concurrency and enforce domain invariants like order line limits.
Explains the Global VM Lock (GVL) in Ruby, its impact on concurrency and scaling, and how to optimize applications like Sidekiq and Puma.
Explains .NET ThreadPool starvation, how synchronous waiting on async tasks causes it, and why queuing exacerbates the problem.
A developer shares their journey of building a simple, concurrent HTTP server in Python using the asyncio library and non-blocking sockets.
A talk exploring Java's evolution from version 17 to 21, covering new features like virtual threads and pattern matching, with a linked code repository.