loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Paper Unlock

Authors: António Esteves and João Fernandes

Affiliation: Centro ALGORITMI, School of Engineering, University of Minho, Campus de Gualtar, Braga and Portugal

Keyword(s): Web Performance Optimization, Latency, Web Application, Django, Python.

Related Ontology Subjects/Areas/Topics: Internet Technology ; Web Information Systems and Technologies ; Web Programming ; Web Services and Web Engineering

Abstract: This paper describes the process of optimizing the latency of Python-based Web applications. The case study used to validate the optimizations is an article sharing system, which was developed in Django. Memcached, Celery and Varnish enabled the implementation of additional performance optimizations. The latency of operations was measured, before and after the application of the optimization techniques. The optimization of the application was performed at various levels, including the transfer of content across the network and the back-end services. HTTP caching, data compression and minification techniques, as well as static content replication using Content Delivery Networks, were used. Partial update of the application’s pages on the front-end and asynchronous processing techniques were applied. The database utilization was optimized by creating indexes and by taking advantage of a NoSQL solution. Memory caching strategies, with distinct granularities, were implemented to store te mplates and application objects. Furthermore, asynchronous task queues were used to perform some costly operations. All of the aforementioned techniques favorably contributed to the Web application’s latency decrease. Since Django operates on the back-end, and optimizations must be implemented at various levels, it was necessary to use other tools. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 3.144.172.115

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Esteves, A. and Fernandes, J. (2019). Improving the Latency of Python-based Web Applications. In Proceedings of the 15th International Conference on Web Information Systems and Technologies - WEBIST; ISBN 978-989-758-386-5; ISSN 2184-3252, SciTePress, pages 193-201. DOI: 10.5220/0007959401930201

@conference{webist19,
author={António Esteves. and João Fernandes.},
title={Improving the Latency of Python-based Web Applications},
booktitle={Proceedings of the 15th International Conference on Web Information Systems and Technologies - WEBIST},
year={2019},
pages={193-201},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0007959401930201},
isbn={978-989-758-386-5},
issn={2184-3252},
}

TY - CONF

JO - Proceedings of the 15th International Conference on Web Information Systems and Technologies - WEBIST
TI - Improving the Latency of Python-based Web Applications
SN - 978-989-758-386-5
IS - 2184-3252
AU - Esteves, A.
AU - Fernandes, J.
PY - 2019
SP - 193
EP - 201
DO - 10.5220/0007959401930201
PB - SciTePress