[Zope-dev] WebSockets API

Wolfgang Schnerring ws at gocept.com
Tue Nov 27 08:04:11 UTC 2012


Hi,

* Alex Leach <albl500 at york.ac.uk> [2012-11-25 20:00]:
> I was wondering if anyone has implemented a WebSockets server API using the 
> zope toolkit? I've just submitted a blueprint on Launchpad 
> (https://blueprints.launchpad.net/zopetoolkit-project/+spec/websockets-api), 
> but thought it might be quicker and easier to discuss how one could do this 
> here.

I'm not too familiar with WebSocket internals, but one thing that stuck
with me is that you'll need to keep *lots* of open connections, which is
only feasible with an eventloop-based server (which zope.server, for
one, isn't).

Apart from that, I'm not sure what features remain, and where a proper
home in the ZTK world would be.

At our company we've scheduled a project to integrate WebSockets into a large
Zope3-based application for early next year, so we'll definitely will be
doing *something* in that space -- we just don't know what, yet. ;)

What functionality did you have in mind that the ZTK might grow?

Wolfgang

-- 
Wolfgang Schnerring · ws at gocept.com · Software development
gocept gmbh & co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany
http://gocept.com · Tel +49 345 219401-0
Python, Pyramid, Plone, Zope · consulting, development, hosting, operations



More information about the Zope-Dev mailing list