#1071 Internal caching
Closed: Dropped 2 years ago by tkopecek. Opened 5 years ago by tkopecek.

Is it safe to employ some caching of immutable data? e.g. listRPMs call consists of reading such data and can be very slow (~90 seconds) for full-distro flags. So, maybe configurable cache backend (memcached) could help us with speed.

Is it worth of complexity? Is it safe enough to assume that these data doesn't change during cache TTL?


As a first step, we chould add a sentence or two to the API documentation for each RPC method where it would be safe for clients to cache the results client-side. listRPMs is one method. What are the others?

Individual rpm entries are immutable. The results of most listRPMs calls are not. It really depends on the parameters.

It would probably make sense to implement some fairly short term caching in kojiweb.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue close_status updated to: Dropped
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata