Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@koriym
Last active August 30, 2018 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koriym/f7bbcf8ccd8d087837adc6d572f374d2 to your computer and use it in GitHub Desktop.
Save koriym/f7bbcf8ccd8d087837adc6d572f374d2 to your computer and use it in GitHub Desktop.
問題解決の鍵はbounded context
  1. bounded contextがあやふやな「悪いモノリス」と、契約のある「良いモノリス」とがある。
  2. 初期段階での性能差は低いが、前者はスケールの限界が早期に訪れ、後者は基本的には限界はほぼ無い。
  3. 前者の問題をマイクロサービスで解決しようとすると、分割された泥だんごができる。http://www.codingthearchitecture.com/2014/07/06/distributed_big_balls_of_mud.html
  4. m/sはReliabilityの問題を軽視してはいけない https://twitter.com/ircmaxell/status/1006631401603514368
  5. m/sはシステムを複雑にする。自動化やツールのための専門のスタッフが必要。 https://twitter.com/ircmaxell/status/908647840196513792
  6. 問題解決の鍵はbounded context。(=interface) これはm/sに優先する。
  7. HTTP APIにはmedia type / content-negotiation / json-schema (+hyper-scehma)などのhttp semanticsを。
  8. サービスのbounded contextを設計するのがAPIアーキテクト。示された「API構造」にシステムのbounded contextを設計して、ソフトウエア構造を与えるのが、ソフトウエアアーキテクト。
  9. APIはシステムのUI。APIアーキテクトはシステムUIデザイナー。

[wip]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment