?
Solved

PUSH the status of product on webpage, need high performance

Posted on 2008-10-18
4
Medium Priority
?
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
The viewer will learn how to count occurrences of each item in an array.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 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