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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T01:00:53+00:00 2026-05-12T01:00:53+00:00

We want to time how long certain actions run for in an ASP.NET MVC

  • 0

We want to time how long certain actions run for in an ASP.NET MVC application. We’re using ActionFilters to start and stop a timer each time a contoller action is invoked. The result is a small dataset a bit like this:

{
   ContollerName: 'Account',
   ActionName: 'Index',
   ExecutionDuration: 287,
   TimeRecorded: '2009-07-02 17:34:54'
}

We want to beam this data off to a Web service so that we can collect and later analyse it. For example, we could find out that Account/Index is the slowest action in the application.

The thing is, if we’re getting 1,000 requests per second, making 1,000 service calls per second isn’t very clever; it will harm application performance.

Is there any way of doing buffered service calls? Or are there any libraries out there for doing this? Or is our architecture all wrong!?

Thoughts appreciated.

  • 1 1 Answer
  • 1 View
  • 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-12T01:00:53+00:00Added an answer on May 12, 2026 at 1:00 am

    I don’t usually just link answers to questions here, but the guy at whiletrue.com did a really good job of profiling MVC here. His slide show covers just about everything he did to set it up.

    http://blog.whiletrue.com/2009/04/aspnet-mvc-performance/

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

Sidebar

Related Questions

I want to measure time memory allocation using this code: long AForMemory = DateTime.Now.Ticks;
Long-time joelonsoftware follower, 1st-time stackoverflow poster. I want to know how safely I can
I built a site a long time ago and now I want to place
This is an issue I've been having for a long time. I want to
I have an application, where most of the actions take some time and I
So here is my goal, I want to get how long ago a certain
e.g. I want the time difference between asia/kolkata time and asia/dubai .
In my activity there is a toggle button. I want every time you change
I want get the time used for a case so I can create an
I want to display time on my page in real tics format like running

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.