Java Application Troubleshooting the Sherlock Holmes Way

DZone

Troubleshoot your Java application, the Sherlock Holmes way. Java application failure troubleshooting can be closely associated with the typical crime scene investigation. You may also like: Troubleshooting Java Applications With Arthas.

Java 163

Measuring Performance of Your Methods Using JMH in Java

DZone

Measure Java performance! From JDK-12 onwards, the JDK comes with JMH (Java Microbenchmark Harness), It is a toolkit that helps you implement Java microbenchmarks correctly. jvm jdk java 1.8

Java 130

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Performance Tuning Java Applications in Linux

DZone

Learn how to make your Java applications performance perfectly. In this blog post, we shall go over various aspects that have to be taken care of to extract maximum performance out of a Java Application running on Linux. Ensure there is enough RAM to hold your java process.

Tuning 141

How to Boost Redis With Local Caching in Java

DZone

You may also like: Java-Distributed Caching in Redis. Redis developers who want to do local caching in Java will find that Redis doesn’t support this functionality out of the box. java tutorial performance redis cache spring cacheBoost Redis.

Cache 194

How to Tune Garbage Collection in Java

DZone

These pauses are sometimes called Stop-The-World pauses, and the minimization of them is the primary concern of GC tuning, as they can have a huge impact on the performance of a Java application. java tutorial performance garbage collection java performance tuning gc garbage collector heapGarbage collection is the mechanism by which the JVM reclaims memory on behalf of the application when it's no longer needed.

Tuning 218

Java Performance: For-Looping vs. Streaming

DZone

How well does your Java perform? performance jvm streaming java performance iteration data stream for loop graal vm cleverIteration Performance. There are many views on how to iterate with high performance.

Java 153

How Java Profilers Work

DZone

One of the best tools we have today for understanding application behavior and troubleshooting performance issues are Java profilers. Java profilers monitor JVM execution at the bytecode level and can provide information on thread execution and locks, heap memory usage, garbage collection, hot methods, exceptions, class loading, and more. How Java Profilers Work. java performance java performance app performance profilers java profilers

Java 100

Rocket Performance on Your Java Application with Memcached

DZone

To install RavenDB using Docker follows the step below: java nosql performance memcached jakarta ee jakarta jnosqlMemcached is an easy-to-use, high-performance, in-memory data store.

Java 219

Java 9 Performance Improvements — Getting Started With Java Spring

DZone

In my previous article, I wrote about the Modularity System , which was introduced in Java 9. With this writing, I would like to continue the Java evolution line by taking a glance about the main Java 9 features according to the performance improvements. Java 9 Feature: Performance Improvements. In Java 9, the most significant performance upgrade was concerned with the Garbage Collection. java performance java 9 garbage collector new features

Java 100

Multi-Threaded Geo Web Crawler In Java

DZone

The implementation is in core Java. Mowglee is a multi-threaded geo web crawler in Java. This article provides the implementation of a web crawling system called Mowglee that uses geography as the main classifying criteria for crawling.

Java 205

Top 5 JUnit and Unit Testing Courses for Java Programmers

DZone

You may already know that JUnit and Mockito are two of the most popular testing libraries for Java applications, and you will find them in almost every Java application classpath. I often meet and work with Java developers who know Java well but haven't written a single unit test. java performance testing tdd unit testing junit online courses mockito unit tests java for beginners

Java 159

Remote Debugging Java Applications With JDWP

DZone

Most Java developers have had to debug their applications, usually to find and fix an issue there. This is where JDWP (Java Debug Wire Protocol) comes into play. java performance jvm debugging remote debugging jdwp

Java 130

Java Unit Testing Best Practices: How to Get the Most Out of Your Test Automation

DZone

Generally, a unit should be a small part of the application — in Java, it is often a single class. java performance testing unit testing best practices testing pyramid testing best practicesUnit testing is a well-known practice, but there's lots of room for improvement!

Java Performance Tools: Nine Types of Tools You Need to Know!

DZone

Something to test Java's performance. java performance apm tracing rum java profiler jvm performance web requestsManaging an application’s performance, and specifically keeping it in good condition, is one of the hardest challenges in software development.

