3 ms·
The networking side of things still isn't mature. A couple of years ago, I tried to write a parallel download app as my first Crystal app. It ended up as slow
by shaicoleman 6y ago
The networking side of things still isn't mature.
A couple of years ago, I tried to write a parallel download app as my first Crystal app. It ended up as slow as the Ruby version. After some digging, I found out it was because the DNS resolver wasn't multithreaded.
Years later, the issue is still open.
https://github.com/crystal-lang/crystal/pull/2829 https://github.com/crystal-lang/crystal/pull/2829
https://github.com/crystal-lang/crystal/pull/4236 https://github.com/crystal-lang/crystal/pull/4236
It's still a good fit for CPU-bound workloads, and efficient background jobs and where I wouldn't want to install Ruby. Also seems be a good fit for AWS Lambda.