- Microservices Development Cookbook
- Paul Osman
- 240字
- 2021-07-16 17:48:22
Reliability
When a monolith fails, it tends to fail completely. A database is unavailable, and then the application tries to use stale connections in a connection pool, eventually the threads or processes serving requests lock up, and users are left with a white screen of death or a inoperable mobile application. Microservices allow you to decide on a case-by-case basis how a failure in a particular part of your application should be treated. If your service cannot reach a database, perhaps it's better to return a stale cache, or an empty response. If your service has to throw up its hands and start returning HTTP 503 responses, upstream services can respond by applying back pressure, allowing the service to catch up. Microservices give you much more freedom to isolate failures in your system, resulting in a happier experience for your users.
This book will serve as a handy reference for many of the subjects that will come up as you develop microservices. We'll start with recipes that will help you make the transition from a monolith to a suite of microservices. Subsequent chapters will address specific areas or challenges that come up when choosing how best to architect and manage your microservices. Recipes that cover code will include working, simple, tested examples that you can use in your own applications. My hope is that this book will help you think about, plan, and execute the development of microservice-based applications. Enjoy!
- 物聯(lián)網(wǎng)識(shí)別技術(shù)
- SEO 20日
- TCP/IP入門經(jīng)典(第5版)
- 網(wǎng)絡(luò)創(chuàng)新指數(shù)研究
- 2018網(wǎng)信發(fā)展報(bào)告
- IPv6網(wǎng)絡(luò)切片:使能千行百業(yè)新體驗(yàn)
- INSTANT KineticJS Starter
- SAE原理與網(wǎng)絡(luò)規(guī)劃
- 紅藍(lán)攻防:構(gòu)建實(shí)戰(zhàn)化網(wǎng)絡(luò)安全防御體系
- 一本書讀懂物聯(lián)網(wǎng)
- 局域網(wǎng)組成實(shí)踐
- 園區(qū)網(wǎng)絡(luò)架構(gòu)與技術(shù)
- 物聯(lián)網(wǎng)與智慧農(nóng)業(yè)
- 移動(dòng)互聯(lián)網(wǎng)新思維
- 人際網(wǎng)絡(luò)