Another more low-level option could be a key-value store like LevelDB.
You would have to figure out how to represent the relationships between users yourself, but there's no query language to learn and lookups are super fast.
Here's a cool LevelDB wrapper for Node that I've been meaning to try out:
A key value store wouldn't make sense for me to add the "friends of friends" functionality, since effectively it will be parsing through the entire list. I can still try to get an optimised method by using hashing to locate items I guess. Thanks for the suggestion.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Another more low-level option could be a key-value store like LevelDB.
You would have to figure out how to represent the relationships between users yourself, but there's no query language to learn and lookups are super fast.
Here's a cool LevelDB wrapper for Node that I've been meaning to try out:
github.com/level/level
A key value store wouldn't make sense for me to add the "friends of friends" functionality, since effectively it will be parsing through the entire list. I can still try to get an optimised method by using hashing to locate items I guess. Thanks for the suggestion.