Python Multithreading vs. Java Multithreading - Important Considerations for High Performance Programming
Multithreading is critical for production applications because it unlocks features and capabilities that are otherwise out of reach.
In this article, we will look at concurrency using multithreaded programming in two of the most popular languages, Python and Java.
Java PriorityBlockingQueue - Thread-Safe and Memory Efficient Concurrent Heap
In this article, we are going to learn about a very important thread-safe and memory-efficient data structure implementation, the PriorityBlockingQueue. We will first start by comparing it to the traditional heap-based PriorityQueue implementation, and later we will see what concurrency and performance-related features and guarantees the PriorityBlockingQueue provides to us.
Finally, we will write some Java code to see how a PriorityBlockingQueue is used in a practical real-life example.
Java ArrayBlockingQueue - A High Performance Data Structure for a Multithreaded Application
The queue data structure is the best choice for storing and retrieving elements in a First In First Out (FIFO) order.
In this article we’re going to explore the ArrayBlockingQueue class, which provides superior properties and guarantees for high performance, multithreaded, Java production applications.
Top 3 Tips to Improve your Java Application’s Performance
For many years Java had a bad reputation for being slow….throughout the years, there have been many advancements made in the JVM itself, that more than compensate for all those inefficiencies. And in recent years we see more and more companies use Java to develop low latency, high-performance applications for high-speed trading, scientific simulations, real-time bidding, mobile games, and more.
The Hidden Benefits of Java Multithreading
When we think of the benefits of multithreading in Java, the following two often come to mind: high performance through parallel execution, and multitasking achieved through concurrency. However, there is a third benefit to multithreading that is often overlooked.
Top 3 Projects for Java Concurrency
The threading model is important for achieving high performance and responsiveness for your application, but getting it right is a challenge. In this article we’ll explore my top 3 picks for toolkits and frameworks for concurrency and multithreading.
Java 11 Removes stop() and destroy() Methods
In September 2018 Oracle finally released Java 11, following its 6 month release cycle. But why were those methods deprecated in the first place?
And how should we correctly stop threads?