Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无服务器计算:IoT时代负载均衡的正确打开方式 #13

Open
e2tox opened this issue Dec 17, 2018 · 0 comments
Open

无服务器计算:IoT时代负载均衡的正确打开方式 #13

e2tox opened this issue Dec 17, 2018 · 0 comments

Comments

@e2tox
Copy link
Owner

e2tox commented Dec 17, 2018

前言

智能DNS解决了传统的负载均衡和推荐最优服务器的功能,但是在IoT时代则显得力不从心,因为DNS服务器无法高效的处理上百万的无服务器后端地址。那么如何来设计IoT时代的负载均衡的系统呢?

DNS 负载均衡的局限性

DNS的最重要属性就是缓存时间,在这里缓存却成为了IoT时代负载均衡的累赘,因为无服务器后端每次调用都可能是不同的地址,而DNS必须等到缓存失效才能获得新路由,最少是30秒。

Proxy 负载均衡的局限性

Proxy最大的局限性就是客户端必须创建到Proxy服务器的连接,Proxy服务器往往没有足够的计算能力和宽带处理如此大量的请求,而且客户端到Proxy的延迟也严重影响了客户体验,因此大部分网站都用DNS处理跨区域的负载均衡,然后用Proxy处理区域内的请求

基于 Linux Virtual Server 负载均衡的局限性

LVS技术可以实现高效的代理服务器,但是流量仍然要经过代理服务器的网络,在海量IoT设备流量面前,LVS仍然会遇到瓶颈

IoT时代负载均衡的难点

IoT应用往往使用 Edge Computing,这将会导致数百万的后端服务地址,即要为当前客户端从上百万动态更新的后端地址中挑选一个合适的地址,又要避免多余的跳转及延迟。这就需要一种全新的架构来实现这个需求。

《基于边缘计算的负载均衡系统架构》

此为付费课程,需登录林老师微信小程序查看

@e2tox e2tox changed the title 无服务器计算:Serverless 无服务器计算:Serverless下负载均衡的正确打开方式 Dec 17, 2018
@e2tox e2tox changed the title 无服务器计算:Serverless下负载均衡的正确打开方式 无服务器计算:IoT时代负载均衡的正确打开方式 Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant