Y
Hacker News
new
|
ask
|
show
|
jobs
by
fafhrd91
3344 days ago
problem with Sanic that it does not implement streaming properly. so it is very easy to kill any Sanic process, 10-20 seconds. again any.
1 comments
dalanmiller
3344 days ago
Would you mind elaborating?
link
fafhrd91
3344 days ago
check Sanic code, it loads whole incoming payload into memory before processing it. event for 404, so I can write very simple script that would consume all memory. and you can not really protect sanic service with proxy (nginx)
link