Blog Archives

02: ♥♦ 13 Tips to write low latency applications in Java

Extends Writing low latency applications in Java Q&A. Tip #1: Use a RTSJ (Real Time Specification for Java ) JVM.  IBM, Oracle, and other smaller vendors have implemented this, but it comes at a cost. Oracle’s JavaRT, IBM’s real-time WebSpere, and aicas JamaicaVM to name a few popular ones. In

Read more ›

Posted in FAQs Java Key Areas, Java Architect Interview Q&A, Judging Experience Interview Q&A, Low Latency, Performance, Scalability
Tags:

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? A2. Because of “javap“. “SumNumbers” is the class file

Read more ›

Posted in Memory Management, Performance

Processing large files efficiently in Java – part 2

Processing large files efficiently in Java – part 1 covered different ways to read a large file. This post extends that to include some processing logic in addition to reading a file using Java 8 stream. This can be applied to files that can be split. For example, CSV files.

Read more ›

Posted in IO, Performance

Processing large files efficiently in Java – part 1

Q1. What are the key considerations in processing large files? A1. Before jumping into coding, get the requirements. #1. Processing a file involves reading from the disk, processing, and writing back to the disk. It is also a trade off in terms of what is more important to you like

Read more ›

Posted in IO, Memory Management, Performance
Tags:

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 Service client or other valuable clients invoking valuable resources like database connections, transaction management, etc waits for a response after sending a

Read more ›

Posted in Performance, QoS, Security

♦ 01: 30+ Writing low latency applications in Java interview Q&As

Have you seen job advertisements requiring Java candidates to work in real-time, low latency, and high throughput systems? Wondering what questions you will be asked? 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…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in FAQs Java Key Areas, Java Architect Interview Q&A, Judging Experience Interview Q&A, Low Latency, member-paid, Performance, Scalability

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…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in Collection and Data structures, member-paid, Memory Management, Performance

♥ JMeter for testing RESTFul web services by posting JSON data and how to use BeanShell

We looked at “JMeter Performance testing Interview Q&A” covered in a Q&A and tutorial style. This is a brief extension 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

Read more ›

Posted in JMeter, JMeter Tutorial, Performance, Performance Testing Q&A
Page 1 of 212

800+ Interview Q&As ♥Free|♦FAQ (Mouse Hover for Full Text)

open all | close all

200+ Java FAQs – Memory Joggers

open all | close all

16 Java Key Areas to be a top-notch

open all | close all

80+ Java Tutorials – Step by step

open all | close all

100+ Java Coding Exercises

open all | close all

How good are your "Career Skills"?

open all | close all