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 6391247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:38:55+00:00 2026-05-25T03:38:55+00:00

I have an application that takes a bunch of data and processes it in

  • 0

I have an application that takes a bunch of data and processes it in a series of cycles that are very time consuming. The finished result should be accessible via an HTTP API. I decided to create a core library that does the processing, and an ASP.NET application that starts the processes on new threads. The core library spawns 4 threads which process objects from queues.

However, this turns out to be significantly slower than just running the processing in a simple console application. In my console application, the processing takes about 13-20 seconds per loop, averaging at about 17 seconds, in my ASP.NET application, the processing takes 13-350 (yes three hundred and fifty) seconds, averaging at about 45 seconds. The times for each loop varies wildly in my ASP.NET application.

Is there any obvious performance hit using the ASP.NET framework that I have missed? I have disabled recycling and there are few requests being served while processing, if any. Does this have something to do with threading or garbage collection? I’m suspecting the latter since most loops run fast enough, while some are extremely slow which destroys my total processing time.

Should I move away from ASP.NET and try to implement an HTTP-listener in my Console app instead, or remodel it into a windows service? Any ideas?

  • 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-25T03:38:55+00:00Added an answer on May 25, 2026 at 3:38 am

    An ASP.NET application will obviously always perform slower than Console app.

    Reasons:

    1. Overhead of HTTP Protocol.

    2. Large memory usage by ASP.NET Framework DLL’s

    3. Limited threads controlled by ASP.NET itself.

    You can build up using a WCF service which will be called by your application.

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

Sidebar

Related Questions

I have a Java application that's very String-heavy - it takes a feed of
I have a WPF (.Net 3.5 sp1) application that loads a bunch of data
I have an application that takes the quality results for a manufacturing process and
I have an application that takes some input and generates configuration files as output.
I have an application that takes a couple of seconds to run. Is it
I have a custom routing application that takes information for a route from google
If I have a 3 layer web forms application that takes user input, I
I have an application with a REST style interface that takes XML documents via
We have a web application that produces reports. Data are taken from a database.
Right now I have an application that loads a bunch of thumbnail images into

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.