aeraki-mesh / aeraki-mesh/meta-protocol-proxy

Support stateful protocols such as MySQL

未关闭
#108 1 条评论 0 个 reaction 已指派 1 人 已被 @zhaohuabing 认领 在 GitHub 查看
feature
主要语言
C++
星标
83
派生
31
PR 合并指标
30 天内没有已合并 PR

描述

At present, MetaProtcol Proxy only supports stateless protocols, primarily RPCs. However, I believe it would be beneficial to also expand support for stateful protocols, including MySQL and other DB protocols.

To achieve this, we will need to:

* Add a flag to application protocols to indicate whether they are stateless or stateful.
* If a protocol is stateful, routing will be based on connection level instead of request level.
* For "server speak first" protocols like MySql, establish an upstream connection once downstream connection is established.
* Most of the layer-7 filters, such as local/global rate limiting and auth, should be able to be reused with stateful protocols. However, since routing is performed at connection level, router will not be used.

@aeraki-mesh/metaprotocol-proxy-maintainers

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。