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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:58:00+00:00 2026-05-31T10:58:00+00:00

I’ve been looking around some say I need to make a pooling timer solution

  • 0

I’ve been looking around some say I need to make a pooling timer solution of sorts. in a ajax enviroment. it sounds good but I don’t want to make a new request every 1-5 seconds, just to be sure to have the latest updated data on the page.
so I’ve heard something about signalR, but it sounds overly complicated to implement, I guess mostly cause it’s unknown teritory for me.
I’ve also read something about silverlight being able to help to this endevor.

Case is simple I got a chart populated with database values, now this database some days change every second, other times it wont hold any new data for hours. I want to be able to just display current live Data.

I’m using MVC 3 with Razor engine, mssql database, and a IIS express 7.5.

my options outside of this enviroment is very limited.

it’s going to be used internally in this company only. there will be between 10-50 places accessing the page.
my concern is not to overload the company servers and network with unnessesary load.

Thanks in advance for any answers.

I want a discussion of technoligies and I wish to find the least invasive and fast/easiest development time on this solution .

  • 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-31T10:58:02+00:00Added an answer on May 31, 2026 at 10:58 am

    As you have determined, you can periodically poll using AJAX to see if you need to refresh. If that doesn’t sound good, you could try a COMET approach, which involves opening a request that both the client and server keep open, until the server has a message. At that time, it would send a message with whatever instructions you wish (like reload this page) and end the connection, where the client script would then do something with that message. A practical example of that is how Facebook handles notifications. The net result is your server experiences less traffic, and users experience a magical “instant” response at the client. On the other hand, this approach requires proper construction and tuning on the server and in your application, as keeping lots of connections open can create problems.

    There are some ASP.NET modules for implementing a COMET solution (and Signalr sounds like one of such solutions), but I wonder why the polling option is so bad if you’re only using it on the intranet. You don’t necessarily have to poll in several independent areas in your client; you could have one notifier (this is all in JS, mind you) which takes subscriptions from other components, who submit specifics on what things they want you to check on. Then poll once over AJAX to some MVC action with a message containing all relevant subscriptions. I don’t imagine that being a big network buster, as I have an application that does that on a pretty fairly large scale.

    On the server side, your action would parse that message into jobs, check on each one as requested, and send a response message, if there’s anything to do. Then your client notifier receives the message and sends the results to any subscribers if there’s anything to do (a trivial example: refresh the page, or more appropriately, refresh a section of the page that has changes… you can use JavaScript- preferably through jQuery- to replace the contents of an element with HTML retrieved from your MVC action to change the contents).

    It may sound complicated, but it’s not really, particularly in comparison to managing a COMET solution, and you can do it with off-the-shelf technology.

    The Silverlight technique you mentioned sounds like using a WCF duplex service contract using a dual HTTP binding, which would allow the server to initiate requests to the client. It’s certainly an option, as you could have a Silverlight notifier app, similar to what I mentioned earlier, sitting in your page, taking in subscribers, and receiving push messages from the server. I’ve not had a chance to implement a duplex service in an actual application, so I don’t know how practical it is in a production environment.

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I need to write an AS3 program to search for a certain keyword in
In my XML file chapters tag has more chapter tag.i need to display chapters
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but
I need a function that will clean a strings' special characters. I do NOT

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.