nilrust
V2EX  ›  PHP

请问 PHP 有基于 mysql 或者文件的队列系统推荐吗?

  •  
  •   nilrust · Oct 10, 2018 · 2688 views
    This topic created in 2807 days ago, the information mentioned may be changed or developed.

    接了个 php 的活,对方只给了一个服务器,懒得再部署 Redis, RabbitMQ, Beanstalk 等等额外的东西。

    性能无所谓。

    8 replies    2018-10-10 15:52:59 +08:00
    star7th
        1
    star7th  
       Oct 10, 2018
    很早前写的一个简单开源队列服务 https://github.com/star7th/htq
    jowan
        2
    jowan  
       Oct 10, 2018
    如果是 Laravel 直接支持 mysql 驱动 后面 Redis, RabbitMQ, Beanstalk 无缝切换
    stlee
        3
    stlee  
       Oct 10, 2018
    laravel 自带队列可基于 mysql
    zjsxwc
        4
    zjsxwc  
       Oct 10, 2018
    symfony 的话我觉得这个老头写的队列不错


    https://github.com/mmucklo/DtcQueueBundle
    tanszhe
        5
    tanszhe  
       Oct 10, 2018
    有这么复杂吗 ?
    智商堪忧
    就多建一个表的事情
    sarices
        6
    sarices  
       Oct 10, 2018
    docker+httpsqs 一句命令的事
    berrybeberry
        7
    berrybeberry  
       Oct 10, 2018
    驱动的媒介不一样而已,redis,mysql 都可以
    fortunezhang
        8
    fortunezhang  
       Oct 10, 2018
    同意 5 楼,因为我就是这么干的,哈哈哈。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4246 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 99ms · UTC 01:00 · PVG 09:00 · LAX 18:00 · JFK 21:00
    ♥ Do have faith in what you're doing.