Skip to content

Performance Optimizations #43

@coopermaruyama

Description

@coopermaruyama

When the cache TTL expires, the cache will not be refreshed until the next user visits the site, because refreshing the cache is triggered by a request. This means that this user will have a very slow initial loading time.

The architecture needs to be updated such that:

  1. A worker is responsible for updating the cache
  2. Rather than using a memory cache, we setup an external redis server for caching. This has the added benefit that rather than each node in the cluster keeping its own cache, all nodes share one cache (the redis cache).

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions