shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

How to deploy shenyu gateway in HA multi-clusters?

Open wljin321 opened this issue 2 years ago • 6 comments

Question

shenyu如何进行高可用的部署,目前我尝试启动2个admin 2个bootstrap 共用一个数据库,有一些问题. 采用的是nacos数据同步,也同时启用了dubbo插件,2个admin服务都走了同样的逻辑,通过订阅nacos里的服务和配,重复覆盖mysql里的配置.

wljin321 avatar Dec 28 '23 09:12 wljin321

For admin, please check https://github.com/apache/shenyu/issues/4881 ; For bootstrap, you can deploy multiple nodes in the gateway using the same registry.

loongs-zhang avatar Jan 17 '24 01:01 loongs-zhang

shenyu admin多节点部署是个问题

MingJunDuan avatar Jan 18 '24 23:01 MingJunDuan

数据同步一致性

MingJunDuan avatar Jan 18 '24 23:01 MingJunDuan

A new tool for syncing data from different clusters is a good idea. Can you provider a task in GSoC2024 in shenyu?

kimmking avatar Jan 27 '24 13:01 kimmking

The data has been stored in the database, so canel is enough for the migration between different admin clusters.

For gsoc 2024, I'd like to provide KitexPulgin or RpcxPlugin task. ---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2024年01月27日 21:51 | | 收件人 | apache/shenyu @.> | | 抄送人 | dragon-zhang @.>, Comment @.> | | 主题 | Re: [apache/shenyu] 分布式高可用网关部署问题 (Issue #5388) |

A new tool for syncing data from different clusters is a good idea. Can you provider a task in GSoC2024 in shenyu?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

loongs-zhang avatar Jan 28 '24 01:01 loongs-zhang

Biz data syncing in middleware nodes should not depend on db tools. I still think it make sense for this feature, such as Nacos-Sync.

kimmking avatar Jan 30 '24 16:01 kimmking