PyConJP 2018の資料です。Django Channelsでカンバンアプリケーションを 作成した際の資料です。 関連資料: https://qiita.com/denzow/items/046f3c8b9bd8d3378eb4 https://github.com/denzow/Dj…
The asynchronous event-driven I/O of Node.js is currently evaluated by many enterprises as a high-performance alternative to the traditional synchronous I/O of multi-threaded enterprise application server. The asynchronous nature means that enterprise developers have to learn new programming patterns, and unlearn old ones. They have to undergo serious brain rewiring, possibly with the help of elec
まだ深くソースコードを読めていないので「非同期Webサーバー」という言い方が正しいかどうかは自信がない。https://github.com/fiorix/cyclonecycloneはtornadoと非常によく似たAPIをもっている。例えば、お馴染みのHello Worldならば次の通り。 # -*- mode: python -*- # helloworld.tac import cyclone.web from twisted.python import log from twisted.internet import reactor from twisted.application import service, internet class MainHandler(cyclone.web.RequestHandler): def get(self): self.write("He
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 #!/usr/bin/env python def run_async(func): """ run_async(func) function decorator, intended to make "func" run in a separate thread (asynchronously). Returns the created Thread object E.g.: @run_async def task1(): do_something @run_async
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く