InfoQ Homepage Concurrency Content on InfoQ
-
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.
-
Swift 5.7 Brings New Generics Implementation and Reference Counting Improvements
Announced at WWDC 2022, Swift 5.7 is now officially available. It includes major improvements to the compiler internals, and many syntax and standard library additions, including String regex, concurrency updates, and more.
-
JEP 429: Extent-Local Variables to Promote Immutability in Java
JEP 429, Extent-Local Variables (Incubator), was promoted from its JEP Draft 8263012 to Candidate status. This incubating JEP, under the umbrella of Project Loom, proposes enabling the sharing of immutable data within and across threads. This is preferred to thread-local variables, especially when using large numbers of virtual threads.
-
JEP 428: Structured Concurrency to Simplify Java Multithreaded Programming
JEP 428, Structured Concurrency (Incubator), has been promoted from Proposed to Target to Targeted status for JDK 19. Under the umbrella of Project Loom, this JEP proposes simplifying multithreaded programming by introducing a library to treat multiple tasks running on different threads as an atomic operation. It will streamline error handling, improve reliability, and enhance observability.
-
JEP 425: Java Virtual Threads to Deliver Improved Throughput
JEP 425, Virtual Threads (Preview), has been promoted from Proposed to Target to Targeted status for JDK 19. This JEP, under the umbrella of Project Loom, introduces virtual threads. These lightweight threads aim to dramatically reduce the effort of writing, maintaining, and observing high-throughput concurrent applications to the Java platform. This is a preview feature.
-
Infer New Deadlock Detector for Android Aims to Be Efficient for Large Codebases
In a joint research, London University College and Facebook researchers created a new deadlock detector for Android Java code now available as part of open-source Infer static analysis tool. The new analyzer is able to process large codebases efficiently thanks to its incremental approach specifically designed for integration in a CI pipeline.