Comments (9)
It builds fine on windows with vs2015 rc, just ran build.bat, plenty of warnings but no errors, didn't try the benchmarking though
from haywire.
Wow really? I haven't touched it in ages! Any chance you could benchmark single-threaded and multi-threaded mode to make sure it works? I suspect at least multi-threaded mode will be broken.
from haywire.
first off, http_response_cache.c needs to include time.h otherwise it crashes instantly when built for 64-bit.
wrk is problematic to build on windows so I ignored it and ran it from a virtual linux box instead, command line
../bin/wrk/wrk --script ./pipelined_get.lua --latency -d 30s -t 8 -c 32 http://192.168.0.82:8000 -- 64
it didn't accept -R as a param for some reason so I removed it.
results are here for single threaded
https://gist.github.com/Paxxi/c6ff33f23c49e57b166c
Trying to run it with 4 threads it dies in haywire\lib\libuv\src\win\stream.c#uv_listen with stream->type set to 0.
from haywire.
Yeah I suspect the IPC consumer piping I'm doing for multi-threading is a problem on Windows. It did work at one time I believe but then all the sudden stopped working. I suspect a libuv bug but I'm not 100% sure. It could be the Haywire implementation.
Yeah -R is used in wrk2
https://github.com/giltene/wrk2
Wrk2 is good for more correct latency metrics because it accounts for coordinated omission. We should probably include both Wrk for max requests/second benchmarks and Wrk2 for latency benchmarking.
How about removing -R for now from the benchmark script so it doesn't confuse people?
from haywire.
I also wonder if we are using the wrong pipe name format for Windows to work properly. Can you change it in Haywire and see if it fixes anything?
https://github.com/aspnet/KestrelHttpServer/blob/lodejard/stuff/samples/TcpEcho/Program.cs#L133
from haywire.
Maybe split benchmark.sh into two, one for wrk and one for wrk2?
I'll see if I have some time during the weekend to test some more and rry that change
from haywire.
Hitting an issue compiling on VS 2015 Update 1
Is there a work around for this?
"e:\Git\haywire\haywire.sln" (default target) (1) ->
"e:\Git\haywire\haywire_hello_world.vcxproj.metaproj" (default target) (4) ->
"e:\Git\haywire\haywire_shared.vcxproj.metaproj" (default target) (5) ->
"e:\Git\haywire\haywire_shared.vcxproj" (default target) (6) ->
(Link target) ->
http_request.obj : error LNK2019: unresolved external symbol strndup referenced in function hw_print_request_headers [e:\Git\haywire\haywire_shared.vcxproj]
e:\Git\haywire\builds\windows\debug\haywire_shared\haywire.dll : fatal error LNK1120: 1 unresolved externals [e:\Git\haywire\haywire_shared.vcxproj]
from haywire.
I think this is fixed by #97
from haywire.
@nmdguerreiro that does fix it 👍
from haywire.
Related Issues (20)
- Default configuration
- haywire_hello_world sometimes segfaults HOT 4
- build fails on OS X 10.11.3 with latest Xcode HOT 2
- [Discussion] Running the benchmarks
- Reduce malloc() and free() calls HOT 2
- Error building on Windows 2012 R2 Standard (x64) and MVSC2015 HOT 1
- Errors building ib Ubuntu HOT 1
- How about haywire vs h2o or mongoose? HOT 1
- remote peer address
- i run hello world sample on windows(visual studio), when i change thread count > 0, sample can't run HOT 1
- compiling with gyp HOT 3
- Is there any plan to support websocket?
- Should the print body function (hw_print_body) be in Hawyire.h?
- Assertion failed: (server->loop == client->loop) when starting IPC worker threads
- Create a Makefile to replace make.sh HOT 1
- Investigate using mlock
- Split the multi-event loop IPC and REUSEPORT multi-threading from http_server
- Assertion failed: ... does not yet support other types of streams
- pointer being freed was not allocated
- Use the fastest Http Parser picoparser
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 haywire.