问题
I have spring boot application. Multiple Fargate tasks of same service is running. Now I have scheduler performed in service. So is scheduler will be performed twice as 2 tasks are running? How it behaves?
回答1:
Yes.
If the tasks are the same, and you expect each task to execute some work on a schedule, both will run the scheduled work.
来源:https://stackoverflow.com/questions/54333616/ecs-multiple-tasks-of-same-service-behaviour-for-scheduler