InfoQ Homepage Concurrency Content on InfoQ
-
Improving Threads' iOS Performance at Meta
An app's performance is key to make users want to use it, say Meta engineers Dave LaMacchia and Jason Patterson. This includes making it lightning-fast, battery-efficient, and reliable across a range of devices and connectivity conditions. In a recent article, they recounted their experience with the Threads app.
-
Java Evolves to Tackle Virtual Threads Pinning with JEP 491
JEP 491, "Synchronize Virtual Threads without Pinning," is now Proposed to Target for JDK 24. This initiative aims to resolve Java's "pinning" issue, a limitation of the synchronized keyword, which restricts scalability with virtual threads. JEP 491 eliminates this constraint, unlocking high-performance concurrency without extensive refactoring.
-
Vapor 5 Materializes the Future of Server-Side Development in Swift
Over four years since the launch of its current version, the team behind Swift server-side development framework Vapor is making room for Vapor 5, which aims at leveraging Swift 6 concurrency capabilities and laying the foundations for the framework's future evolution. An initial alpha release is planned to be ready when Swift 6 is officially released.
-
JEP 481: Third Preview of Scoped Values API Brings Key Enhancements in JDK 23
JEP 481, Scoped Values (Third Preview), formerly known as Extent-Local Variables (Incubator), offers a third preview, with one change, to gain additional experience and feedback from one round of incubation and two rounds of preview. This feature enables the sharing of immutable data within and across threads.
-
Swift 6 Brings New Opt-In Data-Race Safe Mode
In his WWDC 2024 talk, Apple's Languages and Runtimes team lead and Swift core team member Ted Kremenek introduced Swift 6 new data-race safe mode, which promises to help developers create concurrent programs free of data races thanks to a new compile-time static detector.
-
High HTTP Scaling with Azure Functions Flex Consumption: Q&A with Thiago Almeida and Paul Batum
Microsoft has introduced a significant enhancement to its Azure Functions platform with the Flex Consumption plan, designed to handle high HTTP scale efficiently. This new plan supports customizable per-instance concurrency, allowing users to achieve high throughput while managing costs effectively. In practical tests, Azure Functions Flex demonstrated the ability to scale from zero to 32,000 RPS.
-
JobRunr Introduces Version 7.0 with Built-in Support for Virtual Threads
JobRunr v7 now defaults to virtual threads for applications using JDK 21, optimizing concurrency for I/O-bound tasks and allowing more jobs to run simultaneously. This update maintains compatibility with Java 8 and supports GraalVM native mode. RedisStorageProvider and ElasticSearchStorageProvider are planned to be dropped in future releases. MongoDB driver is also upgraded.
-
Swift Asynchronous Programming Recipes on GitHub
Swift developer Matt Massicotte, formerly at Crashlytics and Apple, has recently launched a GitHub repo collecting a number of useful recipes to make it easier to use Swift concurrency and solve recurrent problems, while being aware of the most common traps you can fall into.
-
Erlang-Runtime Statically-Typed Functional Language Gleam Reaches 1.0
Gleam, an actor-based highly-concurrent functional language running on the Erlang virtual machine (BEAM), has reached version 1.0, which means it is now ready to be used in production systems with a guarantee of backward compatibility based on semantic versioning.
-
Swift 5.10 Brings Full Data Isolation Compile-Time Safety to Concurrent Code
The latest Swift release, Swift 5.10, includes just a few new proposals that nevertheless represent an important achievement for the language concurrency model, which is now able to ensure full data isolation at the compiler level, explains Swift team engineer Holly Borla.
-
Apache Pekko: Simplifying Concurrent Development with the Actor Model
Apache Pekko is an open-source framework designed to simplify the development of concurrent, distributed, resilient, and elastic applications. Leveraging the Actor Model, Pekko offers high-level abstractions for concurrency, allowing developers to focus on business logic rather than low-level implementation details.
-
Structured Concurrency in JDK 21: A Leap Forward in Concurrent Programming
JEP 453, Structured Concurrency (Preview), has been Integrated from the Targeted status for JDK 21. Formerly an incubating API, this initial preview incorporates enhancements in response to feedback from the previous two rounds of incubation: JEP 428, Structured Concurrency (Incubator), delivered in JDK 19; and JEP 437, Structured Concurrency (Second Incubator), delivered in JDK 20.
-
AWS Lambda Now Supports Maximum Concurrency for SQS as Event Source
AWS Lambda now provides a way to control the maximum number of concurrent functions invoked by Amazon SQS as an event source. Setting the Maximum Concurrency, developers can determine the concurrency of the functions processing messages in individual SQS queues, simplifying the scalability of serverless applications.
-
HC-tree is a High-Concurrency Backend for SQLite Supporting Replication
HC-tree is a project aimed at building a new backend for SQLite specifically optimized for high-concurrency and lead-follower style replication. While still experimental, HC-tree can be used as an SQLite drop-in replacement, albeit with limitations.
-
OCaml 5 Brings Support for Concurrency and Shared Memory Parallelism
Several years in the making, OCaml 5 introduces runtime support for shared memory parallelism and effect handlers, which are the basis for exception handling, concurrency, async I/O, and more.