sfynx-project/tool-circuitbreaker-bundle
Composer 安装命令:
composer require sfynx-project/tool-circuitbreaker-bundle
包简介
This Bundle provides handlers to rapidly develop with the circuit breaker pattern in microservice architecture
README 文档
README
Symfony3/4's Sfynx Circuit Breaker Bundle provides handlers to rapidly develop with the Circuit Breaker pattern in micorservice architecture.
Documentation
The source of the documentation is stored in the Resources/doc/ folder
in this bundle, and available on symfony.com:
Installation
a) Prerequisites
This version of the bundle requires php 7.2+.
b) Configuration
Add dependencies in your composer.json file:
"require": { ... "sfynx-project/tool-circuitbreaker-bundle": "dev-master" },
Install these new dependencies of your application:
$ composer update --no-interaction --with-dependencies
Enable bundles in your application kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = [ // ... new Sfynx\CircuitBreakerBundle\SfynxCircuitBreakerBundle(), ]; }
Tests
To execute unit tests:
$ phpunit --coverage-text
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.
License
Copyright © 2018, contact@pi-groupe.net. This bundle is under the GNU Lesser General Public License, permitting combination and redistribution with software that uses the MIT License
SFYNX is a free software distributed under the LGPL license. This license guarantees the following freedoms:
- the freedom to install and use SFYNX for any usage whatsoever;
- the freedom to look into SFYNX’s code and adapt it to your own needs by modifying the source code, to which you have direct access since SFYNX is entirely developed in PHP;
- the freedom to distribute copies of the software to anyone, provided you do not modify or delete the license;
- the freedom to enhance SFYNX and to distribute your enhancements among the public so that the entire community may benefit from it, provided you do not modify or delete the license.
-
This application is a free software; you can distribute it and/or modify it according to the terms of the GNU Lesser General Public License, as published by the Free Software Foundation; version 2 or (upon your choice) any later version.
-
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; not even the implicit warranty for COMMERCIALISATION or CUSTOMISATION FOR A PARTICULAR PURPOSE. For more details, refer to the GNU Lesser General Public License.
-
A copy of the GNU Lesser General Public License must be provided with this software; if it is not, please write to the Free Software Foundation Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
You can download this software from http://pigroupe.github.io/cmf-sfynx/; you will also find a complete user manual and additional information on this site.
-
In French law, SFYNX falls under the regulations stipulated in the code of intellectual property rights (CPI). The SFYNX kernel is a collaborative work by its authors, listed above as per article L 113-1 of the CPI. The entire SFYNX project is comprised of a collective work in respect of articles L 113-2 and L 113-5 of the CPI. The authors release the work to the public in accordance with the rights and obligations as defined by the GNU public license.
About
SfynxCircuitBreakerBundle is a Project PI-GROUPE Development initiative. See also the list of contributors.
For more information :
sfynx-project/tool-circuitbreaker-bundle 适用场景与选型建议
sfynx-project/tool-circuitbreaker-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 21.26k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2016 年 04 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「pattern」 「Microservice」 「circuit」 「breaker」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 sfynx-project/tool-circuitbreaker-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sfynx-project/tool-circuitbreaker-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 sfynx-project/tool-circuitbreaker-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Библиотека для реализаций паттерна Pub/Sub
A circuit breaker pattern implementation for the Laravel framework
Библиотека для реализаций паттерна Pub/Sub
Implementation of the transactional outbox pattern on top of rekalogika/domain-event
Circuit Breaker pattern implementation in PHP
A Laravel package for the Repository Design Pattern.
统计信息
- 总下载量: 21.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 24
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2016-04-01