- Microservice Patterns and Best Practices
- Vinicius Feitosa Pacheco
- 227字
- 2021-06-30 19:02:46
Knowing the application
It is time to get to know the application that will be used throughout the book. This application will be the source of all explanations of concepts and all practical code that will be developed in the book. The base system is a news portal that consists of, basically, three areas:
- News: This is the news itself.
- Recommendations: These are responsible for storing user preferences and thus are able to offer specific news to users or even compose a completely unique home page according to the user profile.
- User: This is the basic registration information of a user.
All the application's business is on the same source code, that is, a monolithic software. The application was developed on the Django Framework, using PostgreSQL as a database, and Memcached as cache, which is only applied to the database layer.
With this structure, if there is an overload on the level of recommendations, all the applications must be scaled, and not only the part referring to the recommendations, because the application is monolithic. Another problem is that if one commits and incurs a problem, it propagates errors in segments that have no relationship with deficiency in the composition of domains. Something expensive for the application changes in the stack. If you want to change the type of cache used, then all other caches will be lost.
- 通信網(wǎng)絡(luò)基礎(chǔ)與設(shè)備
- C++黑客編程揭秘與防范
- TCP/IP入門經(jīng)典(第5版)
- CCNP TSHOOT(642-832)認(rèn)證考試指南
- OMNeT++與網(wǎng)絡(luò)仿真
- 光纖通信系統(tǒng)與網(wǎng)絡(luò)(修訂版)
- 通信十年:擁抱互聯(lián)網(wǎng)
- SAE原理與網(wǎng)絡(luò)規(guī)劃
- 4G小基站系統(tǒng)原理、組網(wǎng)及應(yīng)用
- 語音信號處理及Blackfin DSP實(shí)現(xiàn)
- 深入理解OpenStack Neutron
- 高級網(wǎng)絡(luò)技術(shù)
- 移動(dòng)物聯(lián)網(wǎng):商業(yè)模式+案例分析+應(yīng)用實(shí)戰(zhàn)
- Web用戶查詢?nèi)罩就诰蚺c應(yīng)用
- 物聯(lián)網(wǎng)