azure - Updating Two Databases Via A Load Balancer?
问题描述
We have built two servers on Azure each server a copy of the other. With a load balancer which moves from one to the other, if one fails.
We have a self host Git server which runs an Ansible playbook to deploy Docker containers.
Each server has its own Elastic Search Index/database. These are kept up to date with a trigger in the core/main database.
So my question is how do we update both indexes at the same time? Could we route the path /update
though the load balancer and get to run on both servers?
Thanks,
解决方案
推荐阅读
- android - developer.android.com 或任何网站的暗模式?
- wordpress - 重写规则以使用查询字符串简化路径
- c# - C# 拆分 XML InnerText
- html - chrome 和 edge 上的滚动条,但 Internet Explorer 上没有
- assembly - 如何在汇编程序中检查数字是偶数还是奇数
- javascript - 如何将网站上的原始文本保存为所有访问该网站的用户都相同?
- c# - 如何从新窗口中提取数据。WPF MVVM
- variadic-functions - Frama-c:如何用 va_list 和 va_arg 证明可变参数的合理性?
- django - 如何用graphene.filter过滤
- .net-core - 为什么解决方案文件不是 XML 格式?