vazamb
Joined 10 years ago
Karma
158
Submissions
53
Member since
Feb 24
Joined 10 years ago
You need to use a process pool in Python, thread pools are for I/O bound tasks and cannot use more than 1 core.
EDIT: I should mentioned that we are using AWS CDK for all of this. All it does is register a new task as the default task for a service and ECS/ALB does the rest.
Having a clearly defined schema that can be shared between teams (we had a specific repo for all protobuf definitions with enforced pull requests) significantly reduces the amount of headaches down the road.
I suspect it might be more water efficient and energy efficient to do this instead of repeatedly heating up water, which takes 30s or so and wastes a lot of cold water / hot water that gets left to cool down in the pipes.