Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make serve with more threads with Hunchentoot

I am using Hunchentoot for a web app to be a high traffic db driven app, also depends on web sockets protocol and http ajax requests. When I benchmark my app with apache benchmark as

ab -c 50 -n 1000

connection is reset prompt is shown. for unto 40 concurrency test is completed but after not. How can one increase max-thread-count of Hunchentoot.

What is the realistic numbers of concurrency and request number per unit time for a high traffic web app that I should think according to? for example for reddit or twitter.

like image 308
sçuçu Avatar asked Oct 31 '22 22:10

sçuçu


1 Answers

You can pass in a number to the taskmaster with the :max-thread-count keyword.

like image 67
Triclops200 Avatar answered Nov 16 '22 19:11

Triclops200