Alexandre Bourget explains how he uses gevent + socketio to add functionality +to a Pyramid application at http://blog.abourget.net/2011/3/17/new-and-hot-part-4-pyramid-socket-io-gevent/
http://michael.merickel.org/2011/6/21/tictactoe-and-long-polling-with-pyramid/
https://github.com/mmerickel/tictactoe
For more information on gevent see the gevent home page