[Yield-users] imitating the 'socket' module
Status: Beta
Brought to you by:
felix_h
From: Phoenix S. <ph...@bu...> - 2008-04-15 19:35:03
|
Hello, I just found Yield, and I'm very excited about it. Thank-you so much for sharing it! The interest that brought me to it is this: high performance async socket operations in Stackless. I used Richard Tew's stacklesssocket.py for a while, and was mostly pleased with it. I really like the monkeypatch approach, because it allows you to use any code that imports the socket module. Looking for higher performance for a project I'm working on, I decided to try the same approach using pyevent. So far I've been disappointed in the performance gained, and I'm not very confident in pyevent because it's unmaintained and depends on an old version of libevent. So looking around, I found Yield. I'm already pretty determined to develop my project with Yield, but at this point I'm still not sure if I can use existing code that depends on a 'socket' module. I'm just getting started studying Yield, and would appreciate any advice on where to look / how to go about building a module that imitates the standard 'socket' module (ssl being very important), so that I can use code built on the standard libraries: httplib, urllib(2), etc. Thanks a heap! -- Phoenix Sol 541-646-8612 130 'A' Street, Suite 6 Ashland, Oregon 97520 |