Java 141

Addressing Application Performances in Java Applications

DZone

java tips and tricks performance best practicesWhile solving issues related to NFRs (especially application performance), I always think about why we as developers give less importance (honorable exceptions are always there) to performance. Is this due to a lack of awareness? Many times, we start thinking of performance only at the time of a performance test or after deployment.

Java 100

Performance Analysis of ArrayList and LinkedList in Java

DZone

ArrayList and LinkedList are frequently used classes in the Java collection framework. java performance array linkedlist arraylist interview answers performance analysisIf you know only understand basic performance comparisons of ArrayList and LinkedList , but not the minor details of these two classes, then this article is for you. " ArrayList should be used where more search operations are required, and.

Java 109

Java Or Scala Performance – Which One Is Better?

Alex Podelko

For years, the debate has raged on regarding which programming language is better, Java or Scala. While some argue that just because Java is older it is better, others believe Scala is better for a variety of reasons. The Java program language was first introduced in 1995.

Java 130

Increase Throughput by Eliminating Blocking Code in Your Java REST App

DZone

java performance jvm blocking profiler tool blocking codeBlocking code is code which blocks executing threads until their operations finish.

Code 164

Top 9 Free Java Process Monitoring Tools and How to Choose One

DZone

What Are Java Profilers? A Java Profiler is a tool that monitors Java bytecode constructs and operations at the JVM level. java open source performance monitoring jvm process java performance process monitoringTo help equip you for the ongoing process of optimization and the life of debugging ahead of you, we’ve gathered a list of the best tools to monitor the JVM in both development and production environments. And the best part?

'High-Performance Java Persistence' Chapter 8: Why JPA and Hibernate Matter

DZone

This chapter aims to remind the reader why Hibernate has its place in high-performance data access, and the table of content looks like this: java performance hibernate jpa java persistenceSecond Part, Chapter 8. Now that the first part of my book is published, it’s time to focus on the second part, which covers both JPA and Hibernate.

Java 100

Java vulnerabilities

Sutter's Mill

From the post: Are the Java vulnerabilities actually C and C++ vulnerabilities? You’ve probably seen the headlines: [US-CERT] Java in Web Browser: Disable Now! We’ve been telling people to disable Java for years. … This should be enough motivation for you to turn Java off.

Java 52

Tricks with Direct Memory Access in Java

Highly Scalable

Java was initially designed as a safe, managed environment. Nevertheless, Java HotSpot VM contains a “backdoor” that provides a number of low-level operations to manipulate memory and threads directly. HotSpot JVM direct memory management heap hot spot hotspot java jdk7 jv

Java 131

Interview-Ready Snippets of Code for Thread Life Cycle States

DZone

Read on to find out some Java technical interview questions! Almost any Java technical interview contains several questions covering Java concurrency topics. java performance interview concurrency thread thread life

Code 141

Java Package Flame Graph

Brendan Gregg

But with Java, there's another way to visualize the same CPU workload which provides some additional insight: **a Java package flame graph**. Instead of visualizing the stack trace hierarchy, this visualizes the Java package name hierarchy. Here is a normal stack trace-based [CPU flame graph] for Java, running a microbenchmark ( SVG ): The y-axis is stack depth. How much CPU time was in java/util methods directly, excluding child functions calls?

Java 40

Log4j Bug — Slows Down Your Application

DZone

java java 8 spring framework glassfish technology and tools troubleshoot azure cloud saas application development thread dump thread memoryLearn how to troubleshoot your application. Recently we were troubleshooting a popular SaaS application.

TCP: Out of Memory — Consider Tuning TCP_Mem

DZone

