L
L
lil_web2019-10-22 11:59:49
API
lil_web, 2019-10-22 11:59:49

Is it ok to handle multiple tasks with a single request?

To get data at the front, you need to build an API. Ideally, each action should be processed with a separate request to the server, but we cannot allow more than one request: site traffic is half a million a day.
On the site KhTTP / 2, but the majority of them have KhTTP / 1.
We want to use not Rest, but Graf-Kiel.
Whether it will be normal to issue all the necessary data on one request general?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2019-10-22
@lil_web

Firstly, your problem is not in the load, the mother is that your architecture does not allow scaling with such attendance. Shame of you
All data on one request sounds wild - the data should be given in the minimum amount for the functioning of a particular module and only on request.
GraphQL is the cure for tons of REST resources and microservices

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question