Answer the question
In order to leave comments, you need to log in
What solutions (best practice) exist for caching data received from external APIs?
The organization has an API, which is provided by standard 1C tools. A web application is being written that will use data from the 1c database using this API. I wrote asynchronous JS functions that provide data to the web client in a convenient form (JSON), but there is one BUT. Some API requests take 10-20-30 seconds, which is not very pleasant for application users. The data in the database does not change often (two or three times a day), and therefore I want to make some kind of solution that will speed up the user's work.
So I think that it is necessary to deploy an intermediate database on the server and implement periodic data synchronization between the 1C API and the database.
What is the best solution for such a task? Maybe there are already proven technologies and best practice?
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