HighTechTalks DotNet Forums  

Enterprise Services component performance

Dotnet Framework (Component Services) microsoft.public.dotnet.framework.component_services


Discuss Enterprise Services component performance in the Dotnet Framework (Component Services) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Steve S
 
Posts: n/a

Default Enterprise Services component performance - 07-09-2003 , 07:52 PM






We are experiencing some real time delays (several seconds) when information
is transfered from a ES component to a GUI on the same computer....

The data type being sent is a DataSet that is approx 500K in size....

The class defination file starts like this:

Imports System.EnterpriseServices

<ComClass(IDOTNET.ClassId, IDOTNET.InterfaceId, IDOTNET.EventsId), _
EventTrackingEnabled(True)> _
Public Class IDOTNET
Inherits ServicedComponent


I know this isn't alot to go on...... BUT..... the performance really
takes a harder hit... as the number of records increases that gets returned
by functions within the object....


SUGGESTIONS ?

THANKS..... steve



Reply With Quote
  #2  
Old   
Jimmy Nilsson
 
Posts: n/a

Default Re: Enterprise Services component performance - 07-10-2003 , 11:29 AM






Hi Steve,

I'm afraid you have to expect a delay, moving such large datasets cross
machines. BTW, have you serialized the dataset to a file to see that it's
500K in size or is it an approximation? If it's just a guess, I wouldn't be
suprised if you find that it's much bigger in "reality".

Best Regards,
Jimmy
www.jnsk.se/weblog/
###
"Steve S" <beach_bum99 (AT) hotmail (DOT) com> wrote

Quote:
We are experiencing some real time delays (several seconds) when
information
is transfered from a ES component to a GUI on the same computer....

The data type being sent is a DataSet that is approx 500K in size....

The class defination file starts like this:

Imports System.EnterpriseServices

ComClass(IDOTNET.ClassId, IDOTNET.InterfaceId, IDOTNET.EventsId), _
EventTrackingEnabled(True)> _
Public Class IDOTNET
Inherits ServicedComponent


I know this isn't alot to go on...... BUT..... the performance really
takes a harder hit... as the number of records increases that gets
returned
by functions within the object....


SUGGESTIONS ?

THANKS..... steve





Reply With Quote
  #3  
Old   
Steve S.
 
Posts: n/a

Default Re: Enterprise Services component performance - 07-10-2003 , 04:23 PM



YES... we did spool it out to a file (XML) and without
all the tag stuff, we estimated the size properly... as
the size estimates were taken off a row count and total
space per row... (OK, so there is some portion of
overhead associated with the table defination as part of
the collections, that doesn't explain that much of a
delay).

We took this a little further... and began to drop out
the uncontrolables.... like network delays... and data
access.... We simulated a DataSet/DataTable and filled
it with data like we would get from our database.. and
got similiar results....... so now we can send this
example to anyone... who can then replicate the situation
on their computer...

We also took this to the other end of the extreme... and
made a SINGLE CELL TABLE.. with all the information in it
that normally would be in an entire table... and without
ANY surprises... it took almost NO time... to marshal
the data back to the GUI...

So our issue appears to be... our system is serializing
the information into ASCII vs sending it binary (in a
dataset)...

FYI.... I am very familiar with the amount of delays to
expect when designing N-Tier systems across several
boxs... in-proc... out-proc... Server applications vs
libraries... been there... done that...


I just haven't seen this type of behaviour before... as
the .NET stuff is totally new... and there is some
behaviour differences that is not expected...

CODE IS AVAILABLE TO REPLICATE THIS... ALONG WITH
INSTRUCTIONS....


Quote:
-----Original Message-----
Hi Steve,

I'm afraid you have to expect a delay, moving such large
datasets cross
machines. BTW, have you serialized the dataset to a file
to see that it's
500K in size or is it an approximation? If it's just a
guess, I wouldn't be
suprised if you find that it's much bigger in "reality".

