The current API
is limiting. For my use case, I would like to prioritize in-flight work over incoming work, which means that if I get a call to an internal API (in-flight work), I want to let it through even if memory usage is over 90%. However, if I get a call to an external API (incoming work), I want to block it if memory usage is over 80%.
Could we add an API for this? For example:
rtml.IsMemLimitAboveThreshold(80)
rtml.IsMemLimitAboveThreshold(90)
The current API
is limiting. For my use case, I would like to prioritize in-flight work over incoming work, which means that if I get a call to an internal API (in-flight work), I want to let it through even if memory usage is over 90%. However, if I get a call to an external API (incoming work), I want to block it if memory usage is over 80%.
Could we add an API for this? For example: