Solved

PUSH the status of product on webpage, need high performance

Posted on 2008-10-18
4
286 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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

691 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