so i'm getting some weird behavior with listenTCP...
looking in wireshark, i see that my client attempts to connect to the server, but then receives a RST, ACK packet from the server... any idea what could be going wrong here?
xz joined the channel
xz
hi there, I'm doing resp = await treq.get(...) if resp.code = http.OK: #perform database write
oberstet2 joined the channel
however, the problem is that I do many treq requests and by the time I get to #perform database write I don't know which request is related to specific response
how do you handle that situation? I think I should do .addCallback and pass some extra param there to be able to identify request with matching response
wgrant joined the channel
ephemer0l_ has quit
ephemer0l_ joined the channel
ok, so I have my system up and running more less. It does 100 HTTP requests sequentially every 10ms one request. And then I gather all results and push to database using adbapi. twistd consumes 60% of CPU consistently, is that normal?
I had around 85% CPU usage on threading, I thought twisted would be much better than that
other than some string concatinations, MySQL database writes/reads and HTTP GET requests my applicatoin doesn't do anything else
jlitzingerdev reviewed <https://tm.tl/#9295> - t.web._newclient.TransportProxyProducer does not implement loseConnection (assigned to jlitzingerdev)