We have two services. However, in the past, these two services were one service, but have been split due to differing traffic requirements.
The services are consumed by two kinds of clients; other services and UI clients (web, desktop and mobile).
Consumers of service 1: Services,
- Use a very limited number of exposed endpoints (
addInput
,removeInput
). - Generates high traffic.
Consumers of service 2: UI clients,
- Using a large number of exposed endpoints
- Generating less traffic.
Currently, they are sharing code but as far as I can figure out micro-services should not share base code. Therefore we believe something is wrong using this approach.
what are the key issues to understand in order to solve this kind of micro-services architecture issues?