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

matching algorithm #4

Open
1 task
lambtron opened this issue Mar 29, 2015 · 0 comments
Open
1 task

matching algorithm #4

lambtron opened this issue Mar 29, 2015 · 0 comments

Comments

@lambtron
Copy link
Member

  • persistent data store (redis?)
  // join a room based on client preference.
  // - ice cream, beer, or coffee.
  // - age limitations

  // return users in the room that fit the criteria

  // packet.userId
  // get the user from mongo
  // then find users from mongo that fit that user's filters/preferences
  // remove the users that don't have that user's in their preferences (reverse)
  // return the remaining array of users

  // things to do:
  // - get packet, check to see if match
  // - if match, then do stuff! call uber.
  // - if no match, ignore
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

1 participant