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wMDAsImV4Y2VlZFBhZ2VXaWR0aCI6ZmFsc2UsIm9DbGllbnRJZCI6IiJ9
The Microservice Bus function provides service registration, discovery and communication services for microservices as well as a gateway for internal & External communication for the services:
Register communication services
Discover communication services
Manage communication between microservices
OOM connects to MSB to register and update service information when it instantiates service endpoints.
Question: How do we differentiate between when to use MSB vs When to use DMaaP?
2. API definitions
MSB provides the following interfaces:
Interface Name | Interface Definition | Interface Capabilities |
---|
MSBE-1 | Registration and Discovery interface | The registration and discovery interface provides the following capabilities:- Register/Unregister a service
- Discover a service
|
MSBE-2 | Service Request Interfaces | Provides the capability to deliver and recieve a service request and subsequent communication. |
MSBE-3 | MSB Admin Interface | Provides the ability to administer policy and routing for the service requests. |
Note: xxxI interface is a Component internal interface. xxxxE interface is a component external interface
The current API documents can be found at:
MSB consumes the following Interfaces:
Interface Name | Purpose Reason For Use |
---|
N/A | N/A |
3. Component Description:
A more detailed figure and description of the component.
<< For later inclusion >>
4. known system limitations
MSB API gateway has been tested in this scenario:
- Client(wrk) --> MSB API gateway --> Test service(Tomcat)
- Test machine (client, msb and test service): 8 cpu Core, 8G memory
- Network 10000M
The test result is 50000 request per second.
5. Used Models
MSB uses the following models:
6. System Deployment Architecture
This needs to be updated, what should be here?
MSB consists of 5 containers:
eyJleHRTcnZJbnRlZ1R5cGUiOiIiLCJnQ2xpZW50SWQiOiIiLCJjcmVhdG9yTmFtZSI6IlN0ZXBoZW4gVGVycmlsbCIsIm91dHB1dFR5cGUiOiJibG9jayIsImxhc3RNb2RpZmllck5hbWUiOiJTdGVwaGVuIFRlcnJpbGwiLCJsYW5ndWFnZSI6ImVuIiwiZGlhZ3JhbURpc3BsYXlOYW1lIjoiIiwic0ZpbGVJZCI6IiIsImF0dElkIjoiNjA4ODQzNDQiLCJkaWFncmFtTmFtZSI6Ik1TQiBydW50aW1lIGFyY2hpdGVjdHJ1ZSIsImFzcGVjdCI6IiIsImxpbmtzIjoiYXV0byIsImNlb05hbWUiOiJBUkMgTVNCIENvbXBvbmVudCBEZXNjcmlwdGlvbiAtIER1YmxpbiIsInRic3R5bGUiOiJ0b3AiLCJjYW5Db21tZW50IjpmYWxzZSwiZGlhZ3JhbVVybCI6IiIsImNzdkZpbGVVcmwiOiIiLCJib3JkZXIiOnRydWUsIm1heFNjYWxlIjoiMSIsIm93bmluZ1BhZ2VJZCI6NjA4ODQzMzUsImVkaXRhYmxlIjpmYWxzZSwiY2VvSWQiOjYwODg0NDkzLCJwYWdlSWQiOiIiLCJsYm94Ijp0cnVlLCJzZXJ2ZXJDb25maWciOnsiZW1haWxwcmV2aWV3IjoiMSJ9LCJvZHJpdmVJZCI6IiIsInJldmlzaW9uIjoxLCJtYWNyb0lkIjoiMTEyZTA0MTMtYWY0YS00ZjY0LTllZDMtYTNhMWEzMDhhYjVhIiwicHJldmlld05hbWUiOiJNU0IgcnVudGltZSBhcmNoaXRlY3RydWUucG5nIiwibGljZW5zZVN0YXR1cyI6Ik9LIiwic2VydmljZSI6IiIsImlzVGVtcGxhdGUiOiIiLCJ3aWR0aCI6IjgyMSIsInNpbXBsZVZpZXdlciI6ZmFsc2UsImxhc3RNb2RpZmllZCI6MTU1MjA4NDg5OTAwMCwiZXhjZWVkUGFnZVdpZHRoIjpmYWxzZSwib0NsaWVudElkIjoiIn0=
7. New Capabilities in this Release
This release, MSB adds the following Capabilities:
8. References
- Microservice Bus API Documentation