clojureverse / clojureverse/clojurians-log-app

Do profiling of the sitemap

Open
#106 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
85
Forks
21
PR merge metrics
No merged PRs in 30d

Description

The sitemap xml takes a looong time to load. We should at least get to an understanding of where that time is spent.

Can we query more efficiently?

Is the XML rendering slow?

Can we grab the data from the indexer component instead? -> I'm pretty sure we have the necessary data already here in memory, so if the querying is the bottleneck then this would make a big difference.

It's also worth looking at the cloudflare settings, I have the impression this isn't being cached, even though it should be very cacheable.

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin by profiling the sitemap XML request end to end, separating query time, XML rendering time, indexer data access, and Cloudflare caching behavior. Done means the main source of the delay is identified and the findings are recorded, including whether querying the in-memory indexer data or adjusting caching should be pursued.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, xml
Domain
backend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.