You may also like: Java Out of Memory Heap Analysis. The application was running on a GNU/Linux OS, Java 8, Tomcat 8 application server. performance api memory cpu java (programming lang. java (software What happens when you're out of memory?

Tuning 193

Servlet 3.0 Async Support in Spring and Performance Misconceptions

DZone

Spring makes it easy to write Java applications. Spring Boot allows us to quickly create Spring applications: build and run a Java application server with embedded Tomcat and your own controller in less than 5 minutes.

2019 Top Slack Channels for Software Testers

DZone

java performance software testing selenium slack appium java script robot framework collabaoration

Memory Wasted by Spring Boot Application

DZone

java performance spring boot memory environment springbootapplication analyzing memory memory wasted stress testSpring chickens and spring boots! One of the widely wasted resources in the world today is Memory.

RSocket vs. gRPC Benchmark

DZone

java performance scalability latency cpu grpc rpc qpsAlmost every time I present RSocket to an audience, there will be someone asking the question: "How does RSocket compare to gRPC?" " Today we are going to find out.

20 Highly Qualified Test Automation Superstars

DZone

Our world-class expert instructors provide free test automation training in multiple programming languages such as Java, JavaScript, C#, Python, Ruby, and Swift. java javascript python performance c# test automation developers automated testing qa

Which Programming Language Is Most Popular for UI Test Automation in 2019?

DZone

java javascript ruby python c# test automation programming languages ui testingWhich language do you use for test automation? There is always a lot of uncertainty around which programming language to use when starting a new test automation project.

Testing Asynchronous Operations in Spring With JUnit and Byteman

DZone

performance spring java (programming lang. Learn more about JUnit and Byteman! Testing asynchronous operations might cause some troubles and usually requires few challenges and also code changes (even in production code).

Code 141

High-Performance Persistence With MicroStream (Part Three)

DZone

java microservices persistence high performance microstreamLearn how to keep your apps performing! For some time, there has been a new competitor in the field of persistence and serialization. We are talking about Project MicroStream. What is it exactly?

Testing Code With REST Calls Made Easy

DZone

java server performance spring rest http junit mocking frameworksIntroduction. These days, our code frequently has to reach out to a remote server as part of its job, usually consuming an API or some other service. Frequently, our code communicates with these remote services in a RESTful manner.

Code 182

How to Publish Spring Boot Actuator Metrics to Dynatrace

DZone

java tutorial performance spring boot dynatrace micrometer spring actuator metrics monitoringLearn more about publishing Spring boot actuator metrics! The metrics generated by the Spring Boot Actuator module of Spring Boot can be easily published to a Dynatrace cloud instance.

Better Logging With TinyLog 2

DZone

Most, if not all, Java and Android developers have come across logging requirements in their application. java performance kotlin logging logging frameworks tinylog

How to Unit Test Classes Which Create New Objects

DZone

java tutorial unit testing mockito oops mock stub test double mockito agileLearn how to conduct effective unit tests.

Why Do We Need the Volatile Keyword?

DZone

java performance java concurrency happens before jcstress volatile fieldWhat fascinates me most about the volatile keyword is that it is still necessary, for me, because my software still runs on a silicon chip. Even if my application runs in the cloud on the JVM, despite all of those software layers abstracting away the underlying hardware, the volatile keyword is still needed due to the cache of the processor that my software runs on.

Cache 130

Custom Framework Listeners

DZone

java performance maven logging gradle java performance cucumber testng custom framework listenersIn my past articles, I’ve written about using custom listeners as part of getting the desired reporting or making your tests do what you want.

An Overview of JavaScript Testing in 2019

DZone

performance javascript tutorials java script javascript tutorial javascript debugging javascript best practice javascript testing javascript trends javascript courses onlineFind out more about JavaScript testing!

PostgreSQL Trends: Most Popular Cloud Providers, Languages, VACUUM, Query Management Strategies & Deployment Types in Enterprise

Scalegrid

The supported programming languages for PostgreSQL include.Net, C, C++, Delphi, Java, JavaScript (Node.js), Perl, PHP, Python and Tcl, but PostgreSQL can support many server-side procedural languages through its available extensions. We found that Java is the most popular programming language for PostgreSQL, being leveraged by 31.1% Java #Python #C Click To Tweet. PostgreSQL popularity is skyrocketing in the enterprise space.

Cloud 128

How Does JVM Handle Polymorphism Internally

DZone

java performance polymorphism method overloading method overridingHow does JVM handle Polymorphism. You may also like: Everything About Method Overloading vs. Method Overriding.

Java 130