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

Redis / PostgresQL reward caching; performance comparison #14

Open
pstjohn opened this issue Sep 25, 2020 · 0 comments
Open

Redis / PostgresQL reward caching; performance comparison #14

pstjohn opened this issue Sep 25, 2020 · 0 comments
Assignees

Comments

@pstjohn
Copy link
Collaborator

pstjohn commented Sep 25, 2020

Would be great to get a quantitative estimation of the performance for redis / postgresQL, perhaps some wrapper functions that make caching easier using either backend.

I've noticed that sometimes the reward calculation takes a while -- with many simultaneous games, we sometimes see the entry not present in the reward buffer, but it gets added by a different node by the time its complete. so this can throw errors

Other things we could cache depending on performance:

  • node values and prior logits (these would have to get cleared every time the model weights are updated)
@pstjohn pstjohn created this issue from a note in alpha zero refactor (To do) Sep 25, 2020
@pstjohn pstjohn assigned pstjohn and dmdu and unassigned pstjohn Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants