The Unix Way, everybody!

Also, first post!

@linuxmemes

you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 2 years ago (6 children)

Just fucking putting data into json files in a folder is so much easier than databases. Sure, databases are faster and give you access to powerful SQL queries. But if you're just making something small and simple, you don't need those things. Save yourself the hassle and just use the filesystem.

Or use minio/s3, which can either be the best or the worst of both worlds depending on your usecase.

  • source
  • hideshow 6 child comments
  • [–] 10 points 2 years ago (2 children)

    It also makes you re-implement a database, but worse.

    Use a JSON file if you just need to serialize/deserialize some data. Use SQLite or a DB server if you need more. Your own code will never match the quality of SQLite.

  • source
  • parent
  • hideshow 2 child comments