<div dir="auto">Hi everyone,<div dir="auto"><br></div><div dir="auto">I hope you’re doing well. I have a question about a multi-tenant scenario. I want to create a dedicated thread pool for each tenant, and these pools will perform a lot of I/O (for example, database reads and writes). For this reason I’d like to use virtual threads. However, because virtual threads share platform threads under the hood, they cannot be fully isolated from one another.</div><div dir="auto"><br></div><div dir="auto">Consider this situation: a buggy task consumes CPU continuously. If the host only has a single CPU core, that bug could cause the entire application to fail. My thought is that if each tenant runs on its own virtual-thread pool but without sharing platform threads between pools, platform threads could still time-slice across tenants and thus reduce the impact of a CPU-burning bug.</div><div dir="auto"><br></div><div dir="auto">For a requirement like this, what would you recommend to achieve better isolation and robustness? I would appreciate any guidance or suggested approaches.</div><div dir="auto"><br></div><div dir="auto">Thank you for your time and help.<br><br><div data-smartmail="gmail_signature" dir="auto">Best Regards.<br>Jianbin Chen, github-id: funky-eyes </div></div></div>