Swoole: PHP with superpowers
Explores the Swoole extension for PHP, enabling high-performance, asynchronous, and concurrent programming to rival Node.js and Go.
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.
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 talk exploring Java's evolution from version 17 to 21, covering new features like virtual threads and pattern matching, with a linked code repository.
An overview of lightweight threads, concurrency models, and Project Loom for the Java Virtual Machine (JVM).
A graduate's review of the challenging CS6200 Introduction to Operating Systems course in the OMSCS program, covering projects, workload, and tips.
Learn how to use Web Workers to run intensive JavaScript tasks off the main thread, preventing a frozen UI and improving app performance.
Explores transactional memory concepts like Intel's TSX, comparing deadlocks vs. livelocks, and discusses security implications like Spectre/Meltdown.
A beginner's guide to using Promises and Futures for asynchronous programming in Swift, explaining sync vs. async execution and callback management.
A tutorial on using Apple's Grand Central Dispatch (GCD) DispatchGroup and DispatchSemaphore to manage and synchronize multiple asynchronous tasks in iOS development.
A technical article about using the Gevent library to solve performance issues in a Python web service caused by blocking external API calls.