承接 akbarali/nats-sender 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱: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
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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