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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:01:22+00:00 2026-05-20T22:01:22+00:00

I am looking for some inputs and advise, I think i know what i

  • 0

I am looking for some inputs and advise, I think i know what i want, but i would like to reconfirm before going ahead.

I stumbled across MarketWatch.com and i see some articles on that web site with some stocks listed in different regions of the page and they are ticking up or down with live information as each second passes by.

Now I think there are few ways to achieve that ( I might be wrong with my assumption, but i am looking for to be corrected.)

The easiest way would be to call Jquery Ajax:Post function and then with result using jquery selector tag update all the stock ticks on the page, and assuming that i would like to seperate out the logic and traverse dom and update the stock quotes in respective regions.

Now this Jquery function have to do a post every 2 seconds or say 5 seconds till the page is closed by the user,
Frankly i am not liking the fact that every 2 seconds i am pinging the server or service that contains the updates of stocks and manipulating Dom again (I dont think i could get away with this manipulation in my other work around as well).

I think another workaround by avoiding Jquery and then writing Server Side listener that does reverse callbacks to client browser using AynchPattern could be a way to implement it.
But i am not sure how to do this. I know in old COM/DCOM says there were concepts of Stubs/proxy callback mechanism and then i think same also exist in .Net,
But i want to know and learn more about how to bypass(from Browser –> to Server approach) and adopt (Server —> to browser approach)

Please not that I am using .Net , C# on a windows platform. I know that Node.js could do that on Linux.

Any help and links to small examples would be appreciated.

Thanks

Sweety

  • 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-20T22:01:22+00:00Added an answer on May 20, 2026 at 10:01 pm

    Take a look at the socket.io client implementation and how it does long polling. This may be the solution you’re looking for. Note that this may cause the little loading spinner to always be active for your users, not sure if this is true though.

    /fyi #node.js IRC welcomes you: http://bit.ly/nodeIRC

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

Sidebar

Related Questions

Looking through some code I came across the following code trTuDocPackTypdBd.update(TrTuDocPackTypeDto.class.cast(packDto)); and I'd like
Jeffrey Richter is looking for some input on how people are using his PowerThreading
I'm looking for some input on how to implement custom eventhandling in jquery the
I was looking into sorting tables by a column designated given some input, and
I'm looking for some suggestions on how to go about this. Any input is
I'm looking for an algorithm that rotates an image by some degrees (input). public
Looking for some direction here as I'm running into some migration problems. We have
Looking for some help with a Labview data collection program. If I could collect
Looking for some sample code (C#) for a simple thread pool implementation. I found
Looking at some code I'm maintaining in System Verilog I see some signals that

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.