perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.65k stars 1.56k forks source link

Is Spark multithreaded? #536

Closed hajoxx closed 8 years ago

hajoxx commented 8 years ago

I wrote a simple server that contains one POST route. But it does a little heavy task sometimes.

It means other POST requests will be waited when the current is going on? Or other requests will be responded parallelly?

Thanks

perwendel commented 8 years ago

http://sparkjava.com/documentation.html#threadpool