Answered by:
Shall I use threading

Question
-
Hi,
I am building a windows service which would use different data pumps to load the data in database. Now theses data pumps have different sources and while inserting data they refer to same database tables, stored procedures multiple times.
Is it good idea to have these pumps in different threads?
- Edited by AskQuestion01 Wednesday, December 28, 2011 3:32 PM
- Moved by Vicky SongMicrosoft employee Wednesday, January 4, 2012 7:08 AM (From:.NET Framework Setup)
Wednesday, December 28, 2011 3:29 PM
Answers
-
you can use multithreading to dump the data. if you use threading it will improve performance of your application.
but you have to take care about Data Integrity and duplcaiton of data.
regards
nil
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, March 27, 2012 3:40 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Monday, April 9, 2012 3:55 PM
Wednesday, December 28, 2011 5:05 PM -
You are asking a developer question in a forum dedicated to .NET Framework installation and setup.
There are several forums where you can get good suggestions from expert devs.
The forum dedicated to data apps is here:
http://social.msdn.microsoft.com/Forums/en-US/vstsdb/threads
Other dev forums are categorized by language.
For VB: http://social.msdn.microsoft.com/Forums/en-US/category/visualbasic
For C#: http://social.msdn.microsoft.com/Forums/en-US/category/visualcsharp
For C++: http://social.msdn.microsoft.com/Forums/en-US/category/visualc
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, March 27, 2012 3:40 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Monday, April 9, 2012 3:55 PM
Wednesday, December 28, 2011 7:08 PM
All replies
-
you can use multithreading to dump the data. if you use threading it will improve performance of your application.
but you have to take care about Data Integrity and duplcaiton of data.
regards
nil
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, March 27, 2012 3:40 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Monday, April 9, 2012 3:55 PM
Wednesday, December 28, 2011 5:05 PM -
You are asking a developer question in a forum dedicated to .NET Framework installation and setup.
There are several forums where you can get good suggestions from expert devs.
The forum dedicated to data apps is here:
http://social.msdn.microsoft.com/Forums/en-US/vstsdb/threads
Other dev forums are categorized by language.
For VB: http://social.msdn.microsoft.com/Forums/en-US/category/visualbasic
For C#: http://social.msdn.microsoft.com/Forums/en-US/category/visualcsharp
For C++: http://social.msdn.microsoft.com/Forums/en-US/category/visualc
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, March 27, 2012 3:40 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Monday, April 9, 2012 3:55 PM
Wednesday, December 28, 2011 7:08 PM