-
March 11th, 2008, 02:16 AM
#3
help me, CPU of client too high
yes, I used "StockListDemo"
I tested on client with info
Windows 2003
IE 7
No toolbar or addon
-------------------------
I modified StockListDemo (C# 2005) => remove class ExternalFeedProducer (cause if each small class that create 1 connection to database or read file => use more resource of server, so I keep only ExternalFeedProducer )
and set main loop in class ExternalFeedSimulator
ExternalFeedSimulator => 2 threads
1 thread GetData => select data from database => add to queue
1 thread Run => main loop => wait item in queue => objListener.OnEvent ...
When I closed IE,it suspend long time like the first time I load page
maybe the connection to database in progress?
When close IE, Unsubscribe event occurs ?
have a other way to reduce CPU usage in client?
thanks a lot!
Similar Threads
-
By pmthiagu in forum Adapter SDKs
Replies: 3
Last Post: April 15th, 2010, 09:58 AM
-
By spganesh in forum Client SDKs
Replies: 1
Last Post: February 10th, 2010, 10:23 AM
-
By lizsedley in forum Adapter SDKs
Replies: 1
Last Post: September 21st, 2009, 01:32 PM
-
By ITS in forum Client SDKs
Replies: 1
Last Post: April 14th, 2009, 10:07 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:16 PM.
Bookmarks