日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > java >内容正文

java

笔记:Microservices for Java Developers

發布時間:2025/3/15 java 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 笔记:Microservices for Java Developers 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

從InfoQ上免費下載了一本Microservices for Java Developers,這兩天把前面部分稍微過了一下,感覺寫的挺明白的。

Microservice的定義
Microservice architecture (MSA) is an approach to building software
systems that decomposes business domain models into smaller,
consistent, bounded-contexts implemented by services. These services
are isolated and autonomous yet communicate to provide some
piece of business functionality. Microservices are typically implemented
and operated by small teams with enough autonomy that
each team and service can change its internal implementation
details (including replacing it outright!) with minimal impact across
the rest of the system.

Microservice的特點
Teams communicate through promises, which are a way a service
can publish intentions to other components or systems that may
wish to use the service. They specify these promises with interfaces
of their services and via wikis that document their services. If there
isn’t enough documentation, or the API isn’t clear enough, the service
provider hasn’t done his job. A little more on promises and
promise theory in the next section.

Each team would be responsible for designing the service, picking
the right technology for the problem set, and deploying, managing
and waking up at 2 a.m. for any issues. For example, at Amazon,
there is a single team that owns the tax-calculation functionality that
gets called during checkout. The models within this service (Item,
Address, Tax, etc.) are all understood to mean “within the context of
calculating taxes” for a checkout; there is no confusion about these
objects (e.g., is the item a return item or a checkout item?). The
team that owns the tax-calculation service designs, develops, and
operates this service. Amazon has the luxury of a mature set of selfservice
tools to automate a lot of the build/deploy/operate steps, but
we’ll come back to that.

Microservice解決的問題
With microservices, we can scope the boundaries of a service, which
helps us:

Understand what the service is doing without being tangled into

other concerns in a larger application

Quickly build the service locally Pick the right technology for the problem (lots of writes? lots of

queries? low latency? bursty?)

Test the service Build/deploy/release at a cadence necessary for the business,

which may be independent of other services

Identify and horizontally scale parts of the architecture where

needed

Improve resiliency of the system as a whole

Microservices help solve the “how do we decouple our services and
teams to move quickly at scale?” problem. It allows teams to focus
on providing the service and making changes when necessary and
to do so without costly synchronization points. Here are things you
won’t hear once you’ve adopted microservices:

Jira tickets Unnecessary meetings Shared libraries Enterprise-wide canonical models

Microservice是否適合你? (Microsercie帶來很多好處,不過也都是有代價的)
Is microservice architecture right for you? Microservices have a lot
of benefits, but they come with their own set of drawbacks. You can
think of microservices as an optimization for problems that require
the ability to change things quickly at scale but with a price. It’s not

  • It can be more resource intensive. You may end up with
  • looks like duplication. Operational complexity is a lot higher. It
  • becomes very difficult to understand the system holistically. It
    becomes significantly harder to debug problems. In some areas you
    may have to relax the notion of transaction. Teams may not have
    been designed to work like this.

    并不是所有的業務都適合Microservice
    Not every part of the business has to be able to change on a dime. A
    lot of customer-facing applications do. Backend systems may not.
    But as those two worlds start to blend together we may see the forces
    that justify microservice architectures push to other parts of the system.

    書不長一百多頁,后面具體的配置、編碼的部分還沒看,前面看了感覺寫的還可以。有需要的可以去InfoQ下載。
    https://www.infoq.com/vendorcontent/show.action?vcr=4339&utm_source=infoq&utm_medium=VCR&utm_campaign=vcr_homePage_click&utm_content=bottom

    總結

    以上是生活随笔為你收集整理的笔记:Microservices for Java Developers的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

    主站蜘蛛池模板: 国产精品久久久网站 | 1024手机在线观看 | 欧美成人三级在线观看 | 国产每日更新 | 麻豆国产精品一区 | 国产精品毛片va一区二区三区 | 四虎国产精品免费 | 精品欧美一区二区三区成人 | 一级片黄色| 天天天干| 亚洲一区二区av在线 | 国产精品福利电影 | gogo人体做爰大胆视频 | 好吊色视频988gao在线观看 | 九色视频丨porny丨丝袜 | 日本在线精品 | 制服下的诱惑暮生 | 成人av电影网站 | 国产成人在线观看免费 | 精品久久久久久久久久久久久久 | 玖玖在线观看 | 国产三级福利 | 亚洲色图15p | 亚洲一卡二卡在线观看 | 中文字幕三级电影 | 日本视频免费在线播放 | 日本精品入口免费视频 | 欧洲亚洲视频 | 蜜桃久久精品 | 丰满少妇麻豆av苏语棠 | 国产成人aaaa | 性色av一区 | 丝袜在线视频 | 亚洲精品一区二区三区四区五区 | 特级特黄aaaa免费看 | 日韩天堂av | www.99精品| 91视频啪啪 | 欧美日韩在线中文字幕 | 蜜臀av免费一区二区三区水牛 | 精久久久久久久 | 人妻无码一区二区三区久久 | av一级在线| 懂色一区二区三区免费观看 | 夜夜爽影院| 好吊日在线观看 | 成人免费在线网址 | 精品国产一区二区三区日日嗨 | 久久久77 | 亚洲AV无码久久精品国产一区 | 91精品国产99久久久久久 | 中字幕一区二区三区乱码 | 亚洲大尺度视频 | 99国内揄拍国内精品人妻免费 | 欧美一级淫片免费 | 99夜色| www.污视频 | 天堂av亚洲av国产av电影 | 欧美午夜精品久久久久久孕妇 | 中文字幕一区久久 | 成人欧美在线 | 欧美另类极品videosbest使用方法 | 亚洲激情成人网 | 香蕉视频在线观看黄 | 婷婷六月综合网 | 久草福利视频 | 美女脱了内裤喂我喝尿视频 | 欧美热热| 在线日韩 | 少妇精品久久久久久久久久 | 色呦呦视频在线 | 人碰人操 | 免费三片在线观看网站v888 | 韩日精品视频 | 天堂网中文 | 色久影院 | 男人天堂视频在线 | 蜜桃视频在线观看网站 | 天堂中文在线网 | 婷婷爱五月 | 青青草久久久 | 免费看片91| 欧美成人精品一区二区男人小说 | 四虎成人永久免费视频 | 国产美女毛片 | 嫩草影院在线视频 | 中文字幕欧美色图 | 欧美性生活一区二区 | 美女露胸露尿口 | 中文字幕一区二区三区波野结 | 免费一级做a爰片久久毛片潮 | 成人欧美一区二区三区黑人孕妇 | www三级免费 | 欧美高清hd18日本 | 亚洲搞av| 国产白丝一区二区三区 | 色呦呦在线视频 | 91插插视频 | 国产精品日日摸夜夜爽 |