Article information

2016 , Volume 21, ¹ 4, p.37-48

Demish V.O., Pishchik B.N.

Increase of resistance to breaks of network connections in client applications

The main disadvantage of the client applications working with web services is the inability to get access to information when the connection is failed.

This paper introduces a model of the client application that accesses the database on the server via the API based on CRUD operations. The model assumes storage on the client computer as the local part of the database used and delayed synchronization. Data consistency on the client and a server is achieved by executing queue of method calls of he server side using API stored on the client side. Queue allows transformations to optimize resource usage for the client.

Only information that is requested on the server side is stored on the side of the client application. If the user ceases to use some functions of the application, then the corresponding objects of the database are not updated in the client database, and can be removed at all. Thus, we have the synchronization of data determined by the user behavior rather then the entire synchronization of the data.

The main features of the proposed solution:

∙ The solution does not require code changes on the server side.

∙ Dynamic control for the user’s profile. The same client application, used by different people can handle different sets of information data.

∙The ability of prioritizing the attributes of objects by the importance of their updates on the client side in the context of this domain.

∙ The simplified synchronization for the local client’s database with the server. It is done only for a part of the objects that are requested by the client application.

[full text]
Keywords: Client server application, stability of the client applications, network disconnection

Author(s):
Demish Vsevolod Olegovich
Position: Senior Fellow
Office: Novosibirsk State University
Address: 630090, Russia, Novosibirsk, Pirogova, 2, str.
Phone Office: (383) 3301757
E-mail: v.demish@gmail.com

Pishchik Boris Nikolaevich
PhD.
Position: Senior Research Scientist
Office: Design Technological Institute of Digital Techniques SB RAS
Address: 630090, Russia, Novosibirsk, Academician Rzhanova, 6
Phone Office: (383)3301757
E-mail: Boris.Pishchik@gmail.com

References:
[1] Mulloy, B. API facade pattern — a simple interface to a complex system. Available at: https://pages.apigee.com/api-facade-pattern-ebook.html (accessed 17.02.2016).

[2] Gamma, E., Helm, R., Johnson, R. Design patterns: Elements of reusable object-oriented software. Addison-Wesley; 1994: 395.

[3] Subbu, A. RESTful Web Services Cookbook. O’Reilly Media / Yahoo Press; 2010: 316.

[4] Richardson, L., Amundsen, M., Ruby, S. RESTful Web APIs. O’Reilly Media; 2013: 406.

[5] Brewer, E.A. Towards robust distributed systems. Proc. of the XIX Annual ACM Symp. on Principles of Distributed Computing. Portland: OR; 2000: 7.

[6] Bitrix Site Manager documentation. Available at: https://dev.1c-bitrix.ru/docs/php.php (accessed 17.02.2016). (In Russ.)

[7] Sen, S., Chatterjee, S., Dumir N. Towards a theory of cache-efficient algorithms. Journal of the ACM. 2002; 49(6):828–858.

[8] Coulouris, G., Dollimore, J., Kindberg T. Distributed systems: Concepts and DESign. Addison-Wesley; 2007: 927.

[9] Evernote corporation evernote synchronization via EDAM. 2013: 15. Available at: https://dev.evernote.com/media/pdf/edam-sync.pdf (accessed 08.08.2016)

Bibliography link:
Demish V.O., Pishchik B.N. Increase of resistance to breaks of network connections in client applications // Computational technologies. 2016. V. 21. ¹ 4. P. 37-48
Home| Scope| Editorial Board| Content| Search| Subscription| Rules| Contacts
ISSN 1560-7534
© 2024 FRC ICT