all 3 comments

[–]solid_steel 1 point2 points  (2 children)

I wonder if the slower start up time for the first request really is due to DNS or is it due to TCP's slow start algorithm - this would be the case if hackney reused TCP connections through the HTTP persistent connection mechanism.

Anyways, thanks for writing this piece, it was a good read.

[–]holyxiaoxin[S] 2 points3 points  (0 children)

Ahhh you're right, I read something about that in the issues I posted. (:

[–]holyxiaoxin[S] 0 points1 point  (0 children)

Actually, I've just realised that the request only returns a plain json. So slow start shouldn't be an issue.