Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 6edbe665ee
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (30 sloc) 0.778 kB

Friendship

This is an experiment in using various databases to store social graph information and perform common operations on that data. I'm mostly interested in tinkering around with various databases, data structures, and service interfaces.

This idea is rated not-production-ready, and experimental.

Take a look in examples for a benchmark and a use-case. Don't say I never did anything for you.

Protocol

friend(user, user) unfriend(user, user) friendships(user) mutual_friends(user, user) friend_of?(user, user)

Storage

Today:

  • Cassandra
  • Redis sets
  • Redis lists

Someday, maybe:

  • Memcached
  • PostgreSQL
  • Riak
  • In-memory

Investigate

  • Grape-based API
  • Request stages via EM
  • Bloom-filter storage
  • Memcached protocol
  • An Ernie service
Jump to Line
Something went wrong with that request. Please try again.