temporalio / sdk-java

Temporal Java SDK
https://temporal.io
Apache License 2.0
213 stars 144 forks source link

Implement autoscaling of Pollers #878

Open Spikhalskiy opened 2 years ago

Spikhalskiy commented 2 years ago

Temporal have default magic numbers of 5 activity pollers and 2 workflow pollers. We have some guidance on how these numbers can be selected adjusted, but we shouldn't be making users guess and adjust these numbers. SDK can adapt them accordingly to the load profile of executors and pollers.

bergundy commented 2 years ago

@Spikhalskiy this requires a bit of design. Whatever we come up with should be ported to all SDKs.