apache / apache/activemq

Optimize statistics timestamps to reuse relevent message timestamps when possible

Open
#2,433 0 comments 0 reactions 1 assignee Claimed by @mattrpav View on GitHub
Dominant language
Java
Stars
2.5k
Forks
1.5k
Avg merge
10h 46m
Merged PRs (30d)
79

Description

Currently, every metric increment (or decrement) makes a system call to get a timestamp.

Many times, the statistic could re-use an existing timestamp (brokerInTime, brokerOutTime, etc). Updating the statistics to take in a timestamp as an argument would eliminate a significant number of system calls.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.