Hacker News new | past | comments | ask | show | jobs | submit login

Can you elaborate on this? How would doing crypto demonstrate the security of the isolate?



Nail the CPU and ensure that other isolates on the same process/machine don’t get starved. I meant isolation more than security.


Different isolates can run concurrently on different threads, so pegging the CPU in one isolate doesn't block any others. Also, if a worker spends more than 50ms of CPU time on a request, we cancel it, terminating execution of the worker even if it's in an infinite loop. (Almost all non-buggy Workers we've seen in practice use more like 0ms-2ms per request. Note this is CPU time; time spent waiting for network replies doesn't count.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: