Jython Journeys

Notes about my work with jython and python

Archive for the ‘asynchronous’ tag

Socket shutdown versus socket close on cpython, jython and java.

with 2 comments

So, here we are again with translating cpython socket semantics to java socket semantics, in order to correctly implement the cpython socket API on jython.

The latest issue is socket shutdown.
Read the rest of this entry »

Written by alan.kennedy

January 29th, 2009 at 6:16 pm

Posted in jython

Tagged with , ,

Twisted and Zope: high performance asynchronous network servers in jython.

without comments

I’m tremendously excited this week; it looks like the work I did on supporting asynchronous sockets and select in jython has paid off.

Read the rest of this entry »

Written by alan.kennedy

September 15th, 2008 at 7:10 pm

Posted in jython

Tagged with , ,

Asynchronous networking for jython: Overview

without comments

Over the Christmas holidays in 2003, I wrote a design for how Asynchronous Socket I/O might be implemented in jython, using java.nio. I wrote up some notes in HTML, and placed them on a group of pages on xhaus.com. These notes were the basis of the design which I later used to implement asynchronous I/O for jython sockets, which is now a part of the jython distribution.

Although these notes are now out-of-date, having been surpassed by the actual implementation itself, I am publishing them here for historical purposes. The notes are broken down into four main areas.

  1. Overview
  2. Socket module
  3. Select module
  4. Asyncore module

For documentation on how to use the jython’s asynchronous socket I/O, see the documentation for the socket, select, asyncore, and asynchat modules.

Read the rest of this entry »

Written by alan.kennedy

December 26th, 2003 at 9:30 pm

Posted in jython

Tagged with , ,

Asynchronous networking for jython: the socket module

without comments

Over the Christmas holidays in 2003, I wrote a design for how Asynchronous Socket I/O might be implemented in jython, using java.nio. I wrote up some notes in HTML, and placed them on a group of pages on xhaus.com. These notes were the basis of the design which I later used to implement asynchronous I/O for jython sockets, which is now a part of the jython distribution.

Although these notes are now out-of-date, having been surpassed by the actual implementation itself, I am publishing them here for historical purposes. The notes are broken down into four main areas.

  1. Overview
  2. Socket module
  3. Select module
  4. Asyncore module

For documentation on how to use the jython’s asynchronous socket I/O, see the documentation for the socket, select, asyncore, and asynchat modules.

Read the rest of this entry »

Written by alan.kennedy

December 26th, 2003 at 9:10 pm

Posted in jython

Tagged with , ,

Asynchronous networking for jython: the select module

without comments

Over the Christmas holidays in 2003, I wrote a design for how Asynchronous Socket I/O might be implemented in jython, using java.nio. I wrote up some notes in HTML, and placed them on a group of pages on xhaus.com. These notes were the basis of the design which I later used to implement asynchronous I/O for jython sockets, which is now a part of the jython distribution.

Although these notes are now out-of-date, having been surpassed by the actual implementation itself, I am publishing them here for historical purposes. The notes are broken down into four main areas.

  1. Overview
  2. Socket module
  3. Select module
  4. Asyncore module

For documentation on how to use the jython’s asynchronous socket I/O, see the documentation for the socket, select, asyncore, and asynchat modules.

Read the rest of this entry »

Written by alan.kennedy

December 26th, 2003 at 9:05 pm

Posted in jython

Tagged with , ,

Asynchronous networking for jython: the asyncore module

without comments

Over the Christmas holidays in 2003, I wrote a design for how Asynchronous Socket I/O might be implemented in jython, using java.nio. I wrote up some notes in HTML, and placed them on a group of pages on xhaus.com. These notes were the basis of the design which I later used to implement asynchronous I/O for jython sockets, which is now a part of the jython distribution.

Although these notes are now out-of-date, having been surpassed by the actual implementation itself, I am publishing them here for historical purposes. The notes are broken down into four main areas.

  1. Overview
  2. Socket module
  3. Select module
  4. Asyncore module

For documentation on how to use the jython’s asynchronous socket I/O, see the documentation for the socket, select, asyncore, and asynchat modules.

Read the rest of this entry »

Written by alan.kennedy

December 26th, 2003 at 9:00 pm

Posted in jython

Tagged with , ,