Solved

PUSH the status of product on webpage, need high performance

Posted on 2008-10-18
4
255 Views
Last Modified: 2013-11-19
I'm creating a website offering users to view status of products, that can change every second (with about hundrets of products and even more listening users). It's important for user to know about the change how fast as possible so I thought about creating a persistent connection from Flash to a "unknown" server, that would PUSH status change to all listening clients when in happens.

Thing is that I have no idea of a server that is available, tested and offering a high performance. What I need is something like an IRC server - there must be separate rooms for single products so users listening would receive information only about watched ones. I don't mind how data would be PUSHed - this question is only about what server to use.

Do you have any experience with that kind of problem?
Thanks!
0
Comment
Question by:Lukasz Lach
  • 3
4 Comments
 
LVL 5

Author Comment

by:Lukasz Lach
ID: 22749172
points increased to 500
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 22749687
That is a lot of effort and expense to go to.  Why not simply refresh the pages every 3 minutes for the user?  This takes the load (and expense) off you, and spreads it among all user's browsers.  Sure there are page refreshes, but all you have to do us set your webserver to cache the pages for a short time.

In the head of each page, put this --  <meta http-equiv="refresh" content="180">

You can also use that same command to do a page redirect after so many seconds, if that is of help --
<meta http-equiv="refresh" content="300; url=http:www.yoursite.com/products">
0
 
LVL 5

Author Comment

by:Lukasz Lach
ID: 22751480
I am not to refresh the whole page, only the product's price and bidding users, sent by JSON or XML. The product page is static, cached as you mentioned. But because of the need to have these data updated at realtime i thought it is a bad idea to PULL then every second and insted - have them PUSHed via Flash socket.
The only problem is that I have no idea about the backend - server that will do the PUSH. I am watching ar IRC and XMPP servers, but don't know the topic and the best choice. Or maybe there is another, simple one, that will do the job?
0
 
LVL 5

Accepted Solution

by:
Lukasz Lach earned 0 total points
ID: 22751945
Ever used ActiveMQ? I see it fits my needs. Basicly ActiveMQ + authorization.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The viewer will learn how to dynamically set the form action using jQuery.

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now