Comments (2)
Hi, I also encounter such timeout problem several times. Right now, I did not understand the problem completely. Here are few guesses:
- you are using
ab -n 10000 -c 10
, without-k
, every request opens a new TCP connection, the operating system get quite busy doing its work, and fail sometimes - ab is know to be buggy in OS X. You may want to try wrk
- Linux does not seem to have such problem
Are open file limits being hit
I guess not. Since if so, a exception should be printed out by http-kit
Or some JVM limits? Is GC getting in the way
I guess not. The os is more likely to be blamed
or if it needs debugging at all
I agree, maybe this is not a problem at all. You can try ab
with -k
option, or wrk
. The problem should disappear.
from http-kit.
Thanks!
from http-kit.
Related Issues (20)
- HttpClient breaks on chunked response with trailer HOT 6
- http-kit doesn't get past fastly - "Requested host does not match any Subject Alternative Names (SANs)" HOT 3
- get to specific url returns empty body, while other clients don't HOT 1
- Handle closing connection by client HOT 2
- Fix regression: the new default SNI client doesn't support `:insecure?` req option HOT 2
- HttpServer#tryWrite HOT 1
- Outdated http.async.client fails to compile HOT 2
- 2.8.0 beta1 blows up size of babashka image HOT 1
- Capture number of processors at runtime in a graalvm binary HOT 2
- http-kit client accepts some bad SSL certificates by default HOT 2
- Issue preventing non-keep-alive benchmarks HOT 1
- Race condition in TimerService.scheduleTask HOT 2
- Ring websocket API support HOT 4
- Problem in native-image and HttpUtils when using virtual threads HOT 11
- 2.8.0-beta2 has CIDER dependencies HOT 3
- CURL and finagle failing to parse :set-cookies with '\n' HOT 13
- Unix socket benchmark HOT 1
- It will turn headers into camel format HOT 2
- logger-warn gets rebound HOT 1
- logger-warn and error-warn are passed in wrong order to HttpServer constructor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http-kit.