Best Regards,
Jimmy
www.jnsk.se/weblog/
###
"Steve S" <beach_bum99 (AT) hotmail (DOT) com> wrote in message
news:#G#sOWnRDHA.3700 (AT) tk2msftngp13 (DOT) phx.gbl...
We are experiencing some real time delays (several
seconds) when
information
is transfered from a ES component to a GUI on the same
computer....

The data type being sent is a DataSet that is approx
500K in size....

The class defination file starts like this:

Imports System.EnterpriseServices

ComClass(IDOTNET.ClassId, IDOTNET.InterfaceId,
IDOTNET.EventsId), _
EventTrackingEnabled(True)> _
Public Class IDOTNET
Inherits ServicedComponent


I know this isn't alot to go on...... BUT..... the
performance really
takes a harder hit... as the number of records
increases that gets
returned
by functions within the object....


SUGGESTIONS ?

THANKS..... steve




.


Reply With Quote
  #4  
Old   
Jimmy Nilsson
 
Posts: n/a

Default Re: Enterprise Services component performance - 07-11-2003 , 05:52 PM



Hi Steve,

OK, I think I get the picture. It would be interesting to look at the repro,
but I'm having vacation for the moment. Just cheating for five minutes now.
;-)

But I'm sure someone else can take a look.

Best Regards,
Jimmy
www.jnsk.se/weblog/
###

"Steve S." <beach_bum99 (AT) hotmail (DOT) com> wrote

Quote:
YES... we did spool it out to a file (XML) and without
all the tag stuff, we estimated the size properly... as
the size estimates were taken off a row count and total
space per row... (OK, so there is some portion of
overhead associated with the table defination as part of
the collections, that doesn't explain that much of a
delay).

We took this a little further... and began to drop out
the uncontrolables.... like network delays... and data
access.... We simulated a DataSet/DataTable and filled
it with data like we would get from our database.. and
got similiar results....... so now we can send this
example to anyone... who can then replicate the situation
on their computer...

We also took this to the other end of the extreme... and
made a SINGLE CELL TABLE.. with all the information in it
that normally would be in an entire table... and without
ANY surprises... it took almost NO time... to marshal
the data back to the GUI...

So our issue appears to be... our system is serializing
the information into ASCII vs sending it binary (in a
dataset)...

FYI.... I am very familiar with the amount of delays to
expect when designing N-Tier systems across several
boxs... in-proc... out-proc... Server applications vs
libraries... been there... done that...


I just haven't seen this type of behaviour before... as
the .NET stuff is totally new... and there is some
behaviour differences that is not expected...

CODE IS AVAILABLE TO REPLICATE THIS... ALONG WITH
INSTRUCTIONS....


-----Original Message-----
Hi Steve,

I'm afraid you have to expect a delay, moving such large
datasets cross
machines. BTW, have you serialized the dataset to a file
to see that it's
500K in size or is it an approximation? If it's just a
guess, I wouldn't be
suprised if you find that it's much bigger in "reality".

Best Regards,
Jimmy
www.jnsk.se/weblog/
###
"Steve S" <beach_bum99 (AT) hotmail (DOT) com> wrote in message
news:#G#sOWnRDHA.3700 (AT) tk2msftngp13 (DOT) phx.gbl...
We are experiencing some real time delays (several
seconds) when
information
is transfered from a ES component to a GUI on the same
computer....

The data type being sent is a DataSet that is approx
500K in size....

The class defination file starts like this:

Imports System.EnterpriseServices

ComClass(IDOTNET.ClassId, IDOTNET.InterfaceId,
IDOTNET.EventsId), _
EventTrackingEnabled(True)> _
Public Class IDOTNET
Inherits ServicedComponent


I know this isn't alot to go on...... BUT..... the
performance really
takes a harder hit... as the number of records
increases that gets
returned
by functions within the object....


SUGGESTIONS ?

THANKS..... steve




.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.