Thread Safe High Performance Capped Queue

added by corneto
1/30/2012 8:49:10 AM

4 Kicks, 305 Views

Lately I was busy creating a new infrastructure for our logging system. I work on OpenBook - a website that gets a lot of traffic and involves with many different business processes. I started logging errors, info data and more with the excellent log4net to files, but has the logs got bigger and longer it became almost impossible to track it. We also use several IIS servers behind a load – balancer, and the result is a lot of logs on many different servers.


1 comments

vijayst
1/30/2012 10:32:10 AM
Having an in-memory queue for logs provides good performance. This is very useful for a webfarm application that logs to a central repository.