You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
February 13, 2013 Tailing Celery Task Output to a Browser Using gevent-socketio and Redis Pub/Sub While working on a project at work I wanted to add a feature that displayed the output of a long running task in the browser in near real-time. This features was inspired by travis-ci.org. If you're unfamiliar with Travis, the browser client displays the build log output as it is happening. After some
Reading on websockets the other day I ended in this article about websockets and vnc and it draw my attention immediately over the showmethedesktop project. Now, given my interest on async servers and my recent interest on their implementation on python along with the rustiness of my perl I decided to try a reimplementation on async python as a way to introduce me to the gevent framework. First im
先日、一生懸命、twistedを使ってWebSocketのデモを作ってみたわけですが「twistedなんて疲れるし、ナウでヤングな人はgeventだよ!」と今年の4月に、おおたにさんが書いているのを見つけてしまって、すっかりショック。 Twisted教は面白いのですが、疲れるのも事実です。…… jbkingより「ナウでヤングな若者はgeventだ(意訳)」と教えてもらって、 http://blog.liris.org/2010/04/gevent.html 時代は変わっていたみたいです。 なので、ナウでヤングなgeventで、さらにナウでヤングなWebSocketチャットをやってみました。 geventを使おう geventとは、コルーチンベースのネットワークライブラリ。 libeventライブラリのイベントループに対してハイレベルな同期APIを提供するために、Stackless Py
Greeさんの最高です!会場ありがとうございました。 node.jsのハカソンをやって、リアルタイムWeb関係のLTをやるという進行の会でした。node.jsはwktkですが、手が出せませんでした。 そのかわりFlaskとみんな大好きなmeinheldを使ったWebSocketアプリ作ってみました。 リアルタイムで出来たら嬉しいと思うことにサーバーの状態監視があります。sshが使えない環境でも、ブラウザ一つでtopがリアルタイムに更新されたら嬉しいなぁと思っていたのでこれを気にやってみたら意外と簡単に出来ました。 ファイル構成 ws_test/. -- __init__.py -- monitor.py -- templates -- websocket.html `-- websocket_top.py 各ソース websocket_top.py from flask import Fl
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く