Better HN
topnewbestaskshowjobs
Log inSign up

krisvale

4 karma · joined Jan 8, 2013 (13y ago) · 2 submissions

Submissions

comment 12y ago · link · parent

Thousands of lightweight threads with cooperative scheduling. Allows you to have a myriad of little programs running, each perhaps servicing a network request, or running some long running game logic. Impossible with threads. Also, threads are pre-emptive, which means that you need to use locking almost everywhere.

comment 12y ago · link · parent

Hi, at CCP we have a custom transport that does the logging to sentry on a separate tasklet (think lightweight thread). Basically, the logging is done in the backgrond when there is time, freeing the thread whence the error came up to do other stuff immediately.