S
S
sldo_ru2020-05-16 17:06:19
API
sldo_ru, 2020-05-16 17:06:19

What is better to use for API design in a high-load service?

Good afternoon. Now before the choice, what technologies to use to build an API in a highly loaded service? I know that there is GraphQL, but I would like to hear the opinion of people who already use / have used this technology. As I understand it, there are few design options: REST / JSON API / GraphQL

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2020-05-16
@inoise

The data exchange protocol has nothing to do with the fact of loading. Use whatever suits your needs. Let me remind you that:

  • REST - Representational State Transfer (simple transfer of state of resources)
  • JSON API is actually HAL ( Hypertext Application Language )
  • And GraphQL simply solves the problem of distributed microservices

And Highload is about architecture

V
Vladimir Korotenko, 2020-05-16
@firedragon

Doesn't it bother you that a banal spell checker will drop your server and you won't know exactly until the moment when people start complaining? For example, everything was broken by the delayed loading feature. Agencies turned on computers in the morning and the server just died

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question