akbarali/nats-sender 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

akbarali/nats-sender

最新稳定版本:0.2.1

Composer 安装命令:

composer require akbarali/nats-sender

包简介

Laravel Nats Sender

README 文档

README

TODO

Done ? Name Version
Add command nats:pause and nats:continue. In the future
Writing documentation. In the future
Add multiple ways to retrieve information.(sync, redis or other) In the future

Install

composer require akbarali/nats-sender

Supervisor add Artisan command:

php artisan nats:redis:sender

Supervisor Configuration

Supervisor configuration files are typically stored within your server's /etc/supervisor/conf.d directory. Within this directory, you may create any number of configuration files that instruct supervisor how your processes should be monitored. For example, let's create a nats_sender.conf file that starts and monitors a nats listener process:

[program:nats_sender]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/artisan nats:redis:sender
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
numprocs=1
user=forge
redirect_stderr=true
stdout_logfile=/var/www/supervisor/nats_sender_queue.log

Emotional Damage

I originally wrote this package because RabbitMQ was slow and had a lot of issues with our entire project. I thought NATS would be faster and more reliable. But in the end, it turned out that RabbitMQ is 25% faster.

alt text

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固