An individual leveraged Go's simplicity and concurrency to send 500 million HTTP/1.1 requests to 2.5 million hosts for an ethical hacking use case. By utilizing Kubernetes for horizontal scaling and optimizing both code and libraries, they achieved this massive scale efficiently. Key optimizations included pre-resolving DNS,
Table of contents
How much is 500 million HTTP/1.1 requests?What does it mean to send a single HTTP/1.1 request?How much time does it take to send a single HTTP request?How can we optimize it?Designing the HTTP/1.1 sending cannonChoosing right HTTP libraryOptimizing the librarySkipping DNS resolutionTLS handshake optimizationSplitting the work into chunksScalling the cannon with KubernetesDDoS as a ServiceAvoiding detectionConclusion1 Comment
Sort: