News for hackers. Stuff that matters.
Re:DHH: The HEY stack Vanilla Ruby on Rails, MySQL, redis, s... by thisisbrians on Thursday June 25, 2020 @01:07PM (#23642867)
DHH (somewhat surprisingly) said he really has no preference between MySQL and Postgres: https://twitter.com/dhh/status/1275909837793062912
Re:DHH: The HEY stack Vanilla Ruby on Rails, MySQL, redis, s... by Aduket on Thursday June 25, 2020 @01:10PM (#23642900)
What does that answer of his even mean? That he prefers mysql ?
Re:DHH: The HEY stack Vanilla Ruby on Rails, MySQL, redis, s... by BiteCode_dev on Thursday June 25, 2020 @01:13PM (#23642942)
I interpret it as "I didn't think about it, picked the first thing that worked in the past, and don't wish to make an argument about it, so let it go".
Re:DHH: The HEY stack Vanilla Ruby on Rails, MySQL, redis, s... by torgoguys on Thursday June 25, 2020 @01:25PM (#23643088)
I think he means that if you use Postgres you are more likely to also be an evangelist for it. That doesn't tend to happen on the Mysql side. You don't hear people saying "you should switch from postgres to mysql" but you hear plenty of the opposite. Mysql works fine for most things and so that's what he used.
Re:DHH: The HEY stack Vanilla Ruby on Rails, MySQL, redis, s... by Lammy on Thursday June 25, 2020 @01:13PM (#23642944)
I assume it means his bottleneck has always been somewhere higher up in the stack :)
Re:DHH: The HEY stack Vanilla Ruby on Rails, MySQL, redis, s... by thisisbrians on Thursday June 25, 2020 @01:37PM (#23643240)
Now that I've thought about it more, it makes more sense. When used properly, Rails handles a bunch of the stuff that would make Postgres a better choice (like data validation, constraints, etc.)