Blog Archives

02: 15 key considerations for low latency Java

Extends Writing low latency applications in Java interview Q&As. If the job description says “low latency” application, then be prepared. Even if “low latency” experience is not a requirement, all employers …



10: 8 Java Maps & Caching Data in Java Interview Q&As

Q1. What is the purpose of a Map interface in Java collection API? A1. A map is a set of associations between pairs of objects. One is known as a “key” …



4 FAQ Performance tuning in Java interview Q&As

Q1. In your experience, what are some of the major causes of performance bottlenecks in Java applications? A1. Cause #1: The JVM spends more time performing garbage collection due to improper …



6 Key considerations in processing large files in Java

Q1. What are the key considerations in processing large files?
A1. Before jumping into coding, get the requirements.

#1 Trade-offs among CPU, Memory Usage & Disk I/O

Processing a file involves …



8+ JMeter performance testing interview Q&As

Performance testing is an important process of any software development. You can bring this up yourself to many open-ended questions like — Tell me about yourself? What are some of your …



9 Java Garbage Collection interview questions & answers

Java Garbage Collection interview questions & answers to ascertain your depth of Java knowledge in building industry strength Java applications. Determining optimal Garbage Collection (GC) settings is critical to achieve high …



javap, jps, jmap, and jvisualvm tutorial – analyzing the heap histogram

Q1. Is there anything wrong with the code snippet shown below?



JMeter for performance testing REST services with BeanShell

This post extends 8 JMeter Performance testing Interview Q&As to cover JSON HTTP post. Now a days, a single page interactive web sites are very popular, and they post JSON based …



Monitoring/Profiling Java applications interview Q&A

Q1 How will you go about monitoring your Java application for potential performance or memory issues? A1 1. Visual VM for monitoring Java memory, CPU, threads, etc VisualVM is a visual …



Processing large files efficiently – BigData & Hadoop – part 3

Q1. What are the different data sizes, and what technologies can be used to process them? A1. In general, data sizes can be classified as shown below. 1) Small size data …



Processing large files efficiently in Java – multi-threaded code – part 2

If you want to process medium sized data (e.g. 2 GB to 100 GB in multiple files) in Java, consider writing a batch job with Spring batch or Java EE 7.0 …



Top 10 causes of performance issues in Java

Cause #1: The JVM spends more time performing garbage collection due to improper Garbage Collection (GC) configuration. E.g. Young generation being too small. Heap size is too small (use -Xmx). The …



Understanding service and socket timeouts in Java enterprise applications

Q. Why is it important to set proper timeout values in your applications?
A. Security and performance.

Security reason: it is often necessary to control how long a Web …



300+ Java Interview FAQs

800+ Java Interview Q&As

Top