Troubleshooting Blocked Threads On ServiceNow MID Server

This comprehensive guide addresses troubleshooting of JVM blocked threads on ServiceNow servers. It covers the causes and simulation of blocked threads, offering solutions for analysis and diagnosis. The guide also demonstrates the MID server setup on AWS and provides essential insights for efficient resolution processes.

Spring Boot Buggy APIs – Simulate performance problems

The Spring Boot Buggy API is an open-source tool for simulating various performance issues like memory leaks and CPU spikes in applications. By testing these scenarios, developers can assess system resilience and evaluate performance monitoring tools. It allows easy invocation of specific problems to analyze system behavior and improve software robustness.

Java SpringBoot – Performance Analysis and Tuning

SpringBoot is a widely used framework for building Java-based web applications and maintains a significant presence in the world of enterprise software development. It powers large-scale microservices and standalone applications. Most SpringBoot applications have embedded web servers and follow a distributed architecture consisting of three main types of application components: Backend: API services Backend: Event... Continue Reading →

Simulating & troubleshooting BLOCKED threads in Scala

This article discusses making threads enter the BLOCKED state in Scala due to lock acquisition failures. A sample program demonstrates how ten threads contend for a synchronized method, resulting in nine being blocked. It outlines manual and automated approaches for diagnosing BLOCKED threads, emphasizing the use of the yCrash tool for analysis and root cause identification.

Simulating & troubleshooting BLOCKED threads in Kotlin 

This article explores how threads enter a BLOCKED state in Kotlin due to lock contention. It includes a sample program demonstrating how ten threads can be blocked when accessing a synchronized method that forces them into prolonged sleep. Additionally, it discusses methods for diagnosing blocked threads, including both manual and automated approaches using tools like yCrash.

Chaos Engineering – Blocked Threads

This article discusses simulating thread BLOCKED states in chaos engineering using a sample program from BuggyApp. It describes how threads are blocked when attempting to acquire a lock on a synchronized method still held by another thread. It also explains diagnosing blocked threads through manual and automated approaches, including using tools like yCrash for analysis.

Chaos Engineering – Deadlock

The article discusses deadlock in multi-threaded applications, defining it as a situation where processes are blocked, each waiting for a resource held by another. It provides an analogy using trains on a shared track that can't proceed due to overlapping resource needs. Sample Java code illustrates deadlock, while troubleshooting methods are described.

Up ↑