abpframework / abpframework/abp
Automate or simplify data duplication pattern across different modules / microservices
@hikalkan is already working on this.
Since Apr 25, 2022.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 3.7k
- Avg merge
- 15h 32m
- Merged PRs (30d)
- 106
Description
It is typical to create a local database lookup table in a microservice for a foreign entity (of another microservice). In this case, you query first from the local database, then (if you can't find in local) you request from the remote service and store the result in the local database for the future. Having a local database table also makes it possible to write JOIN queries with your own entities. You also listen events to update your local data if the original data changes.
The following diagram shows it in a monolith modular application:

We will think on that if we can automate or simplify this pattern.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.