There are a good number of articles that articulate functional differences between HashMap, HashTable and ConcurrentHashMap. This post compares the performance behavior of these data structures through practical examples. If you don’t have patience to read the entire post, here is bottom line: When you confront with the decision of whether to use HashMap or HashTable or ConcurrentHashMap, you can consider using ConcurrentHashMap since it’s thread-safe implementation, without compromise in performance.
Continue reading “Java Hashtable, HashMap, ConcurrentHashMap – Performance impact”When we launch applications, we specify the initial memory size and maximum memory size. For the applications that run on JVM (Java Virtual Machine), initial and maximum memory size is specified through ‘-Xms’ and ‘-Xmx’ arguments. If Java applications are running on containers, it’s specified through ‘-XX: InitialRAMPercentage’ and ‘-XX: MaxRAMPercentage’ arguments. Most enterprises set the initial memory size to a lower value than the maximum memory size. As opposed to this commonly accepted practice, setting the initial memory size the same as the maximum memory size has certain ‘cool’ advantages. Let’s discuss them in this post.
Continue reading “Benefits of setting initial and maximum memory size to the same value”ConFoo Montreal is a multi-technology conference for developers. This year , they have conducted the program to exchange knowledge and ideas from speakers all over the world. Our Architect Ram Lakshmanan was invited to give a talk on the topic: “Let’s crash the applications!”
Continue reading “Let’s crash the applications! – Confoo 2022”The World’s Largest 6th Annual All Day DevOps conference held on October 28th 2021. Our architect Ram Lakshmanan was invited there to present a webinar on the topic 7 habits of highly effective Performance Troubleshooters!
Below is the deck shared in the conference which explains, how to forecast the problems?, what to do when the problem is happening?, how to identify the root cause instantly? and how to prevent problems from happening in the future and so on.
Continue reading “7 habits of highly effective Performance Troubleshooters! – All Day Devops Conference”There are different flavors of OutOfMemoryError. One of the flavours of OutOfMemoryError is ‘Kill Process or sacrifice child’. This post discusses what triggers this ‘Kill Process or sacrifice child’ OutOfMemoryError and potential solutions to diagnose this problem.
Continue reading “OutOfMemoryError: Kill process or sacrifice child – causes & solutions”JAX – Online conference is the meeting place for all Java and software architecture enthusiasts! This year also, they have conducted an online conference to exchange knowledge and ideas from speakers all over the world.
Continue reading “Major Outages in Major Enterprises”JAX – Online conference is the meeting place for all the Java and software architecture enthusiasts! This year also, they have conducted the online conference to exchange the knowledge and ideas from the speakers all over the world.
Continue reading “JVM Internals in 1 slide”You can pass 600+ arguments to JVM just around Garbage collection and memory. It’s way too many arguments for anyone to digest and comprehend. In all these 4 videos, 7 important JVM arguments that will boost your Java/Scala/Jython application performances are shared.
Continue reading “Video Blog: 7 JVM Arguments of Highly effective applications”What happens behind the scene when a java program is executed? In which regions objects are created? When objects become eligible for garbage collection? Where are threads stored? What is the difference between Stack and Heap? Watch this video to know more.
Continue reading “How Java program executed? – Heap, threads, stack, GC”