- 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.
- Mastering Machine Learning for Penetration Testing
- 從區(qū)塊鏈到Web3:構(gòu)建未來互聯(lián)網(wǎng)生態(tài)
- 物聯(lián)網(wǎng)識別技術(shù)
- GPS/GNSS原理與應(yīng)用(第3版)
- 電子政務(wù)效益的經(jīng)濟分析與評價
- Learning Karaf Cellar
- 新一代物聯(lián)網(wǎng)架構(gòu)技術(shù):分層算力網(wǎng)絡(luò)
- 物聯(lián)網(wǎng)通信技術(shù)
- 通信原理及MATLAB/Simulink仿真
- 物聯(lián)網(wǎng)場景設(shè)計與開發(fā)(初級)
- 網(wǎng)絡(luò)工程實施技術(shù)與方案大全
- Learning Node.js Development
- 云工廠:開啟中國制造云時代
- Guide to NoSQL with Azure Cosmos DB
- 信息技術(shù)安全評估準則:源流、方法與實踐