CodeSnip: Implementing Asynchronous Remoting in .NET
page 2 of 4
by Abhishek Kumar Singh
Feedback
Average Rating: 
Views (Total / Last 10 Days): 3225/ 93

Synchronous and Asynchronous operation

Synchronous operation

It is a technique to process multiple threads (methods) at about the same time. It is processing in a particular way in which the execution start-up of the next process depends upon the execution completion of the previous process in the scheduled process list.

Asynchronous operation

In this technique, execution of a process or thread remains independent from other processes or threads which are set for asynchronous behavior.

For example, what if the computer schedules thread A and thread B to process in order within a single CPU environment. Say thread A has a very complex logic and takes 30 seconds to finish. In the synchronous operation, thread B has to wait for 30 seconds to get its turn. But if thread A has been implemented to run asynchronously then thread B will not require waiting for 30 seconds. B will get his turn in about 1 second. Yes, the fact behind this is that A will anyway take 30 seconds or may be more for its execution.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 2 and 8 and type the answer here:

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 12/3/2008 9:43:07 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search