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

Track number of crew executions #109

Open
whoabuddy opened this issue Nov 11, 2024 · 1 comment
Open

Track number of crew executions #109

whoabuddy opened this issue Nov 11, 2024 · 1 comment

Comments

@whoabuddy
Copy link
Contributor

whoabuddy commented Nov 11, 2024

We want to know this per crew, per user, and overall.

Edit: we also want to know number of chat executions and number of custom crew executions.

@r0zar
Copy link

r0zar commented Dec 2, 2024

Seems straightforward. Also seems like a good usecase for a sorted-set data structure.

With a sorted-set we can store the each of these executions with a compound-key, and assign a score (number of executions) so we can easily display it in a leaderboard like structure.

e.g. Get range CREW-USERX(100) => get top 100 user crews by execution count.

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