Getting 'Push' to Scale Is in the Cards


Kaazing creates platform for asynchronous request processing


Email    print   
August 29, 2007 —  If an online poker tournament next month works as it is supposed to, then—“ka-zing!"—Jonas Jacobi might just begin to cash out.

Jacobi is the founder and CEO of a company called Kaazing, which is creating a specification for pushing information in real time from a server to a client, without requests.

"The ability to push information from a server to a client has been around [for] about 10 years, but it can't scale because you need to keep each connection open," Jacobi said. "Currently, a Web client will request information every two seconds, or five seconds. That puts a burden on the server side, if 50,000 people want it at the same time."

The key to scaling server-client communication, Jacobi explained, is asynchronous request processing, which allows one thread to be shared among many connections, rather than providing a thread for each connection. "With [asynchronous request processing], the user initiates one request when he navigates to the page. If there's no information available, there is no communication between the server and client. No threads need to be kept open. When something happens, the server broadcasts it out simultaneously." A subscribe mechanism allows data to be pushed out on one thread, but all subscribers to that thread will see the message, Jacobi explained.

I’ll See Your Hand
Jacobi said the poker tournament, which will be launched at AJAXWorld in Santa Clara at the end of September, is a proof of concept. Every player will be able to see his opponents' face cards as they are dealt, and then see and respond to every wager, Jacobi said, without having to wait for a server to respond to the request. When the next cards are dealt, the images are simply broadcast to all players at the same time. Jacobi indicated this type of solution has applications for viewing sports online, or a transit authority keeping track of buses or trains, or in financial markets, where data is updated often and quickly.

Kaazing's commercial offering will be known as Enterprise Comet, and it's based on the open source Comet technology for enabling real-time messaging from a Web server to one or more browsers. It uses Java APIs for JMS, and EJB for business logic and queuing, and then a JVM that resides in a Java container such as Apache Tomcat, Sun's Project Glassfish or codehaus.org’s Project Jetty. For the poker project, Jacobi said Kaazing is partnering with Terracotta, because that company's JVM clustering environment will scale enough to meet the project’s requirements.

For developers working on real-time solutions, Jacobi said the learning curve will be low, because it's just Java. "The development environment and model don't change. At the end of the day, you're deploying to a Java container. There's no arbitrary language or XML framework. It's not like going from Java to Flash."





Share this link: http://sdt.bz/31064
 
Most Read Latest News Blog Resources

Add comment


Name*
Email*  
Country     


  • Comment
Loading




close
NEXT ARTICLE
Zeichick’s Take: Cutting waste by getting lean, but without getting mean
Lean software development is a great way to boost efficiency, but be sure you know where you want to trim the fat Read More...
 
 
 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 

Download Current Issue
FEBRUARY 2012 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?


 
blogs tab
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
02/09/2012 02:16 PM EST

Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
02/07/2012 11:57 AM EST

RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
02/04/2012 01:57 PM EST

GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
02/03/2012 12:17 PM EST

Facebook claims hacker cred
Facebook's SEC S-1 filing form includes a short essay on the Hacker Way by Mark Zuckerberg himself.
02/02/2012 08:26 AM EST

Ryan Dahl steps down
Ryan Dahl, creator of Node.js, steps back from his position as gatekeeper for the project.
02/01/2012 04:58 PM EST

 
Events calendar tab
2/13/2012 to 2/16/2012
Santa Clara
TechWeb

2/26/2012 to 2/29/2012
San Francisco
BZ Media

2/27/2012 to 3/2/2012
San Francisco
RSA

3/4/2012 to 3/7/2012
Las Vegas
IBM Tivoli

3/5/2012 to 3/9/2012
San Francisco
TechWeb