How can I make EIF not slow down my request time?
From: Cedric B (cedricb_at_youcanthaveit.com)
Date: 04/20/04
- Previous message: Stig De Feyter: "RE: How to access the current EventSource through Remoting"
- Next in thread: Shmulik Primes: "Re: How can I make EIF not slow down my request time?"
- Reply: Shmulik Primes: "Re: How can I make EIF not slow down my request time?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Apr 2004 03:37:23 -0400
The concept of EIF is a great concept, and its ease of use is outstanding.
However, I am concerned about its performance. Maybe I am doing someting
very wrong, hopefully someone can help me out.
I have an Nunit Test Class, a Business Facade Assembly, a Business Entities
assembly, and a DAL assembly. All are running on the same thread, in the
same context, on the same machine.
My unit test creates 3 business entities, passes them to the facade, which
validates them, and invokes the DAL to save the records to SQL Server.
Since the unit test revolves around "Creating a New Reservation", I cannot
think of a better place for Request Tracing. I added trace hooks into my
facade. In my method, I have 1 line of code that looks like this:
Dim src As EventSource = New RequestEventSource("New Reservation", "This
event interacts with the facade and the DAL to create a new reservation")
Which takes my execution time from 1.3 seconds to almost 7.3 seconds. I
also have all tracing turned off in my configuration file.
What could be causing this to execute so slowly? Is this simply to be
expected?
Any thoughts would be completely appreciated.
- Previous message: Stig De Feyter: "RE: How to access the current EventSource through Remoting"
- Next in thread: Shmulik Primes: "Re: How can I make EIF not slow down my request time?"
- Reply: Shmulik Primes: "Re: How can I make EIF not slow down my request time?"
- Messages sorted by: [ date ] [ thread ]