nilrust
V2EX  ›  PHP

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

  •  
  •   nilrust · Oct 10, 2018 · 2940 views
    This topic created in 2947 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
    star7th
    Oct 10, 2018
    1
    很早前写的一个简单开源队列服务 https://github.com/star7th/htq
    jowan
    jowan
    Oct 10, 2018
    2
    如果是 Laravel 直接支持 mysql 驱动 后面 Redis, RabbitMQ, Beanstalk 无缝切换
    stlee
    stlee
    Oct 10, 2018
    3
    laravel 自带队列可基于 mysql
    zjsxwc
    zjsxwc
    Oct 10, 2018
    4
    symfony 的话我觉得这个老头写的队列不错


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