Should I emit microservice events with all the data required on the receiving end, or allow the services to fetch extra data from the database?

前端 未结 0 1316
死守一世寂寞
死守一世寂寞 2021-01-28 20:22

I have the following servers running on my cloud, where each worker performs various long running tasks and may update my PostgreSQL database:

- Main application          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题