高性能 Ruby Web 服務器,Puma 2.11.0 發布

jopen 9年前發布 | 4K 次閱讀 Puma

Puma是一個為Ruby web程序提供高速處理以及HTTP 1.1并發的服務器小型庫。它被設計只用來運行Rack程序。

Puma 2.11.0 發布了,下載地址:https://github.com/puma/puma/archive/v2.11.0.zip

速度對比:

高性能 Ruby Web 服務器,Puma 2.11.0 發布

完整改進記錄包括:

修復 9 個 bug:

* Add mode as an additional bind option to unix sockets. Fixes #630<br />
  • Advertise HTTPS properly after a hot restart
  • Don't write lowlevel_error_handler to state
  • Fix phased restart with stuck requests
  • Handle spaces in the path properly. Fixes #622
  • Set a default REMOTE_ADDR to avoid using peeraddr on unix sockets. Fixes #583
  • Skip device number checking on jruby. Fixes #586
  • Update extconf.rb to compile correctly on OS X
  • redirect io right after daemonizing so startup errors are shown. Fixes #359</p>

    6 個新的特性:

  • Add a configuration option that prevents puma from queueing requests.
  • Add reload_worker_directory
  • Add the ability to pass environment variables to the init script (for Jungle).
  • Add the proctitle tag to the worker. Fixes #633
  • Infer a proctitle tag based on the directory
  • Update lowlevel error message to be more meaningful.

    來自:http://www.oschina.net/news/58947/puma-2-11-0
 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!