misalcedo / tortuga

A CGI and WCGI server for HTTP/1.1
Apache License 2.0
7 stars 0 forks source link

WASM Fails to handle high throughput #117

Closed misalcedo closed 8 months ago

misalcedo commented 8 months ago

The WASI script fails under load and segfaults. The README shows an example of non-200 responses under load.

misalcedo commented 8 months ago

This is actually a problem of WASM and pprof interacting. I removed the profiling from the benchmarks and they work fine now.

misalcedo commented 8 months ago

For example:

cached wcgi             time:   [3.5922 ms 3.6556 ms 3.7360 ms]