We have a messaging system where low latency is crucial. I recently discovered that although we maintain a high level in our system, we see some "outliers." (Messages that take a lot longer than they should) When we unregister, our systems do not show any of these outliers.
Right now, our logging is basically just a wrapped stream with some logging level features similar to log4j (debug, fatal, debug, etc.).
I was wondering what others are doing to control the effectiveness of logging, especially in message processing? How do you control these related I / O actions? Do you rinse it? Are you moving to databases?
Any recommendations for optimizing logging are welcome.
Note. I understand that in our system there may be other problems causing outliers, but for this issue I am only interested in optimizing logging, thanks.
Also: registration is required for our system.
source share