Answer the question
In order to leave comments, you need to log in
How to implement the fastest gateway adapter for multiple APIs?
I will not explain why this is, but the essence is simple:
1. use oauth2 authorization
2. convert the "single api gateway interface" to the format of the connected api service
3. send a request
4. pledge and save data
5. return the processed data (the connected api service returns raw data)
If you do it "on the forehead", all this will take from 0.3 seconds to 0.7 seconds for just 1 request. Lots of. The main brake - time doubles: the first request to the gateway, and only the second to the API service.
How to speed up the processing of all this stuff as much as possible and minimize the "main brake"?
How are queues applied here?
How to generalize the same requests sent at about the same time and return the data from the cache?
Are there any implementation examples?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question