Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Queue Position Location Algorithim #26

Open
frankcash opened this issue Nov 6, 2014 · 7 comments
Open

Queue Position Location Algorithim #26

frankcash opened this issue Nov 6, 2014 · 7 comments

Comments

@frankcash
Copy link
Collaborator

I propose that the queue looks like [[n+x][n][n-x][0]] where n=invites given/invites received

@mohnjoosemiller
Copy link
Collaborator

There needs to be some weighting for the actual usage. basically, we don't want someone with a 2given/1 recieved to be ahead of a 40 given/25 recieved.... net balance might be good (given-recieved)

@frankcash
Copy link
Collaborator Author

okay so [x0 > x1 <- [[n+x][n][n-x][0]]] where n=invites given/invites received and x0, x1 = user's net balance

@mohnjoosemiller
Copy link
Collaborator

^I'm confused..... what do x0 and x1 represent... confused on the difference between.

@frankcash
Copy link
Collaborator Author

x0 and x1 == user 0 and user 1. So in other words the user before you should have a higher net balance but only if their ratio is higher than yours.

@mohnjoosemiller
Copy link
Collaborator

👍 I like it... definitely something along that theme, though the actual way we weight it may need to be shifted, this is the right way to go for sure.

@frankcash
Copy link
Collaborator Author

@bltsandwich1 I'd like to not have to change later on though, so yeah... let's try and make this is a done once type of thing 🎯

@frankcash frankcash added this to the Beta milestone Nov 10, 2014
@frankcash frankcash self-assigned this Nov 10, 2014
@frankcash
Copy link
Collaborator Author

Probably better to do the rest of this on the front end so not to mess with the server load

A front end merge sort would definitely be a lot easier than me messing with all this data on the server in case we receive a lost of requests at one time.

@frankcash frankcash removed their assignment Nov 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants