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

1.3m Images without tiles fail to fully render in image view #225

Closed
peggynewman opened this issue Feb 24, 2025 · 2 comments
Closed

1.3m Images without tiles fail to fully render in image view #225

peggynewman opened this issue Feb 24, 2025 · 2 comments

Comments

@peggynewman
Copy link

Upon investigating image-service tiling speed which was around 1 image per ~23 seconds, realised that there are 1.3m images without tiles that can be extracted by the following query:

SELECT 
    COUNT(*) AS cnt, 
    i.data_resource_uid 
FROM 
    image i
LEFT JOIN 
    audit_message am 
ON 
    i.image_identifier = am.image_identifier
    AND am.message like 'TMS%'

WHERE 
    i.zoom_levels = 0
    AND am.image_identifier IS NULL
GROUP BY 
    i.data_resource_uid
ORDER BY 
    cnt DESC LIMIT 100

and the result includes 55 data resources. Here is the snapshot from the top records:

Image

As per @sbearcsiro 's great work, the tiling queue which was running super slow last week is all tiled and the queue is back to 0 now. But seems that restarting image service will lose the items in the queue and this could have happened many times in the pas due to restarts.

The issue here is the address the tiling task which needs to be resilient against restarts and also its performance should be much higher that the speed of ingesting images into the system.

@peggynewman
Copy link
Author

Is there an update on this? how can we track progress?

@sbearcsiro
Copy link
Contributor

Closing as this is essentially a duplicate of #201 and #211 and is addressed by #214 and #216

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants