New Posts New Posts RSS Feed: Multi Threading
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Multi Threading

 Post Reply Post Reply
Author
GregD View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 374
Post Options Post Options   Quote GregD Quote  Post ReplyReply Direct Link To This Post Topic: Multi Threading
    Posted: 20-Feb-2009 at 11:31am
Originally posted by *Calsy

Hi All, Ive been reading the DevForce Developers Guide and am currently looking at the section on threading. The section keeps on saying when you shouldnt use threading. Just wondering what are the situations where multi threading should be used and will have the biggest advantages (over asynching)?

Thanks


Between async queries and async remote method calls (made using aPersistManager.InvokeServerMethodAsync()), you can cover quite a chunk of the use cases that might otherwise motivate you to do your own multi-threading.  I suppose any time-consuming process that you can't address satisfactorily with either of those facilities, and which has a sufficient impact on your application's performance to make it worth your while to delve into multithreading, would be a candidate.

We had at least one customer, for example, who needed to do saves of sufficient complexity and volume that they felt they needed an asynchronous save. It does raise issues (of recovering client-side if the asynchronous save fails) but they wanted it anyway.
Back to Top
*Calsy View Drop Down
Groupie
Groupie


Joined: 02-Feb-2009
Location: Australia
Posts: 69
Post Options Post Options   Quote *Calsy Quote  Post ReplyReply Direct Link To This Post Posted: 18-Feb-2009 at 3:31pm
Hi All, Ive been reading the DevForce Developers Guide and am currently looking at the section on threading. The section keeps on saying when you shouldnt use threading. Just wondering what are the situations where multi threading should be used and will have the biggest advantages (over asynching)?

Thanks
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down