jdriscoll/coach
Composer 安装命令:
composer require jdriscoll/coach
包简介
A lightweight service bus
README 文档
README
This is a lightweight service bus so you can do your transforms without it costing too much.
Each input request that isn't handled locally (including trivial 404s) is passed to another service with either input transformed or output transformed or both or neither.
Input requests are stored while they're being worked on; likewise output requests and input responses. Request/response bodies are only stored to the extent that it is cheap to do so - thus known-large message bodies are not stored, and streaming message bodies may be stored if they're known to be short when the stream completes. Authentication data is not retained. Stored message bodies are encrypted to more provably prevent their interception and have a maximum lifetime of 24 hours to mitigate the chance of them being extracted after the fact. Request/response data may be retained for a short time after request processing to aid in debugging.
Overhead for this service should be only about 10ms when configured correctly for cases with no meaningful transforms.
Intended Use Cases
This is specifically intended to help with network API versioning, so you can maintain compatibility for an old version without having to keep and maintain two or more network services. If doing so you still need to have functionality equivalent to the old version somewhere, and you should pay particular attention to whether you're inflating an O(1) request into O(n) or worse.
As a secondary concern, this can also handle cases where you may intend some level of request abstraction which would not be practical on the backend services themselves, for example combining data from multiple services.
jdriscoll/coach 适用场景与选型建议
jdriscoll/coach 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 06 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 jdriscoll/coach 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jdriscoll/coach 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2019-06-01