LoadBalancing Spring 云数据流服务器 [英] LoadBalancing Spring cloud data flow server

查看:47
本文介绍了LoadBalancing Spring 云数据流服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 spring 云数据流中,根据我的理解,每个流都是一个微服务,但数据流服务器不是.我说得对吗?

In spring cloud dataflow, as per my understanding each stream is a microservice but the dataflow server is not. Am I right?

Spring Cloud Dataflow(SCDF) 服务器是否可以有多个实例?如何对数据流服务器进行负载平衡?我打算在 AWS 中部署它.官方文档没有提到有关数据流服务器负载平衡的任何内容.如果可能的话,仪表板、外壳如何工作?

Is it possible to have multiple instances of spring cloud dataflow(SCDF) server? How to loadbalance the dataflow server? I am planning to deploy it in AWS.The official documentation didn't mention anything about loadbalancing of dataflow server. If it is possible how do Dashboard, shell works?

推荐答案

SCDF-server 是一个常规的 Spring MVC + Spring Boot 应用程序,它为流/任务元数据提供 REST-API、DSL 命令、UI 和存储库访问坚持.

The SCDF-server is a regular Spring MVC + Spring Boot application that serves the REST-APIs, DSL commands, UI, and repository access for stream/task metadata persistence.

在 Cloud Foundry、Kubernetes 等平台中,在扩展 SCDF 服务器时,该平台会自动处理流量路由和负载平衡.

In platforms like Cloud Foundry, Kubernetes and others, upon scaling the SCDF-server, the platform automatically handles traffic routing and load-balancing.

如果您要在自己和 AWS 上编排部署,则必须在服务器实例前插入负载均衡器.Shell、UI 和 REST-API 将改为访问负载平衡器,以与 SCDF 服务器交互.

If you were to orchestrate the deployment on your own and on AWS, you'd have to plug a load-balancer in front of the server instances. The shell, UI, and REST-APIs would hit the load-balancer instead, to interact with the SCDF-server.

这篇关于LoadBalancing Spring 云数据流服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