M
M
mitaichik2021-11-08 13:21:10
Java
mitaichik, 2021-11-08 13:21:10

How to make 1000 https requests in parallel?

Hello!

There is a project (Spring Boot) in which you need to make a bunch of requests to a third-party api.
1000 requests at the same time, without interruption.

What would you recommend for something like this, so that it is acceptable in terms of resources?
Before that, I always used OkHttp / Retrofit (so close for android, but it works great on the backend too)
But, I'm afraid, it won't pull it ....

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Roo, 2021-11-08
@xez

webflux-client

M
mitaichik, 2021-11-10
@mitaichik

Guys, in general, I sinned in vain on OkHttp - it seems to keep the norms.
My jamb would be that I did not close the response body.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question