News for hackers. Stuff that matters.
Re:IRCCloud by alexpopescu on Friday November 29, 2013 @04:52PM (#6821161)
Can you share what you store in each of the databases?

Here's what I'd speculate:

- Redis: message lists for active users

- Postgres: account details

- Cassandra: all messages

Thanks.

Re:IRCCloud by metabrew on Friday November 29, 2013 @04:56PM (#6821175)
Yep, postgres has all the account / user details, lists of what network and channels to join, billing etc.

All the irc messages end up in cassandra, via rabbitmq. We use local redis as a cache for the most recent messages. Our cassandra cluster is on EC2 (~11ms away from our other hardware, which is in LA).