COMET in Plone

67 %
33 %
Information about COMET in Plone

Published on February 11, 2008

Author: mrtopf

Source: slideshare.net

Description

COMET is an upcoming method for delivering real-time interaction to a website by using server-push technologies. At the Snow Sprint 2008 Jean-Nicolas Bes and Ramon Bartl worked on making COMET work for the Open Source CMS Plone.

This is their presentation from the final sprint summary.

Bringing Comet to Plone KSS + Eventpush A first quick and dirty approach dr_jnut & ramonski http://plone.org

• „Comet is a giant Hack“ - Jacob Rus • use mechanisms unforseen by browser Vendors and unspecified by web standards

Traditional Web Applications • Page-by-page web • Pages load on user request • No real time

AJAX Web Application • Updating parts of the page with JS • Closes each connection after a response is served • No real time

Ajax with polling • Browser polls regulary the server for updates. • Wastes server resources and bandwith. • No real real time • Trade-off between latency and server load

Comet Web Application • Sending data to the client without explicit request • Rely on persistent connection between server and client • REAL real time!!!

2 Strategies • Streaming - Single persistent connection • Long Polling - New request for each event - No response until an event occurs

„Forever Frame“ IFrame streaming approach • Gradually filled with script tags to be executed in the browser • Rendered incrementally, so each script tag is executed as it is received. • Can grow to an unreasonable size...

eventPush ClientSide HttpWizard Zope/Plone HTTP proxy eventPush iFrame /@@feeder

HttpWizard internals Proxy (rewrites URI) VirtualHost www.plone.org Backend Frontend eventPush VirtualHost www.plone.net

eventPush fileupload ClientSide HttpWizard Zope/Plone Upload iframe HTTP proxy eventPush iFrame /@@feeder

File upload in HttpWizard FileUpload hook 4. 3. 4. Proxy 2. (rewrites URI) 5. VirtualHost 1. www.plone.org Backend Frontend eventPush VirtualHost www.plone.net

DEMO Time

How will this evolve? • HTML 5 draft from WHATWG * • Introduces server-sent events • Much more straightforward • Avoids comet downsides * Web Hypertext Application Technology Working Group

Links • http://plone.org • Buildout: https://svn.plone.org/svn/collective/ plonekss/eventPush/buildout/trunk

Thanks to... • KSS guys (__gotcha, ree et al.) • Lovely systems • Berggasthof Piz-Buin • idSoftware (Q3 Rocketarena) • beer in all variants

Add a comment

Related presentations

Related pages

Comet 201P/LONEOS

Comet 201P/LONEOS: Instrument: Newtonian 200/580 f=2.8 : Camera: ATIK 314L+ Time: 23.12.2014 19:49:12 - 20:01:46 UT : Location: Holzgerlingen : Remarks:
Read more

What is COMET? (technical) - mrtopf.demrtopf.de

What is COMET? (technical) ... They use Plone’s AJAX framework KSS for it and use twisted as the actual server handling the Comet connections ...
Read more

ComET — Site - NRCFOSS

ComET is SEARCH enabled Database of Polling Station level communication contact points for focused tracking on the poll day. ... Plone ® and the Plone ...
Read more

babble.client 1.1 : Python Package Index

It consists of babble.client for the Plone front-end and babble.server ... Server-push options such as Comet, could be considered in the future, ...
Read more

COMMISSION ETHIQUE Compte-rendu de la réunion du 23 juin 2004

CR ComEt 23-06-04 Author: smasr Created Date: 5/8/2007 10:10:52 PM ...
Read more

Comet ISON — Gheens Science Hall & Rauch Planetarium

An image of comet ISON taken by Hubble ... Address. Gheens Science Hall & Rauch Planetarium. 106 W Brandeis Ave. Louisville, KY, 40292
Read more

COMET — Planet Erde

COMET erstellt von huenken — zuletzt verändert: 05.07.2012 07:47 Projekt: COMET Kontrollfaktoren der Methanflüsse und ihre Klimarelevanz in ...
Read more