Bug 758954 - Use an in-memory cache to improve web app responsiveness
Summary: Use an in-memory cache to improve web app responsiveness
Keywords:
Status: CLOSED EOL
Alias: None
Product: PulpDist
Classification: Community
Component: Web App
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: 0.4.0
Assignee: Nick Coghlan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-01 03:13 UTC by Nick Coghlan
Modified: 2016-09-29 03:04 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 03:04:30 UTC


Attachments (Terms of Use)

Description Nick Coghlan 2011-12-01 03:13:31 UTC
The current naive implementation of the web app calls out to the remote Pulp servers directly in the page rendering process.

This is basically only usable when the PulpDist web app and the configured Pulp server(s) are all on the same LAN - pages become very slow to render if there is a high latency WAN connection between the two servers.

This is basically the exact problem that memcached is intended to address - we don't really need a full blown backend daemon (that's what Pulp is for!), just somewhere to stash the data that doesn't change very often (such as the list of repositories on the server) so we don't have to look it up on the remote server all the time.

Longer term, we can add a small daemon that uses AMQP message traffic to update and/or invalidate cache entries based on changes made to the Pulp repos.

Comment 1 Nick Coghlan 2011-12-01 03:27:31 UTC
(The in-memory cache doesn't *specifically* have to be memcached - part of addressing this issue would be looking at the available options like memcached and Redis, and choosing one).

Comment 2 Nick Coghlan 2016-09-29 03:04:30 UTC
Marking all remaining PulpDist issues as CLOSED-EOL

It doesn't make sense to leave these issues open, as PulpDist hasn't been in active development for quite some time, and restarting development would involve a significant modernisation effort that would likely render many of these requests irrelevant.


Note You need to log in before you can comment on or make changes to this bug.