Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache sections for SectionSpaceMiddleware #250

Open
thejoeejoee opened this issue Nov 17, 2023 · 0 comments
Open

Cache sections for SectionSpaceMiddleware #250

thejoeejoee opened this issue Nov 17, 2023 · 0 comments
Assignees
Labels
👨‍💻 backend backend related 🟰 performance Performance related

Comments

@thejoeejoee
Copy link
Member

  • section space middleware is loading the section for each call -- would be better to cache sections based on all properties and invalidate the registry for each section change
  • be aware of multiple pods
SELECT "sections_section"."id", "sections_section"."created", "sections_section"."modified",
  "sections_section"."name", "sections_section"."country", "sections_section"."code",
  "sections_section"."space_slug", "sections_section"."system_state"
FROM "sections_section"
WHERE "sections_section"."space_slug" = %s
LIMIT 21
@thejoeejoee thejoeejoee added 👨‍💻 backend backend related 🟰 performance Performance related labels Nov 17, 2023
@deawer234 deawer234 self-assigned this Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👨‍💻 backend backend related 🟰 performance Performance related
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants