Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The bigger tell is that half the article is unnecessary space-filling hyperbole...

The overwhelming majority of the speed-up here would come from the database, which is trivially easy to run on tmpfs. When using Docker, it's literally a one-liner! For example:

docker run -d --tmpfs /var/lib/mysql -p 127.0.0.1::3306/tcp -e MYSQL_ROOT_PASSWORD=[password] mariadb:11.8

Of course you need a really good backup story for this to be a reasonable choice.



Wow that's neat, had no idea about --tmpfs flag (I submitted this article because I found it interesting but am not the author)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: