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

  • Home
  • SEARCH
  • 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 8226915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:56:27+00:00 2026-06-07T15:56:27+00:00

My team is writing a windows service which needs to poll data from a

  • 0

My team is writing a windows service which needs to poll data from a 3rd party system (the 3rd party system provides a web service which we use).
The process will look something like this:
1. Call the 3rd party WS
2. Save the recieved raw data to our DB
3. Process the raw data
4. Save the processed data to our DB
5. Repeat

The team agrees that we actually have 2 different logical operations:
1. Getting and saving the raw data
2. Processing the raw data and saving the results

We are trying to decide which of the following design options is better:
Option 1: Perform both operation on the same windows service, each operation on it’s own thread
Option 2: Perform the first operation on the windows service, and async/one-way call a wcf service for the second operation

In your opinion, which option is better?
if you have another alternative you think is better, please share it.

Thanks.

  • 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-06-07T15:56:29+00:00Added an answer on June 7, 2026 at 3:56 pm

    According to your comment, I would say that you have a thread that once a second polls the 3rd party service and starts two tasks.

    Task 1 would store the raw data to database.
    Task 2 would process the raw data and store the result in database.

    If the polling thread retrieves 1000 entries it should poll again without delay.

    You can either use System.Threading.ThreadPool or System.Threading.Tasks.Task.

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

Sidebar

Related Questions

Greetings, I've taken over from a prior team and writing ETL jobs which process
Our team is currently working on a large project which makes heavy use of
Our team would like to use NLog for our logging needs - it does
My team is writing a content-managed web-hosting application in ASP.Net MVC 2 with the
Recently I participated in designing & writing of an application which my team was
I'm writing an application that needs to connect to the Team Foundation Server, and
One of our team is working on an ASMX service. The service use to
I'm writing a document of programming guidelines for my developers team. I use MS
I am writing a console app that parses JSON data from an outside source.
My team's current project involves re-writing retrieval libraries in JavaScript. We are basically looking

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.