yakczh
V2EX  ›  PHP

现在 php-FPM 成为主流布署方式了,是不是可以在 fpm 中加入数据库连接池的配置?

  •  
  •   yakczh · Mar 8, 2014 · 6048 views
    This topic created in 4644 days ago, the information mentioned may be changed or developed.
    9 replies  •  1970-01-01 08:00:00 +08:00
    lyragosa
    lyragosa
    Mar 8, 2014
    1
    我表示还是在用apache-handle
    hitsmaxft
    hitsmaxft
    Mar 8, 2014
    2
    fpm的功能很弱的说, 扩展性什么的都几乎没有. 给的api也少得可怜, 不然长连接,连接池什么的就简单多了. 性能也一般般

    没错的话目前还只是有一个简单的长连接api
    loveminds
    loveminds
    Mar 8, 2014
    3
    @lyragosa 我fcgi
    ichou
    ichou
    Mar 8, 2014
    4
    我用fpm 纯粹为了少折腾
    mantianyu
    mantianyu
    Mar 8, 2014
    5
    @loveminds 什么业务? fcgi 撑得住?
    resettarget
    resettarget
    Mar 8, 2014
    6
    我还想问问,哪里有介绍fastcgi和fpm等的,只知道如何用其中一个,但是不太分得清各自的特点利弊
    hitsmaxft
    hitsmaxft
    Mar 8, 2014❤️1
    7
    @resettarget fastcgi 是 webserver使用的协议之一 , fpm是基于fastcgi的php服务器
    kuye
    kuye
    Mar 8, 2014
    8
    怎么看出来是主流了,因为nginx+php 越来越多了??
    wdlth
    wdlth
    Mar 9, 2014
    9
    主流的Nginx是前端,Apache还是后端,至于是用mod_php、suPHP还是FastCGI还是看环境。毕竟mod_php、suPHP和FastCGI几种方式在有些地方不同。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2457 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 13:21 · PVG 21:21 · LAX 05:21 · JFK 08:21
    ♥ Do have faith in what you're doing.