Multithreded UI desktop application issues
        Posted  
        
            by 
                igor
            
        on Programmers
        
        See other posts from Programmers
        
            or by igor
        
        
        
        Published on 2011-01-12T10:14:26Z
        Indexed on 
            2011/01/12
            10:58 UTC
        
        
        Read the original article
        Hit count: 507
        
I am involved into development a rich UI project: desktop windows application. Application uses asynchronous invocations and in its turn it should be ready to process external messages (events). The problem is clear: at first time it was built as a simple prototype and it was not stress tested and all was fine. Then application was grown: the number of calls to server and number of events from server are high and performance is low. What is more users noticed that sometimes performance is extremal low. Asynchronous invocations based on thread pool (BeginInvoke, EndInvoke), external events are going from WCF service (.NET 3.5). My goal is synchronization of all tasks and putting priorities to every executions in desktop application. My question is: is there any practice how to reach my goal: patterns, task priority list, others? What should I do at first, second and next times?
Thanks
© Programmers or respective owner