AtlasOfLivingAustralia / ala-bie-hub

BIE (Biodiversity Information Explorer) hub - merge of old ala-bie and bie-plugin
Mozilla Public License 2.0
1 stars 5 forks source link

BIE pages loading slowly #112

Open kylie-m opened 7 months ago

kylie-m commented 7 months ago

On using species pages intensively over the last month or so, I have noticed an increasing lag time between selecting a taxon and the return of the species page with occurrence records.

Over the course of this morning, I've been recording what species pages I've visited and how long it's taken for actual occurrences to appear on the page and it is in the attached. Most of the species pages I've queried today have returned a page unresponsive error and most take over 20 seconds to return an answer.

Links: see Slack thread for conversation and excel doc to download: https://atlaslivingaustralia.slack.com/archives/C03EJ7ARZQW/p1701830071414869

Excel doc screenshot included:

Image

adam-collins commented 7 months ago

The problem today is this call by biocache-service curl -X POST -H "content-type: application/json" "https://images.ala.org.au/ws/findImagesByMetadata" -d '{ "key": "occurrenceid", "values": ["718cc91a-c476-47d1-9914-ff9818ac3a0a"]}'. There are 3 per page visit and they are consistently taking >20s to respond.

adam-collins commented 7 months ago

Related https://github.com/AtlasOfLivingAustralia/biocache-service/issues/867

adam-collins commented 7 months ago

related https://github.com/AtlasOfLivingAustralia/ala-bie-hub/commit/54a1ba4ccf49e4b126ab460573b4fc0b0b17fbcf