Is webrick server single thread?

Hi All.

Webrick server is single threaded or multiple thread?

how to check it?

Thanks Tsolmon

It is single threaded. Puma is a good multithreaded server if you want that.

Webrick has always been a multi-threaded server. You can see this yourself (look for start_thread method call when a new request comes in):

https://github.com/ruby/webrick/blob/master/lib/webrick/server.rb#L187