Skip to content

Social Database Patterns

github.com/pyistanbul
40 pointsekinertac7 comments
On HN

Comments

I found their github page, maybe that will do for now: https://github.com/fatiherikli/dbpatterns

It seems like this is missing the ability to specify queries that you might want to perform on top of the model. It would be very helpful if the intent is to learn.

For example in this pattern here: http://dbpatterns.com/documents/507c943589cbad13b228926a/

It would be nice if the author could specify what the query for "Does user with ID X have permission with ID Y"

A distributed, transactional graph database like Titan (http://thinkaurelius.github.com/titan/) would be a more natural fit for modeling a social graph.

See http://thinkaurelius.com/2012/08/06/titan-provides-real-time...

The site is down now, HN effect.

Use the age old trick to get the cached copy from Google -

cache:dbpattern.com

since most of the target crowd probably uses orm/frameworks one way or the other, it would be nice if there were some 'export' options for that (django orm, sqlalchemy, rails orm, etc.).

Could not handle HN traffic?

offline here..

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.