Deadlocks in enterprise systems: sources, impact, tackling

Day 1 / 17:00  / Track 5  / Язык: RU

Goal: to share an experience of deadlock tackling in enterprise 24x7 solutions.

Problem: multi-component enterprise system owns the bigger risk of deadlock than standalone application. Recommendations that work for simple unitary applications aren't always efficient for enterprise ones. So complete deadlock protection is not possible in such complex environments.

Solution: we will discuss how to detect deadlocks, minimize impact and prevent outages. Based on examples of own experience in mass service telecom and finance solutions.

  • Synchronization in Java: where deadlock comes from. Types of deadlocks: recursive, mutual, circuitous.
  • Basic rules to avoid deadlock: lock hierarchy, foreign code prevention.
  • Why deadlocks are unavoidable in corporate applications: variety of resources, a lot of foreign code, dynamic scenarios violating lock hierarchy.
  • Avoiding deadlocks by reducing usage of 'synchronized': 'volatile', nonblocking algorithms, 'java.util.concurrent' etc.
  • Detecting deadlocked threads and objects in corporate application: alive requests, update counters, heartbeats.
  • Testing approaches to detect deadlocks: proper automation with realistic/stochastic profile.
  • Conclusion. Examples from telecom and finance mass service platforms with 24x7 SLA and thousands of requests per second. Developed by me and my teams, obviously.


Sviatoslav Stumpf

Sviatoslav Stumpf, Crossover (GFI)

20 years in IT. Main specialty — mass customer care and selfcare solutions. Technical basis — Java-stack. Professional experience - software development and design, project and team management, complex analysis "business + technic". Worked with various paradigms and frameworks, classic soviet waterfall to modern agile. As for now, he is managing development teams in extra-distributed model, using performance-based productivity chain management. Second activity line is a numerical simulation and computer-aided modelling for laser applications, investigations of few-cycle laser pulses with optical fibers. Currently Svyatoslaf is working in GFI Software (security systems, corporate applications). Scientific affiliation — ITMO University, Saint-Petersburg.


Contacts

program@jokerconf.com
Программа конференции
program@jokerconf.com
sponsors@jokerconf.com
Спонсоры
sponsors@jokerconf.com
partners@jokerconf.com
Партнеры
partners@jokerconf.com