You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/14 06:00:45 UTC

[GitHub] [apisix] anjia0532 edited a comment on issue #5957: usercase: golang toolkit-sync eureka/nacos instance info to apisix

anjia0532 edited a comment on issue #5957:
URL: https://github.com/apache/apisix/issues/5957#issuecomment-1002834521


   Different of [apisix discovery](https://apisix.apache.org/docs/apisix/discovery/nacos)/与官方[apisix discovery](https://apisix.apache.org/docs/apisix/discovery/nacos) 注册中心同步插件不同的几个点
   
   1. support multiple nacos/eureka cluster/支持多个nacos/eureka集群
   2. support [kong](https://konghq.com/install/#kong-community)/支持同步到[kong](https://konghq.com/install/#kong-community)
   3. remove the instance from discovery(use cicd pipeline)/配合cicd(也可以不用)可以支持主动从注册中心将实例摘除
   4. support [hot-reload config](https://github.com/anjia0532/discovery-syncer#api%E6%8E%A5%E5%8F%A3)/支持[热重载配置](https://github.com/anjia0532/discovery-syncer#api%E6%8E%A5%E5%8F%A3)(貌似apisix也支持)
   5. independent deployment / 独立部署
   6. support health check / 支持健康检查
   7. fetch admin api convert to file / 读取网关admin api转成本地文件用于本分或者开启db-less模式
   
   [Inadequacy/不足之处](https://github.com/anjia0532/discovery-syncer#api%E6%8E%A5%E5%8F%A3):
   
   1. 目前的同步任务是串行的,如果待同步的量比较大,或者同步时间窗口设置的特别小的情况下,会导致挤压
   
   2. 不支持自定义同步插件,不利于自行扩展
   
   3. 同步机制目前是基于定时轮询,效率比较低,有待优化,比如增加缓存开关,上游注册中心与缓存比对没有差异的情况下,不去拉取/变更下游网关的upstream信息,或者看看注册中心支不支持变动主动通知机制等。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org