Pavych, NataliyaPavych, Tetyana2020-06-162020-06-162019-02-262019-02-26Pavych N. Method for Time Minimization of Api Requests Service from Cyber-Physical System to Cloud Database Management System / Nataliya Pavych, Tetyana Pavych // Advances in Cyber-Physical Systems. — Lviv : Lviv Politechnic Publishing House, 2019. — Vol 4. — No 2. — P. 125–131.https://ena.lpnu.ua/handle/ntb/52235Authors have analyzed the current state of cloud calculations and discovered the necessity of Application Programming Interface (API) usage in some of the cyberphysical systems (CPhS). The expediency of creating tools to reduce service time of Application Programming Interface requests and effective synchronization of the local and cloud database has been established. The authors clarified one of the main features of data replication. The expediency of using counter generations in the replication process instead of using system timer has been justified. The authors proposed the asynchronous method of accelerated service time for API requests to cloud database management systems using a synchronization accumulative table and registering changes in database with two-step sets of generations. Library that provides implementation of asynchronous API requests for Salesforce cloud management systems has been developed. Any Ruby on Rails application can use this library. Authors have evaluated and carried out benefits for the proposed solutions in test cases. Results of the test cases confirm service time minimization of API requests to the cloud database management system based on the proposed asynchronous method.125-131enAPI requestscloud databasecyberphysical systemsdatabase management systemsminimization methodservice timeMethod for Time Minimization of Api Requests Service from Cyber-Physical System to Cloud Database Management SystemArticle© Національний університет “Львівська політехніка”, 2019© Pavych N., Pavych T., 20197Pavych N. Method for Time Minimization of Api Requests Service from Cyber-Physical System to Cloud Database Management System / Nataliya Pavych, Tetyana Pavych // Advances in Cyber-Physical Systems. — Lviv : Lviv Politechnic Publishing House, 2019. — Vol 4. — No 2. — P. 125–131.