Comments (12)
I'll investigate I have
wrk -H 'Connection: keep-alive' -d 5s -c 512 --timeout 8 -t 8 http://172.17.0.2:3000
Running 5s test @ http://172.17.0.2:3000
8 threads and 512 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 0.00us 0.00us 0.00us -nan%
Req/Sec 0.00 0.00 0.00 -nan%
0 requests in 5.06s, 0.00B read
Requests/sec: 0.00
Transfer/sec: 0.00B
Maybe Worker running as root. Is this intended? Set user/group from config to run worker as unprivileged user.
, I think we have to change the user on dockerfile
from web-frameworks.
Is it the picture for both Serverino and Handy?
Do you mean set user inside dockerfile?
from web-frameworks.
No only servernio. I'll work on this.
Yes, seems that the cause is docker. Not sure why, but there is no communication between docker and servernio
from web-frameworks.
Btw I've tried to run it in the docker locally. And it is working for me for both handy and serverino.
I used just simple Dockerfile. Build it and run with
docker run -d -p 3000:3000 image_name
from web-frameworks.
With handy
the following command
wrk -H 'Connection: keep-alive' --connections 64 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://172.17.0.2:3000
leads to
Running 15s test @ http://172.17.0.2:3000
8 threads and 64 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 27.59ms 42.32ms 489.95ms 86.06%
Req/Sec 222.25 384.21 2.18k 90.00%
24702 requests in 15.07s, 458.34KB read
Socket errors: connect 0, read 24702, write 0, timeout 0
Requests/sec: 1638.88
Transfer/sec: 30.41KB
from web-frameworks.
It looks almost the same that I got locally on my laptop
from web-frameworks.
I have
★ [000008] [l] 2023-08-14 16:09 [connectionhandler.d:0315] Socket error on read. Resource temporarily unavailable
when running servernio
on my laptop through docker
from web-frameworks.
Not sure I understand https://github.com/trikko/serverino/blob/e425ffcb2090bd7fd6f9d1db7c230a5dbc7035e5/source/serverino/connectionhandler.d#L315 @trikko and why a GET request could produce this
cc @cyrusmsk
from web-frameworks.
Hi. Did you change something in the run? Because now serverino is working.. but it is strange..
from web-frameworks.
Yes, strange.
I've only update the version
from web-frameworks.
Will close for now.
Maybe we can delete archttp - it looks abandoned and not working currently.
from web-frameworks.
Is archttp abandoned @zoujiaqing ?
from web-frameworks.
Related Issues (20)
- [PHP] Use fpm image only if engine is php-fpm
- [PHP] Add reactphp for chubbyphp
- [PHP] Add https://github.com/dunglas/frankenphp
- [PHP] Add https://github.com/dunglas/frankenphp
- Compile on CI with debug flags
- [Java] Add helidon microprofile
- [Crystal] Update orion to 4.0
- [PHP] Use one docker ayer forextensions and modules
- [Ruby] Should we update the Rails/Ruby tests to use YJIT? HOT 4
- Why not use wrk2? HOT 4
- [Dart] Try to remove shell copying onto minimal container
- uWebSockets (javascript framework) is not included in the latest release [2024-01-23 (19a4d71)] HOT 1
- [JavaScript] Update spiffy version in results
- [V] Set bootstrap in config
- hono is only tested using node, should be tested using bun HOT 6
- [Javascript] Use pup for deno
- Check java version displayed HOT 1
- Add Litestar python framework HOT 1
- [Dart] Add more frameworks HOT 6
- Running tests without postgres
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 web-frameworks.