Hi Friends, We are back with a new Story 😃. Hope you will enjoy reading it. In this Pandemic, we had all been working remotely for the past few years where all the official interactions were happening virtually. In order to facilitate in person interactions and to take a break from the daily routine, we... Continue Reading →
Java String intern: Performance impact
java.lang.String#intern() is an interesting function in Java. When used at the right place, it has potential to reduce overall memory consumption of your application by eliminating duplicate strings in your application. To learn how intern() function works, you may refer to this blog. In this post let's discuss the performance impact of using java.lang.String#intern() function... Continue Reading →
In which region intern strings are stored?
intern() is an interesting function in java.lang.String object. intern() function eliminates duplicate string objects from the application and has potential to reduce overall memory consumption of your application. To understand how string intern() function works you may refer to this interesting blog. Intern strings are stored in a string pool in the JVM memory. JVM... Continue Reading →
Java String intern(): Interesting Q & A
intern() is an interesting function in java.lang.String object. intern() function eliminates duplicate string objects from the application and has potential to reduce overall memory consumption of your application. In this post, let's learn more about this intern() function. Video: To see the visual walk-through of this post, click below: https://youtu.be/HiL2634pZaA 1. How does the String... Continue Reading →
JVM c1, c2 compiler thread – high CPU consumption?
c1, c2 compiler threads are created by Java virtual machine to optimize your application's performance. Occasionally these threads will tend to consume high CPU. In this post, let’s learn little more about c1, c2 compiler threads and how to address their high CPU consumption. After reading this post, terminologies like Hotspot JIT, c1 compiler threads,... Continue Reading →
“Learn yCrash” series
The industry has seen cutting-edge Application Performance Monitoring tools and infrastructure monitoring tools. These monitoring tools are great at answering the question: 'What is the problem?'' but not, Why does the problem happen? yCrash attempts to answer this question. It captures 360-degree artifacts from your technology stack such as Garbage collection logs, thread dumps, heap dumps,... Continue Reading →
Benefits of setting initial and maximum memory size to the same value
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... Continue Reading →
Java UUID generation – Performance impact
Java developers tend to use 'java.util.UUID#randomUUID()' API, to generate a UUID (Universally Unique Identifier) number (i.e., 'b8bbcbed-ca07-490c-8711-5118ee0af2f9'). Under certain circumstances, using this API can affect your application’s availability. Let’s discuss this API in this post with a real-world example. Performance impact on Java UUID generation https://youtu.be/8Q_injWDm9M How does 'java.util.UUID#randomUUID()' API works? java.util.UUID#randomUUID() API internally uses... Continue Reading →
16 artifacts to capture when there is a production problem -Montreal 2022
ConFoo Montreal is a multi-technology conference for developers. Our Architect Ram Lakshmanan has been invited there to present on the topic "16 artifacts to capture when there is a production problem", which has secured 5th place among 155 sessions. Here is the deck. Production problems are tricky to troubleshoot if proper diagnostic information isn’t captured.... Continue Reading →
Major Outages in Major Enterprises
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. They have invited our architect to conduct a webinar on the topic “Major Outages in Major Enterprises”. In this session, we... Continue Reading →