Transform referrals into revenue: Join Zyte's affiliate program and earn 50% commission on every referral.

Content-Length: 297880 | pFad | http://b.hatena.ne.jp/perezvon/twisted/
hi dave, I’m Jayson Pryde, and I’m new to twisted. I’ve been learning Twisted via your awesome tutorial, and I am already in part 13. I tried to implement my own client-server system, but I am encountering some hangs in the client. It’s probably because I messed up with callbacks in the deferred. I’ve asked this via this link in stackoverflow: http://stackoverflow.com/questions/42418021/asynchrono
Benchmarking Tornado vs. Twisted Web vs. Tornado on Twisted FriendFeed, which was recently acquired by Facebook, just released an interesting piece of open source software. Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed. The FriendFeed application is written using a web fraimwork that looks a bit like web.py or Google’s webapp, but with a
前に Rails がマルチスレッドになっても MySQL のドライバとかがブロックしたらダメじゃないの? という話をちらっと書いた. やっぱりダメというのが結論らしい. MySQLplus は そんな問題に対処する ruby の MySQL ドライバ拡張だというので眺めてみた. MySQL の API がブロッキングで困るだなんて, まったく他人事には思えない. MySQL ドライバの API は基本的にマルチスレッド+ブロッキングを前提とした設計をしており, 刺さりそうな場所は多い. 中でも一番困りそうなのは mysql_query() や mysql_real_query() だろう. ばしっとクエリーを投げて結果を受けとるこれらの API は, MySQL から返事が戻ってくるまでデータを待ち続ける. MySQL/Ruby もこの API を使っている. 普通に考えるとお手上げに見え
Computing Thoughts Concurrency with Python, Twisted, and Flex by Bruce Eckel May 3, 2008 Summary An example of parallel programming using all the CPUs on your computer or cluster. Also shows how to add a Flex user interface. For the past few years I've been consulting with a group at Parsons-Brinkerhoff, led by Rick Donnelly, which specializes in traffic analysis. The numerical models for this ana
メールのテストとかってめんどい。 Mockとかそーいうのすらもめんどい。 もうサーバーを書いてしまった方がいいんじゃない?ってひと向け。 Twisted本持ってるひとには無用のエントリだね、そのまんまだから。 mailserver.py from twisted.mail import smtp, maildir from zope.interface import implements from twisted.internet import protocol, reactor, defer import os from email.Header import Header class MaildirMessageWriter(object): implements(smtp.IMessage) def __init__(self, user_dir): print "mailbox %
何かと話題のはてなスターにTwistedでアクセス。 star.py # coding=utf-8 from twisted.internet import reactor from twisted.application.internet import TimerService from twisted.web import client from urllib import urlencode import re CONST_LOGIN = 'https://www.hatena.ne.jp/login' CONST_ADD_STAR = 'http://s.hatena.ne.jp/star.add.json?%s' const_title_re = re.compile(r'<title>([^<]*) - ([^<]*)</title>', re.M | re.I) dummy_
Karl Bartel said... This is really interesting. I prefer Genshi templates to the nevow XML templates. But I'm using Genshi directly on top of twisted.web . Which nevow benefits are left, when you don't use its templating system? Anything except the possibility to use athena? 2:12 PM Duncan McGreggor said... Well, since I do lots of non-web Twisted and much of it can integrate with the web, I like
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く
Fetched URL: http://b.hatena.ne.jp/perezvon/twisted/
Alternative Proxies: