Terminology basics Flashcards

Since I have trouble remembering all the terminology and what it means

1
Q

What is a microservice

A

Microservices, or microservice architecture, is an approach to application development in which a large application is built as a suite of modular components or services.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of a microservice

A

When using microservices, you isolate software functionality into multiple independent modules that are individually responsible for performing precisely defined, standalone tasks. These modules communicate with each other through simple, universally accessible application programming interfaces (APIs)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How is a microservice different than SOA architecture

A

Microservices Architecture vs. SOA. … In microservices, services can operate and be deployed independently of other services, unlike SOA. So, it is easier to deploy new versions of services frequently or scale a service independently. In SOA, ESB could become a single point of failure which impacts the entire application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is SOA?

A

A Service Oriented Architecture is a software architecture pattern, which application components provide services to other components via a communications protocol over a network. The communication can involve either simple data passing or it could involve two or more services coordinating connecting services to each other. Services (such as RESTful Web services) carry out some small functions, such as validating an order, activating account, or providing shopping cart services.

There are 2 main roles in SOA, a service provider and a service consumer. A software agent may play both roles. The Consumer Layer is the point where consumers (human users, other services or third parties) interact with the SOA and Provider Layer consists of all the services defined within the SOA. The following figure shows a quick view of an SOA architecture.
https://4.bp.blogspot.com/-fT9lXcGTlOA/V0pHgkgAqNI/AAAAAAAAAzM/HuI3h70S16Ip1Mls7ffe60iblq5A1UylwCLcB/s400/Screen%2BShot%2B2016-05-29%2Bat%2B11.33.12%2BAM.png

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is one issue with SOA or Microservice architecture?

A

Unit Testing is more difficult as developers must mock the communication mechanism in tests. Due to many different service types, deployment and operational complexity are a concern in both architectures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly