タグ

erlangに関するkabiyのブックマーク (2)

  • Erlang -- inet

    This module provides access to TCP/IP protocols. See also ERTS User's Guide: Inet Configuration for more information about how to configure an Erlang runtime system for IP communication. The following two Kernel configuration parameters affect the behavior of all sockets opened on an Erlang node: inet_default_connect_options can contain a list of default options used for all sockets returned when

  • Erlangのhttpドーピング - みかログ

    Erlangで書かれたWebサーバのyawsはかなり速い. Apache並の性能が出る. それはErlangが速いからだと思っていた. でも,ソースを読んでみたら,ドーピングされていることがわかった. 同様のアプリで,mochiwebというErlangで書かれたWebサーバのフレームワークもあるけれど,これも同じでその方法を使っていた. Erlangでは,TCP通信のドライバにいろいろなモードがあって,行単位で応答を返したり,FCGIやCORBAのパケットをあつかったりすることができる. Erlangのマニュアルには書かれていないけれど,このモードにhttpというものがあって,それを使うと,httpヘッダの解析などをC言語で書かれたドライバ内で行うことができる模様. undocumentedだけども,どちらのフレームワークも使用しているということは,その辺よく研究しているということなのかな

    Erlangのhttpドーピング - みかログ
  • 1