-
Notifications
You must be signed in to change notification settings - Fork 6
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
Investigate how to deal when large amount of data is sent by provider through OPTIMADE #12
Comments
I think this is related to the If you remove the I would suggest an additional filter by Skipping the page would be annoying as you will lose the other structures from that page (unless you step through to find the offending structure). |
(Having more general handling for 504 might be useful though, as you suggest) |
Thanks for the suggestions!
I think indeed it would be much better to restrict to lower cell volume. Not only this is breaking the query, but also this extremely large structures will (most of the time) break GSASII too, and the only way to fix it is by manually deleting those structures and uploading into the database.
I am wondering how would the best way to handle that for all cases. For now I will just raise an error, and limit the COD volume. If 504 still happens due to a different issue I will come back to think how to handle it. Edit: The only difference now is to check query speed by each interface. |
This seems to be fixed by restricting the volume of COD structures, so I will close it for now. |
Currently when a provider sends a large amount of data back from an optimade structure query, it results in a error 503/504 and the querier stop, example is when querying COD for ['Si', 'O'] system.
For example this query URL will return 504
Example of extremely large file:
COD ID 1552091
Investigate how to handle this.
Ideas:
The text was updated successfully, but these errors were encountered: