Blog Archives

01: 13 Java low latency interview questions & answers

Have you seen job advertisements requiring Java candidates to work in low latency, high throughput, real-time and distributed systems with share-nothing architectures? Wondering what questions you will be asked? If you are an experienced Java developer targeting high paying skills then it pays to get a good handle on Java low latency interview questions & answers.

You will be quizzed on the low latency application you had recently worked on especially the outcomes in terms of the latencies, response times, and throughput along with the challenges you faced.

Q1. What do you understand by the term latency?…

Tags:

02: 15 key considerations for low latency Java applications

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. JMeter), profile…

Tags:

03: Java GC tuning for low latency applications

This assumes that you have read the basics on Java GC at Java Garbage Collection interview Q&A to ascertain your depth of Java knowledge. This is a must know topic for those who like to work on low latency applications. Q1. In what ways does GC impact latency and throughput…



03: Understanding Big O notations with Java

Q1.  Have  you seen job advertisements requiring Java candidates to work in real-time or high volume transaction processing systems? A1.  If you are applying for such jobs, you can be quizzed on Big O notation. Here are some basics to brush up on. Big O gives you the upper bound. For example,…



04: Java primitives & objects memory consumption

Q1. How much memory space does a primitive type int occupy in Java? A1. 4 bytes. Q2. Java objects get stored in the heap memory space, but how about the primitive variables? A2. It depends. 1) Primitives defined locally would be on the stack.



06: Capture throughput & latencies with “Metrics Core” tutorial

“Metrics Core” is a very handy framework to gather insights & tune performance of high-throughput and low-latency services. Here is a very simple core Java multi-threaded application that gathers metrics with this library. Step 1: Create a maven project Press enter for all prompts to use the default values.



07: Reactive Programming or Reactor pattern (RP) in Java Interview Q&As

Q1. Explain “pull” vs “push” paradigms (aka imperative/interactive vs reactive) with respect to processing data in programming? A1. Interactive/imperative Programming (Pull): is all about asking for something and getting it in return. One common pattern in this world is the iterator pattern, which loops through and pull data out of…



1. Asynchronous processing in Java real life examples – part-1

The scenario based questions are very popular with the job interviewers, and some scenario based questions are related to decoupling and asynchronous (aka non-blocking) processing in Java with message queues/topics, database tables where one process inserts data and another process consumes the inserted data, and Future objects in Java multi-threading….



2. Asynchronous processing in Java real life examples – part-2

Extends: 1. Asynchronous processing in Java real life examples – part-1. Example 3: Trade execution reports are received & processed asynchronously If you are working in an online trading application, you may want the functionality to queue trades and process them when the stock market opens. You also asynchronously receive…



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. GC) occur? When does…



300+ Java & Big Data FAQs - Quick Prep

Java & Big Data Tutorials

Top