cowboy-高效能簡潔的erlang版web架構

來源:互聯網
上載者:User

標籤:des   blog   code   c   http   com   

那麼Cowboy是什麼呢?

Cowboy is a small, fast and modular HTTP server written in Erlang.

其定位非常明確:

Cowboy aims to provide a complete HTTP stack in a small code base. It is optimized for low latency and low memory usage, in part because it uses binary strings.

Cowboy provides routing capabilities, selectively dispatching requests to handlers written in Erlang.

Because it uses Ranch for managing connections, Cowboy can easily be embedded in any other application.

No parameterized module. No process dictionary. Clean Erlang code.

目前還支援websocket和spdy協議(由leofs贊助),是個完整的http協議棧實現,功能強勁。由於是最近才發展起來的,充分考慮了效能,強調代碼的整潔,作者在產品層面對erlang的優缺點非常瞭解,實現的很優雅很高效。 目前多重專案都是用它支撐的,也反過來刺激它走的很穩很快,代碼維護也很活躍,比如競爭者misultin感覺沒有超越的希望就放棄了。

...

more: http://blog.yufeng.info/archives/3051

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.