Blog Archives
1 2

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 like candidates who can not only build systems that perform well, but also can stress test (e.g. … Read...



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” and the other is known as a “value”. It is used very frequently in programming in case where for...



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 Garbage Collection (GC) configuration. … Read more ›...



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 reading from the disk, processing (e.g. parsing an XML and transforming), and writing back to the disk.

Read more ›



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 recent accomplishments that you are proud of? Setting up a performance/load test script is always the first step in...



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 throughput & low latency.

Q1. In which part of memory does Java Garbage Collection (i.e.

Read more ›



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

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

A1. The above code creates too many “Integer” objects due to auto boxing.

Q2. How do you know that the above auto unboxing and boxing code were executed?

Read more ›



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 data back to the server to create a new record or to update an existing record. Step 1: Firstly,...



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 tool integrating several command-line JDK tools and lightweight profiling capabilities. Designed for both production and development time use, …...



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 is < 10 GB in multiple files. … Read more ›...



1 2

800+ Java Interview Q&As

Java & Big Data Tutorials

Top