Live web page

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Live web page

Post by Vegan »

I was wondering, Yahoo's finance has live stock quotes so I guess there is some action running with the page to ask the server for updated quotes and post them in the appropriate spot.

Is this a complicated project to bring up?

I can get a stock ticker and feed the data to database then the page can ask the database periodically for updated price information as it comes in.

Given all of the world's stock exchanges I can see several databases in use for server tables. I do not see a big problem with 20 data streams outside a lot of bandwidth to keep up.

I assume PHP can cope with multiple servers as needed for load distribution.
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Live web page

Post by Christopher »

Use Javascript to ask for updated stock quote data on a timed interval. And yes, PHP can be used on multiple servers -- see database sessions and memcached.
(#10850)
Post Reply