Skip to content

Huseyin BABAL's Blog

Articles about Java, Go, Microservices, Cloud, Distributed Systems

  • Home
  • About Me
  • My Talks

Tag: concurrency

How to Avoid Deadlocks in Java

In the previous article, we talked about how deadlocks occur in Java while working in a multi-threaded environment. Now, we will see how to prevent deadlocks by explaining a couple of corner cases. Avoid Nested Locks In the previous article, we showed an example for deadlock, and it contains nested locks as follows. ... Thread … Continue reading How to Avoid Deadlocks in Java →

Huseyin BABAL Java Leave a comment August 6, 2022August 6, 2022 3 Minutes

Java Thread Dump Analysis

Once upon a time, you were on-call within your team schedule and your phone started to ring at midnight... You thought "What the hell is this number?" then you accepted the call. The machine started talking to you, "The CPU of Payment Service is 99 percent right now, and somebody should take an action. To … Continue reading Java Thread Dump Analysis →

Huseyin BABAL Java 4 Comments July 23, 2022July 22, 2022 7 Minutes
Blog at WordPress.com.
  • Follow Following
    • Huseyin BABAL's Blog
    • Already have a WordPress.com account? Log in now.
    • Huseyin BABAL's Blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...