Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 507619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:49:23+00:00 2026-05-13T06:49:23+00:00

I am wanting to write some web services using WCF. I would like to

  • 0

I am wanting to write some web services using WCF.

I would like to have a “thread pool” in my web service.
For example, I have nearly 6gb of data I need to manipulate.

I would like the client to call an operation on the webservice and have a new task or thread created. The client is able to call a ListRunningTasks(); and have the webservice return a list of tasks. The client should be able to forcefully kill a task if it is taking too long e.g. KillTask(int taskID); or something. I have previously done some threading, but not inside WCF or a service that doesn’t have state. Is this possible? If so, how would one go about implementing such a thing? Any reading, links or suggestions would be great.

Thanks, Mike.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:49:24+00:00Added an answer on May 13, 2026 at 6:49 am

    One possible solution:

    • Implement explicit queues for your outstanding tasks taking into consideration that they take that long (20-30mins as you wrote).

    • Build a custom component to manage those queues e.g. you might even want capabilities to persist them, resume work when you restart the service etc.

    • Have explicitly created worker threads that pickup work from those queues.

    • Implement a WCF service to make your queue manager available to external systems.

    Thread pools are more designed to process a high volume of short-running tasks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to write some JSON every 5th second. I'm using Jackson to
I have a WCF web service that uses ASP.NET session state. WCF sets a
I'm wanting to write a virtual keyboard, like windows onscreen keyboard for touchscreen pcs.
I am wanting to write a C# service which runs on my server and
I have been using the ZipPackage-class in .NET for some time and I really
I would like to prevent direct url access to some selected directories. But then
I find myself often wanting to write Python list comprehensions like this: nearbyPoints =
I am wanting to write some cross-platform library code. I am creating a library
I have a windows application that will write some information to Track1 and Track2
I have an MVC3 C#.Net web app. I am looping through a DataTable. Some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.