Skip to content

n+1 and memory bloat in page rendering #481

Description

@thibaudcolas

The site is regularly going well over its memory quota in production, and generally has poor performance. This is very detrimental for users. And I think there are easy pickings on page rendering specifically. and llms.txt generation.

Solutions that I think we should try:

  • Set up assertions on query count in tests
  • Reduce overfetching / fetch better just by reworking the code
  • Caching with invalidation on revision IDs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions