Jump to content

Recommended Posts

Posted

I just built a windows*service which will be "ticking" on a server. The aim for it is to handle a couple of different tasks. One of them is to check*some folders containing XML files, read them and process them ( sending to a website -> msmq ->*business app*)

 

Say, if I have 100 files in different folders :

 

Should I just get a list of these files in an ArrayList and do a loop or should I use threads?

 

If using threads... should I create a work thread to get(find) and process each file or should I loop in my ArrayList and assign a work thread for each file to process?

 

Thanks*in advance.

 

More...

 

View All Our Microsft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...