Giter VIP home page Giter VIP logo

workerman-queue's Introduction

workerman-queue

一个简单的消息队列,基于Linux sysv 队列实现。

需要安装 sysvmsg扩展

注意,默认sysv队列的存储空间比较小,可以通过设置内核参数加大sysv队列的空间

// 此文件可以用于查看和修改在队列中排队消息的数量的上界

/proc/sys/fs/mqueue/msg_max

// 此文件可以用于查看和修改消息大小最大值的上界

/proc/sys/fs/mqueue/msgsize_max

// 此文件可以用于查看和修改整个系统上可创建的消息队列的数量的限制值

/proc/sys/fs/mqueue/queues_max

run

进入workerman根目录

debug模式运行

php start.php start

daemon模式运行

php start.php start -d

test

php Applications/Queue/client_demo.php

workerman-queue's People

Contributors

walkor avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.