@ssoroka

Let's solve the one issue #429 was opened for. Feel free to open new issues for other concerns. This request is about a specific problem I'm experi…

@ssoroka

Well, I hope you're not taking too much offense to the jab. Obviously we're experiencing very different realities; 1000:1 is reasonable, and I woul…

@ssoroka

I agree there's likely some other bug at play, or you would think eventually it would stabilize regardless of how long it took to accept the connec…

@ssoroka

With logging on in the client, I get lines like the following: {timestamp} Failure connecting to {ip} dial tcp {ip}:{port}: i/o timeout {timestamp}…

@ssoroka

I do see continuous and permanent failures. I would typically not see more than 100 clients connected at a time, with hundreds more unable to conne…

@ssoroka
  • @ssoroka 35bdceb
    Addresses feedback for "single-thread ssl negotiation issue"
@ssoroka

Great, I can add more details in respect to those points: The server in question reports 874.9 sign/s for rsa 2048, under various other load (ie no…

ssoroka commented on pull request elastic/logstash-forwarder#430
@ssoroka

Would you prefer a separate commit or an amend?

ssoroka commented on pull request elastic/logstash-forwarder#430
@ssoroka

Maybe I had an old logstash binary? This caused issues when I ran the tests locally.

ssoroka commented on pull request elastic/logstash-forwarder#430
@ssoroka

server.accept seemed like it was reaching in to the internals a bit too far. refactoring the code broke it, and changing the test to use the new ac…

ssoroka commented on pull request elastic/logstash-forwarder#430
@ssoroka

Unsure. I figured it was better to try a fixed number of times than retry forever.

@ssoroka

I'm happy to share that privately. Needless to say, doing ssl negotiation in a single thread while the server is blocked from accepting connections…

@ssoroka

quad core, hyperthreading, 16gb ram, bare metal box. 2048 bit cert.

ssoroka commented on pull request elastic/logstash-forwarder#430
@ssoroka

I've signed it. Hopefully this updates soon.

@ssoroka
  • @ssoroka 4bba861
    Fixes serious single-thread ssl negotiation issue
ssoroka commented on pull request elastic/logstash-forwarder#430
@ssoroka

yep

@ssoroka

I've attached a pull request for this issue. I've gotten at least 7x better performance on accepting connections with the patch, no more i/o timeou…

@ssoroka
Fixes serious single-thread ssl negotiation issue
1 commit with 37 additions and 24 deletions
@ssoroka
Server connection accepting is not performant, drops connections.
@ssoroka
  • @ssoroka c09ba31
    Fixes serious single-thread ssl negotiation issue
@ssoroka
Running spdy with negroni results in no spdy support.
ssoroka opened issue SlyMarbo/spdy#80
@ssoroka
Running spdy with negroni results in no spdy support.
@ssoroka
a js rpg game. just goofing around
@ssoroka
  • @ssoroka 43df28e
    add examples for how to use the ttime library