5

[Cloud Design Pattern] - Ambassador 模式

 2 years ago
source link: https://www.hwchiu.com/cloud-pattern-ambassador.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

[Cloud Design Pattern] - Ambassador 模式

Posted on 2021-12-27

Views: 25

Cloud Design Pattern

ref: https://docs.microsoft.com/.../archit.../patterns/ambassador

微軟文件中的系列好文,探討雲端方面的各種設計模式,而本篇探討的是 Ambassador 模式
想法:

  1. 想要提供更多進階的網路功能到應用程式上,譬如 TLS、circuit、breaking、routing 或 metering。
  2. 應用程式不太方便修改來符合上述功能。
  3. 部署一個跟原應用程式相鄰的應用程式來處理這些網路功能。
    應用程式過於古老,團隊沒有辦法進行深度修改或是團隊中的應用程式使用過多的語言與框架完成,很難簡易的將這些功能給導入到既有的應用程式中
    這時候部署一個全新的應用程式就可以再不修改既有應用程式的前提下來提供這些進階的網路功能。
    這個模式普遍被稱為 ambassador 模式,而本篇文章就是針對該模式進行一個科普概念。
    文章最後還要探討使用這種模式的一些注意事項,譬如網路的延遲會因為多一個應用程式而提升,所以使用上也要評估看看是否合適。
    也有簡單的列出什麼情況適合使用 ambassador 什麼情況不適合。

我目前於 Hiskio 平台上面有開設 Kubernetes 相關課程,歡迎有興趣的人參考並分享,裡面有我從底層到實戰中對於 Kubernetes 的各種想法

詳細可以參閱
線上課程詳細資訊: https://course.hwchiu.com/

另外,歡迎按讚加入我個人的粉絲專頁,裡面會定期分享各式各樣的文章,有的是翻譯文章,也有部分是原創文章,主要會聚焦於 CNCF 領域
https://www.facebook.com/technologynoteniu

如果有使用 Telegram 的也可以訂閱下列頻道來,裡面我會定期推播通知各類文章
https://t.me/technologynote

你的捐款將給予我文章成長的動力

Related Posts

Welcome to my other publishing channels


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK