Opened 3 years ago

Last modified 3 years ago

#63722 closed defect

ports.macports.org: page refreshes for "maintained by me" and "watched by me" now incredibly slow — at Version 2

Reported by: mascguy (Christopher Nielsen) Owned by: arjunsalyan (Arjun Salyan)
Priority: Normal Milestone:
Component: website Version:
Keywords: Cc:
Port:

Description (last modified by mascguy (Christopher Nielsen))

Per recent discussion on the dev mailing list, page refreshes for areas "Maintained by Me" and "Watched by Me," which used to refresh near-instantly, are now painfully slow: These routinely take up to 30 seconds to refresh, which is an eternity relative to the previous behavior.

Initially the thought was that perhaps this was due to the backlog of updates - there was four days' worth - and/or site warmup. But a few days later, things haven't improved whatsoever.

It almost looks as if the database used as the backing store, is now lacking an index. Or perhaps the index needs to be rebuilt, to handle the expanded port name limits?

Regardless, this needs to be fixed.

Link to the mailing list discussion:

https://lists.macports.org/pipermail/macports-dev/2021-October/043830.html

Change History (2)

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Interestingly enough, if I use the REST API to pull the equivalent set of ports as "Maintained by Me," the response is returned very quickly - within one or two seconds.

So it doesn't appear to be an issue with the database after all. The question is, what is the page doing now, given that the API is still incredibly responsive?

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

Description: modified (diff)

Just timed a page refresh, with Firefox Dev Tools enabled. It now takes up to 30 (!!!) seconds.

Updated ticket description to match.

Note: See TracTickets for help on using tickets.