• 下(xia)載頻道 http://www.it165.net/down/
  • 鼎汇彩票官网

    發布日期(qi)︰2020-02-25 23:00:06
    Tag標(biao)簽(qian)︰Web服務器  Mongrel2  
    • 關(guan)鍵詞︰
      Web服務器  Mongrel2  
    • 所(suo)屬欄目︰
      服務器應用
    • 開發語言︰
      C/C++    
    • 軟(ruan)件授權︰
      BSP    
    • 運行(xing)平台︰
      跨平台    
    • Mongrel2是一個基(ji)于ZeroMQ的Web服務器,語言獨立,可以用17種語言編寫應用,還有更多非常(chang)奇(qi)特的地方︰
      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.
       
      基(ji)本架構是︰
      a、非阻(zu)塞IO
      b、通過(guo)libtask實現event IO和(he)每Connection一個coroutine
      c、和(he)Mongrel一樣用Ragel實現HTTP協議解析
      d、將Request編碼為(wei)JSON或TNetString發送到ZeroMQ
      e、ZeroMQ的客戶端(duan)作為(wei)Handler接收Request進行(xing)處理
      f、Handler將響應寫回ZeroMQ
      g、Mongrel2將Response寫回給Http Connection
      h、這整個過(guo)程又是通過(guo)Ragel管理狀(zhuang)態機來實現的
    下(xia)載標(biao)題  (選擇版本點擊標(biao)題下(xia)載)文件資(zi)源大小
    a官(guan)網下(xia)載
    次元立方 -廣告服務 -隱私聲明 -版權申明 -免責(ze)條款 -網站地圖 -網友(you)投稿 -聯系方式
    本站內容(rong)來自于互聯網,僅供用于網絡技(ji)術學(xue)習,學(xue)習中請遵循相(xiang)關(guan)法律(lv)法規(gui)
    鼎汇彩票官网 | 下一页