There is <http://goran.krampe.se/2014/10/25/nim-socketserver>/ which you can 
use to base your server on. It uses a single `spawn handle(client)` and inside 
your handler you can use ordinary, blocking Nim code that uses the thread pool 
and thus the blocking nature doesn't affect the handling of other clients.

Would I use that personally for production? Yes, I would, given the 
requirements (can use DB modules, don't have to watch out for blocking calls).

Reply via email to