Skip to content

quarkiverse/quarkus-business-score

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quarkus Business Score

Version

This extension offers a convenient way to detect application zombies, i.e. applications that live/communicate but do not produce any business value. "business value" means anything that helps to solve a problem of an application user. For example storing orders, serving content or performing computational tasks. Infrastructure stuff (logs, stats, metrics, health checks) usually does not produce a business value.

The concepts

In a nutshell, the extension manages the business score which is a numeric representation of the business value. An application emits score records to increase the business score, either directly with the BusinessScore API or with an interceptor binding. The records are only kept for the specific amount of time - time window. The sum of all score records in the current time window is the current business score. The zombie threshold defines the point at which the application is considered a zombie. An external system or the application itself can periodically check the business score and react appropriately.