Mihir Shah
Mihir Shah

Reputation: 1809

ECS multiple tasks of same service behaviour for scheduler

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?

Upvotes: 0

Views: 880

Answers (1)

bluescores
bluescores

Reputation: 4677

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.

Upvotes: 1

Related Questions