摘录


We recently migrated our origin infrastructure to a much more reliable system.
From now on the jsDelivr origin is hosted on Docker swarm cluster consisting of:

3 manager nodes in 3 different datacenters. All hosted by DigitalOcean. This means that even if a whole datacenter goes down we will still have full control over our cluster. And of course it will self health without any intervention. 3 worker nodes that actually host our code. They are hosted in Amsterdam, Frankfurt and Paris. With Amsterdam and Frankfurt sponsored by DigitalOcean. All with plenty of resources to deal even any kind of spike in traffic. Our cluster is using a mesh network with traffic load-balanced internally. Regardless of what location the traffic hits it could be routed internally to a completely different location if for example the local container failed to start successfully or crashed for any reason.

In addition to that we are also using an external HTTP load-balancer provided by Fastly. It uses healthchecks to monitor all of our origin nodes and load-balances all traffic evenly among them. If a node or datacenter goes down all traffic will be immediately re-routed to the remaining healthy nodes.

点评

NULL

原文

点击这里查看原文

其它

本帖内容由21QA云收藏工具自动生成,欢迎使用。

系统消息 若觉得内容不错,请点击左上角的"赞"图标,以优化网站的内容呈现。 另外,请及时验证注册邮箱,否则收不到21QA发出的红包。 官方Q群:250203055

asked 28 Feb, 20:54

%E8%B7%AF%E4%BA%BA%E7%94%B2's gravatar image

路人甲
131569615787

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link: [text](http://url.com/ "title")
  • image: ![alt](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×877
×18

question asked: 28 Feb, 20:54

question was seen: 179 times

last updated: 28 Feb, 20:54

powered by O*S*Q*A

粤ICP备14040061号-1