Solved

PUSH the status of product on webpage, need high performance

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

757 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

21 Experts available now in Live!

Get 1:1 Help Now