News for hackers. Stuff that matters.

odygrd

Re:Nanolog supports logging with 7 ns median latency on Monday August 26, 2024 @01:11PM (#41359315)
spdlog is designed as a general purpose logging library and it can’t beat low latency loggers. It doesn’t scale for multiple threads because it’s async mode is using a mutex and a cv to notify the background thread.

You can find some logging libraries benchmarks here https://github.com/odygrd/quill?tab=readme-ov-file#-performa...

Re:Nanolog supports logging with 7 ns median latency on Monday August 26, 2024 @12:59PM (#41359189)
7. https://github.com/odygrd/quill

More modern than nanolog and also type safe supporting any type

Re:Quill Low Latency Logging Library C++17 on Monday June 03, 2024 @01:09PM (#40564751)
Quill is a cross-platform, asynchronous C++17 logging library I've been developing for a few years, with a strong focus on low latency.

I'm more than happy to offer support and welcome any suggestions for improvement. Feel free to check it out if you're interested!

Quill – An asynchronous low latency logging library (C++14)

After having written an asynchronous logging library from scratch at least four times, I am happy to share my project with the community.The main motivation behind the project was that I wanted to achieve as low latency as possible on each caller thread. At the same time I wanted a type safe API and to be able to watch the log file in real time. Non of the existing open source logging libraries...

( Read More... | no comments | on HN )