473,387 Members | 1,353 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Enterprise Library - Logging performances

Udi
Hi All,
I'm developping an application that has a very strong logging
requirement -
we should be able to log up to 5000 messages per second, most of them
are reletively small -(16 - 30 Words) while few of them might get to
1Kb in size. The data is binary (numbers) that should be converted to
text of course.

I'm affraid of a "logging-bottleneck" in my app.

Do you know if the entlib can/can't handle this kind of thruput?
Do you think I should use asynch logging (MSMQ?) ?
Do you have any other suggestions/recommendations for me?
I'd appreciate it if you could share any experience you had with the
logging application block with similar requirements.

Thanks!
Udi.

Apr 3 '06 #1
3 2050
that is an awesome logging requirement. awesome as in it "inspires awe."

i don't know that there is a bottleneck in the existing logging
libraries, you'll need to performance test in your environment for that,
but based on experience i've had in the past, you're probably going to
need a logging server.

i'm very interested to see what your results are. if you could, and if
you're going to do performance testing, please let me (or the group)
know what your results are, and how you tested.

in particular i'd love to know just how much you could log to the
network, as well as how much you could log to disk and still keep a
useful system.

thanks.

Udi wrote:
Hi All,
I'm developping an application that has a very strong logging
requirement -
we should be able to log up to 5000 messages per second, most of them
are reletively small -(16 - 30 Words) while few of them might get to
1Kb in size. The data is binary (numbers) that should be converted to
text of course.

I'm affraid of a "logging-bottleneck" in my app.

Do you know if the entlib can/can't handle this kind of thruput?
Do you think I should use asynch logging (MSMQ?) ?
Do you have any other suggestions/recommendations for me?
I'd appreciate it if you could share any experience you had with the
logging application block with similar requirements.

Thanks!
Udi.

Apr 3 '06 #2
I should also mention that I've personally performance tested some
pretty incredible data generation systems, to see just how long it takes
to read and write data from a disk on my desktop.

video games and their load times have given people the completely wrong
impression of disk performance on Windows machines. I was able to write
out 100Mb of data to disk in under two seconds, and read it all into
memory in less than one.

based on this, if your logging application bottlenecks you, I would
consider writing a custom lightweight function or class to do your
logging. You desktop or server should certainly be able to handle 5000
1k messages per second.

but as i said before, I personally do not know anything of any built-in
logging system in C#, what its performance would be, and I would be very
interested in finding your results.

jeremiah

Udi wrote:
Hi All,
I'm developping an application that has a very strong logging
requirement -
we should be able to log up to 5000 messages per second, most of them
are reletively small -(16 - 30 Words) while few of them might get to
1Kb in size. The data is binary (numbers) that should be converted to
text of course.

I'm affraid of a "logging-bottleneck" in my app.

Do you know if the entlib can/can't handle this kind of thruput?
Do you think I should use asynch logging (MSMQ?) ?
Do you have any other suggestions/recommendations for me?
I'd appreciate it if you could share any experience you had with the
logging application block with similar requirements.

Thanks!
Udi.

Apr 3 '06 #3

The Enterprise Library gives you the flexibility to write your own
Logging.

I'd consider that,.. and write a custom logger .. and consider hooking
that into MSMQ.

It all depends. If you're writing out txt files (a new one for each
event) and the files are small, then I wouldn't go to the hassle of
msmq.

If there is anything which needs more then 100ms of time (Just a number
I pulled out of the air), then I'd look at MSMQ.

...

I have one custom logger , that creates a new txt file for each unique
IP address..AND each hour.

192_168_100_101_04_10_2006_11_AM_HR.txt

something like that. I write entries in there.

Then I go and read them, and put them into a db at a later time.
I do this specfically to not incur the db penalty... as I'm trying to
uber max out my scaleability.

But .. on antoher project, I log stuff right to the db(). Its a
decision you need to make after weighing everything.


Udi wrote:
Hi All,
I'm developping an application that has a very strong logging
requirement -
we should be able to log up to 5000 messages per second, most of them
are reletively small -(16 - 30 Words) while few of them might get to
1Kb in size. The data is binary (numbers) that should be converted to
text of course.

I'm affraid of a "logging-bottleneck" in my app.

Do you know if the entlib can/can't handle this kind of thruput?
Do you think I should use asynch logging (MSMQ?) ?
Do you have any other suggestions/recommendations for me?
I'd appreciate it if you could share any experience you had with the
logging application block with similar requirements.

Thanks!
Udi.


Apr 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ollie Riches | last post by:
I am trying to use asynchronous logging using MSMQ and I have configured the properties as defined in the help (see below) I don't understand where the property 'MsmqPath' is in the app.config for...
0
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't...
1
by: David Herbst | last post by:
Enterprise Library Jan 2006 with Visual Studio 2005 on Windows 2000 Server sp4. My custom exception formatter fails with a "Unable to handle exception: 'LoggingExceptionHandler'." exception. ...
0
by: Eniac | last post by:
Hello, I've started using Enterprise Library 2.0 recently and I've encountered a problem that seems to be ... well... undocumented :) Basically, when I set a Trace Listener (formatted event...
1
by: sreedharv | last post by:
Log4Net vs Enterprise Library - Logging Application Block Please list or point to the comparison. My requirements are: - 50 to 70 web servers - Track Machine name - Extract class / method...
2
by: Anup Daware | last post by:
Hi Group, Can somebody tell me where I can find the internals of Logging application block 2.0/3.0. I need answers for the questions like: What best practices have followed in the...
0
by: =?Utf-8?B?YW5rMmdv?= | last post by:
Hi, Thanks in advance for reading this. Not sure where to post this question, but I hope someone in here can help. Trying to write to Event Log in VS 2005 (.NET 2.0) using Enterprise Library...
0
by: =?Utf-8?B?U2hyaWthbnQgTW9yZQ==?= | last post by:
Using enterprise library's 3.1 Logging Application Block , how can i get the custom source name in the windows event log.When ever i am logging an error in windows event log , it gives the source...
0
by: srizzler | last post by:
Hi All: I am trying to implement Exception Handling using Enterprise Library 3.1's Exception Handling Application Block as well as Logging Blocks. I have a windows application developed in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.