Publicação
Improving the latency of Python-based web applications
| Resumo: | 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 tem plates 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 |
|---|---|
| Autores principais: | Esteves, António |
| Outros Autores: | Fernandes, João |
| Assunto: | Web Performance Optimization Latency Web Application Django Python |
| Ano: | 2019 |
| País: | Portugal |
| Tipo de documento: | comunicação em conferência |
| Tipo de acesso: | acesso aberto |
| Instituição associada: | Universidade do Minho |
| Idioma: | inglês |
| Origem: | RepositóriUM - Universidade do Minho |
Registos relacionados
school Planeador de viagem em veleiro - logística
por: Azevedo, Gonçalo Ferreira de
Publicado em: (2022)
por: Azevedo, Gonçalo Ferreira de
Publicado em: (2022)
school Plataforma de software para gestão dos doentes mentais internados em instituições do setor social no Hospital Fernando Fonseca.
por: Canelas, Bruno Alexandre Gomes da Silva
Publicado em: (2022)
por: Canelas, Bruno Alexandre Gomes da Silva
Publicado em: (2022)
article Characterization of a metric for web applications (web points)
por: Salgado, Ana Sofia Mendes
Publicado em: (2021)
por: Salgado, Ana Sofia Mendes
Publicado em: (2021)
school Shopping trends: a machine learning approach to recommendation systems to improve customer loyalty
por: Lacerda, Paulo Henrique Alves de
Publicado em: (2022)
por: Lacerda, Paulo Henrique Alves de
Publicado em: (2022)
groups Runtime object lifetime profiler for latency sensitive big data applications
por: Rodrigo, Bruno
Publicado em: (2019)
por: Rodrigo, Bruno
Publicado em: (2019)
article Development of a web application for management of learning styles
por: Pereira, Rosa
Publicado em: (2009)
por: Pereira, Rosa
Publicado em: (2009)
article Towards a framework for adaptive web applications
por: Sampaio, Ana I.
Publicado em: (2014)
por: Sampaio, Ana I.
Publicado em: (2014)
article Characterizing the control logic of web applications’ user interfaces
por: Silva, Carlos Eduardo
Publicado em: (2014)
por: Silva, Carlos Eduardo
Publicado em: (2014)
article Combining static and dynamic analysis for the reverse engineering of web applications
por: Silva, Carlos Eduardo
Publicado em: (2013)
por: Silva, Carlos Eduardo
Publicado em: (2013)
school Desenvolvimento de uma aplicação computacional para o cálculo de cargas térmicas em edifícios
por: Agostinho, Abel Mateus Lopes
Publicado em: (2025)
por: Agostinho, Abel Mateus Lopes
Publicado em: (2025)
article A document-oriented web-based application for supporting collaborative product development
por: Rocha, Filipe
Publicado em: (2010)
por: Rocha, Filipe
Publicado em: (2010)
article Usage cases: A useful way to improve effectiveness of e-learning web based platforms
por: Wanzeller, Cristina
Publicado em: (2011)
por: Wanzeller, Cristina
Publicado em: (2011)
article Network Latency Adaptive Tempo in the Public Sound Objects System
por: Barbosa, Álvaro
Publicado em: (2005)
por: Barbosa, Álvaro
Publicado em: (2005)
article Probabilistic control of HIV latency and transactivation by the Tat gene circuit
por: Cao, Youfang
Publicado em: (2018)
por: Cao, Youfang
Publicado em: (2018)
school Automated web scraping and data visualisation for tourism based on popular accommodation platforms
por: Pereira, Sérgio Rosa
Publicado em: (2022)
por: Pereira, Sérgio Rosa
Publicado em: (2022)
school Web browser access to cryptographic hardware
por: Braga, Leonel João Fernandes
Publicado em: (2012)
por: Braga, Leonel João Fernandes
Publicado em: (2012)
article ViralFP: a web application of viral fusion proteins
por: Moreira, Pedro
Publicado em: (2021)
por: Moreira, Pedro
Publicado em: (2021)
article Web-based applications for open display networks : developers’ perspective
por: Taivan, Constantin
Publicado em: (2015)
por: Taivan, Constantin
Publicado em: (2015)
school Development of a web clinical management application
por: Cerqueira, Rúben Correia
Publicado em: (2023)
por: Cerqueira, Rúben Correia
Publicado em: (2023)
school Conceção e implementação de uma plataforma web para acolhimento de um metadicionário
por: Freitas, Angélica Matos de
Publicado em: (2024)
por: Freitas, Angélica Matos de
Publicado em: (2024)
article AutoOC: A Python module for automated multi-objective One-Class Classification
por: Ferreira, Luís
Publicado em: (2023)
por: Ferreira, Luís
Publicado em: (2023)
school Web Interaction Environments: Characterising Web Accessibility at the Large
por: Lopes, Rui Miguel do Nascimento Dias
Publicado em: (2012)
por: Lopes, Rui Miguel do Nascimento Dias
Publicado em: (2012)
school Children dyscalculia: a web system for diagnosis and treatment
por: Cachulo, César Augusto Lourenço
Publicado em: (2020)
por: Cachulo, César Augusto Lourenço
Publicado em: (2020)
school Web-based applications for open display networks
por: Taivan, Constantin
Publicado em: (2014)
por: Taivan, Constantin
Publicado em: (2014)
book The Past Web: exploring web archives (pre-print)
por: Gomes, Daniel
Publicado em: (2021)
por: Gomes, Daniel
Publicado em: (2021)
school Development of a framework for the classification of antibiotics adjuvants
por: Silva, Carla Rafaela Mendes da
Publicado em: (2022)
por: Silva, Carla Rafaela Mendes da
Publicado em: (2022)
school Web Modelling for Web Warehouse Design
por: Gomes, Daniel
Publicado em: (2007)
por: Gomes, Daniel
Publicado em: (2007)
article Steps towards online monitoring systems and interoperability
por: Ferreira, Diana
Publicado em: (2019)
por: Ferreira, Diana
Publicado em: (2019)
school Development of a web-based platform for Biomedical Text Mining
por: Fernandes, Emanuel Queiroga Amorim
Publicado em: (2019)
por: Fernandes, Emanuel Queiroga Amorim
Publicado em: (2019)
school Uma plataforma Web para a gestão de dados e modelos de previsão de aderência em sistemas de reforço de betão
por: Pereira, Marta Isabel Macedo
Publicado em: (2014)
por: Pereira, Marta Isabel Macedo
Publicado em: (2014)
school Métricas de diversidade vegetal na província da Huíla: uma solução WEBSIG
por: Rafael, Marina Filomena Francisco
Publicado em: (2018)
por: Rafael, Marina Filomena Francisco
Publicado em: (2018)
article Evaluating web site structure based on navigation profiles and site topology
por: Simões, Alberto
Publicado em: (2013)
por: Simões, Alberto
Publicado em: (2013)
article Trends in Web characteristics
por: Miranda, João
Publicado em: (2009)
por: Miranda, João
Publicado em: (2009)
article Algorithm-Aided Design with Python: Analysis of Technological Competence of Subjects
por: Pontes, Thiago
Publicado em: (2018)
por: Pontes, Thiago
Publicado em: (2018)
article Engagement in digital games and web applications using adaptive matching-to-sample tasks in teaching reading
por: Junior, Gilberto Nerino de Souza
Publicado em: (2017)
por: Junior, Gilberto Nerino de Souza
Publicado em: (2017)
article An Updated Portrait of the Portuguese Web
por: Miranda, João
Publicado em: (2009)
por: Miranda, João
Publicado em: (2009)
school Using container-based virtualization on web apps production environment: dipcode development cycle
por: Guimarães, Luís Miguel Pinheiro
Publicado em: (2022)
por: Guimarães, Luís Miguel Pinheiro
Publicado em: (2022)
article The Modelery: a model-based software development repository
por: Couto, Rui
Publicado em: (2015)
por: Couto, Rui
Publicado em: (2015)
school Penetration testing of software defined networks through Web applications
por: Andrade, Ricardo Miguel Nunes
Publicado em: (2019)
por: Andrade, Ricardo Miguel Nunes
Publicado em: (2019)
school Aplicação Web de apoio à reciclagem de resíduos domésticos
por: Leitão, André Filipe Massano
Publicado em: (2021)
por: Leitão, André Filipe Massano
Publicado em: (2021)
Registos relacionados
-
school Planeador de viagem em veleiro - logística
por: Azevedo, Gonçalo Ferreira de
Publicado em: (2022) -
school Plataforma de software para gestão dos doentes mentais internados em instituições do setor social no Hospital Fernando Fonseca.
por: Canelas, Bruno Alexandre Gomes da Silva
Publicado em: (2022) -
article Characterization of a metric for web applications (web points)
por: Salgado, Ana Sofia Mendes
Publicado em: (2021) -
school Shopping trends: a machine learning approach to recommendation systems to improve customer loyalty
por: Lacerda, Paulo Henrique Alves de
Publicado em: (2022) -
groups Runtime object lifetime profiler for latency sensitive big data applications
por: Rodrigo, Bruno
Publicado em: (2019)