1 min readDec 1, 2019
Kotlin Coroutines have very low memory usage at dozens of bytes per Coroutine. For a web service that means higher rate limits can be applied compared to a web service that uses threads which have a high memory usage. On Unix based systems each thread uses around 1 MB (alternatively it is around 10 MB when a thread is created with default attributes).