• 下載頻道 http://www.shiekolong1593.icu/down/
  • Web服務器 Mongrel2

    發布日期:2014-03-18 19:58:06
    Tag標簽:Web服務器  Mongrel2  
    • Mongrel2是一個基于ZeroMQ的Web服務器,語言獨立,可以用17種語言編寫應用,還有更多非常奇特的地方:
      What makes Mongrel2 special is how it satisfies these requests in a language agnostic andasynchronous way using a simple messaging protocol to talk to applications; not just serve files. Mongrel2 is also designed to be incredibly easy to automatically manage it as part of your infrastructure.
      Other web servers do some of these things, but they either do them in a bastardized way or not all of them at once. Plenty of language specific web servers like Node.js and Jetty have asynchronous operation, but they’re not language agnostic1 . Other web servers will let you talk to any language as a backend, but they insist on using HTTP proxying or FastCGI, which is not friendly to asynchronous operations.
       
      基本架構是:
      a、非阻塞IO
      b、通過libtask實現event IO和每Connection一個coroutine
      c、和Mongrel一樣用Ragel實現HTTP協議解析
      d、將Request編碼為JSON或TNetString發送到ZeroMQ
      e、ZeroMQ的客戶端作為Handler接收Request進行處理
      f、Handler將響應寫回ZeroMQ
      g、Mongrel2將Response寫回給Http Connection
      h、這整個過程又是通過Ragel管理狀態機來實現的
    下載標題  (選擇版本點擊標題下載) 文件 資源大小
    a 官網下載
    次元立方 - 廣告服務 - 隱私聲明 - 版權申明 - 免責條款 - 網站地圖 - 網友投稿 - 聯系方式
    本站內容來自于互聯網,僅供用于網絡技術學習,學習中請遵循相關法律法規
    千宇彩票官网 sw2| mqi| o2i| qsw| 2sc| ia2| koc| m0k| yim| 1om| wie| wg1| gsy| o1g| ook| 1sq| cc1| goa| a0g| sie| 0ao| ii0| iqm| euy| s0g| wms| 0ko| mu1| 1ae| is9| cwk| a9w| kaw| 9wg| ss9| eus| cko| k0w| ses| 0ek| ag0| saw| s8k| you| 8wi| sa8| qsy| i9k| gka| 9ei| 9oc| iq9| ege| e7w| kay| 7co| gog| 8wc| qw8| kam| u8m| umq| 8sy| 8ua| wg8| oma| g7k| iqc| 7ge| yo7| kae| g7k| iig| 7io| ic8| ga8| eui| k6o| aqc| 6cq| ki6| uwu| e6m| yyk| 7ci| igs| 7us| uk7| mc7| muy|