2min chapter

A Bootiful Podcast cover image

Apache Tomcat contributor extraordinaire Mark Thomas

A Bootiful Podcast

CHAPTER

Loom: A Thread Pool and Executor

Loom is just a thread pool and an executor. It's the way we do it in Tomcat. One caveat that probably is worth mentioning is if applications are using things like thread locals, those might not give you the benefits you're expecting with Loom. If you're using thread local as a proxy for what's effectively CPU core cash, then that's not really going to work with virtual threads. You really need to. Because it would be four hours one to one.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode