News for hackers. Stuff that matters.
Re:Startup CTO – Premature Scaling by zzzcpan on Monday May 08, 2017 @09:37AM (#14291320)
"MySQL + Redis"

I think this would be 10x more expensive to set up, manage, maintain and use than something like Riak.

Re:Startup CTO – Premature Scaling by Posibyte on Monday May 08, 2017 @10:57AM (#14292023)
Can you explain why you think that? I would imagine using two rather popular systems in a somewhat common combination would be a boon to maintainability and set up, if at least for the large pool of developers and online resources already available for it.

But then again, I could be super mistaken. I'm interested in seeing another side of it.

Re:Startup CTO – Premature Scaling by sbarre on Monday May 08, 2017 @02:05PM (#14294035)
This was also my thought when I made the comment...

I am sure that for certain use cases, there are more tailored solutions, but "SQL + keystore" seems like a fairly universal, affordable and versatile stack.

Re:Startup CTO – Premature Scaling by user5994461 on Monday May 08, 2017 @06:09PM (#14296097)
They are different databases. Riak is a key value store, not unlike the core of redis. The SQL database is obviously relational.

Ignoring the difference for a minute. If you can fit data in Redis, chances are that they can fit in riak and a RDBMS is not needed at all.

Why Riak only then?

It is one of the very few databases that can be clustered. It is sharded, multi-master, highly available, to talk in buzzwords. It is very reliable and very robust, you can add/remove nodes as you wish, replication is highly configurable, etc...

Postgre/Mysql/MariaDB + Redis have no HA. They are both the disaster in disaster recovery.

Re:Startup CTO – Premature Scaling by aries1980 on Tuesday May 09, 2017 @09:47AM (#14299923)
If you want SQL and proper master-master replication, check Couchbase.
Re:Startup CTO – Premature Scaling by libertymcateer on Monday May 08, 2017 @09:47AM (#14291386)
I am using postgres and redis - they are both trivial to set up and cost about a few lattes a month for a fairly scalable solution. If I had huge traffic, a few hundred bucks a month would be totally adequate - and this is running on the too-expensive heroku. So, unless Riak costs pennies and takes literal minutes to set up, the 10x claim won't hold.

Riak looks like it would be overpowered by my needs - but then again, I learn something new every day.