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
Server analysis could use cloud analysis in the opening #3758
Comments
What do you think @niklasf? ATM cloud analysis doesn't have an HTTP API, but it could be added. |
Architecturally it seems a bit wierd to let fishnet query an HTTP API. Instead lila could add information from its own database. |
It also seems weird to send analysis to fishnet. Also it's hard to just tell fishnet "don't analyse these positions, I got them already" because by the time fishnet completes the analysis, the cloud eval entry could be gone (they expire if unused). Actually nevermind that, using a cloud eval entry like that could also prevent expiration. So lichess could add to the fishnet payload a list of plies that need not be analyzed. |
For now I'll just monitor how many positions are affected. |
Turned out this change results in 13% less work for the same result, so it was deployed |
Currently, when a server analysis is requested, all moves are analysed, including the opening. The opening however, could be queried from the cloud, which has a much deeper analysis. So the suggestion is, whenever a (deeper) cloudanalysis is available, to use that one, instead of a (redundant) shallower reanalysis. This would save time, and should save a bit on the electricity bill too!
The text was updated successfully, but these errors were encountered: