YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Searching PointList for point by name with C# Options · View
zfima
#1 Posted : Wednesday, January 18, 2012 3:10:03 PM
Rank: Advanced Member

Groups: Member

Joined: 11/13/2011
Posts: 77
Location: Middle East
Hello
I placed in my blog some information about searching with .NET Parallel library. Hope, it will do some optimization in your code.
Searching PointList for point by name with C#
Good luck!
Sponsor  
 

OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System.
We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ  or contact OSIsoft vCampus for more details.
mrmot
#2 Posted : Thursday, January 19, 2012 10:04:36 AM
Rank: Newbie
Groups: Member

Joined: 6/5/2009
Posts: 4
Location: Serbia
Why would you store 80K points in memory? Snapshot? Try to use PIAPI for snapshot by point number, takes less memory and it is much faster.
80K points takes around 160MB.
Why not to use _piServer.GetPoints(_tagNameFilter) when retrieving POINT, it only takes less than a second on 100K points, instead of 1 minute+ ??
zfima
#3 Posted : Thursday, January 19, 2012 11:22:03 AM
Rank: Advanced Member

Groups: Member

Joined: 11/13/2011
Posts: 77
Location: Middle East
mrmot wrote:
Why would you store 80K points in memory? Snapshot? Try to use PIAPI for snapshot by point number, takes less memory and it is much faster.
80K points takes around 160MB.
Why not to use _piServer.GetPoints(_tagNameFilter) when retrieving POINT, it only takes less than a second on 100K points, instead of 1 minute+ ??


Actually, meaning of blog post was how to search some data structure container with Parallel .NET library
Thanks

P.S i added some fixes at the end of blog post
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.