dbTalk Databases Forums  

.Net Uniobjects File Open Speed problems

comp.databases.pick comp.databases.pick


Discuss .Net Uniobjects File Open Speed problems in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
niall.twomey@ie.flextronics.com
 
Posts: n/a

Default .Net Uniobjects File Open Speed problems - 05-24-2005 , 10:30 AM






I'm upgrading from Uniobjects to UO.NET but and have found one major
speed problem when opening Universe files on the backend server

In Uniobjects
Session.OpenFile(FileName)

In Uniobjects .Net
Session.CreateUniFile(FileName)

Session.CreateUnifile is much much slower than Session.Openfile.
Has anyone else experienced this, Is there a workaround to this ?

Thanks
Niall


Reply With Quote
  #2  
Old   
pzsysa
 
Posts: n/a

Default Re: .Net Uniobjects File Open Speed problems - 05-24-2005 , 11:52 PM








The only issue with speed I experienced was because of wrong versions:

Must be UV 10.1.5 (not exactly sure of this) or later and Clients 10.1


Reply With Quote
  #3  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: .Net Uniobjects File Open Speed problems - 05-25-2005 , 04:11 AM



Considering there is no session pooling mechanism, every time you
connect to the back end you have to go through the login process,
which is a very expensive process time-wise. If you're sure the issue
is specifically with opening a file after you've already gone through
the connection, then I apologize that I have nothing of value to
offer.

I'm not too familiar with the internals here but it seems to me that
UO.NET is really just a PInvoke wrapper around unmanaged UO, so you
just have an extra layer to go through, which may explain a small
extra delay.

Note that PDP.NET and mv.NET do have session pooling, so most
operations are much faster.

Please feel free to contact me about sales and development services
for these products.

Good luck,
Tony
TG@ removethisNebula-RnD
..com

niall.twomey (AT) ie (DOT) flextronics.com wrote:

Quote:
I'm upgrading from Uniobjects to UO.NET but and have found one major
speed problem when opening Universe files on the backend server

In Uniobjects
Session.OpenFile(FileName)

In Uniobjects .Net
Session.CreateUniFile(FileName)

Session.CreateUnifile is much much slower than Session.Openfile.
Has anyone else experienced this, Is there a workaround to this ?

Thanks
Niall


Reply With Quote
  #4  
Old   
niall.twomey@ie.flextronics.com
 
Posts: n/a

Default Re: .Net Uniobjects File Open Speed problems - 05-25-2005 , 09:53 AM



Thanks
I'll check out if there is any issue with versions
Rgrds
Niall


Reply With Quote
  #5  
Old   
niall.twomey@ie.flextronics.com
 
Posts: n/a

Default Re: .Net Uniobjects File Open Speed problems - 05-26-2005 , 05:27 AM



Hi Tony
The problem is after opening a session, it seem specifally to be
related to file opening
Thanks anyway
Niall


Reply With Quote
Reply




Thread Tools
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.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.