- Python Microservices Development
- Tarek Ziadé
- 290字
- 2021-07-02 18:54:17
Origins of Service-Oriented Architecture
There are many definitions out there, since there is no official standard for microservices. People often mention Service-Oriented Architecture (SOA) when they are trying to explain what microservices are.
Each unit in this preceding definition is a self-contained service, which implements one facet of a business, and provides its feature through some interface.
While SOA clearly states that services should be standalone processes, it does not enforce what protocols should be used for those processes to interact with each other, and stays quite vague about how you deploy and organize your application.
If you read the SOA Manifesto (http://www.soa-manifesto.org) that a handful of experts published on the web circa 2009, they don't even mention if the services interact via the network.
SOA services could communicate via Inter-Process Communication (IPC) using sockets on the same machine, through shared memory, through indirect message queues, or even with Remote Procedure Calls (RPC). The options are extensive, and at the end of the day, SOA can be everything and anything as long as you are not running all your application code into a single process.
However, it is common to say that microservices are one specialization of SOA, which have started to emerge over the last few years, because they fulfill some of the SOA goals which are to build apps with standalone components that interact with each other.
Now if we want to give a complete definition of what are microservices, the best way to do it is to first look at how most software are architectured.
- 數(shù)據(jù)庫(kù)系統(tǒng)教程(第2版)
- Learning Cython Programming
- 零基礎(chǔ)搭建量化投資系統(tǒng):以Python為工具
- Python入門(mén)很簡(jiǎn)單
- Django開(kāi)發(fā)從入門(mén)到實(shí)踐
- Java入門(mén)很輕松(微課超值版)
- VSTO開(kāi)發(fā)入門(mén)教程
- C語(yǔ)言程序設(shè)計(jì)
- Python算法從菜鳥(niǎo)到達(dá)人
- 從Excel到Python:用Python輕松處理Excel數(shù)據(jù)(第2版)
- SQL基礎(chǔ)教程(第2版)
- 監(jiān)控的藝術(shù):云原生時(shí)代的監(jiān)控框架
- .NET 4.0面向?qū)ο缶幊搪劊簯?yīng)用篇
- Modular Programming with JavaScript
- WCF全面解析