3 ms·
1. Has the lack of multithreading been a problem in any way? 2. Do you do the standard deployment of putting nginx/haproxy in front of a load of processes? 3.
by damagednoob 10y ago
1. Has the lack of multithreading been a problem in any way?
2. Do you do the standard deployment of putting nginx/haproxy in front of a load of processes?
3. Have you been able reuse any Ruby code (including gems) or do they have to be Crystal specific.
- sdogruyol 10y ago1. It hasn't been a problem for us. 2. We put Nginx in front of Kemal and it's working like a charm :) 3. Well we haven't tried but it's pretty simple with sidekiq.cr https://github.com/mperham/sidekiq.cr https://github.com/mperham/sidekiq.cr
- masukomi 10y ago1. most ruby code can't be used in crystal, but is trivial to port. 2. Crystal doesn't use gems (because of 1). it uses shards. Lack of multithreading is an issue for _ME_ because i'm working on an app that could really benefit from it. Just because Ruby is used almost exclusively for webapps doesn't mean Crystal is. Also, the "load another copy of the entire app into memory" that Rails people use is a really crappy way of doing "multithreading" .