Hacker News new | ask | show | jobs
by eddyschai 1457 days ago
What are failure domains?
1 comments

By default a green thread is the atomic failure domain. A 'panic' in this green thread is isolated, but sends an uncancellable notification to anyone who subscribes to it. You can tie multiple green threads together so that when one goes down the others do too.