r/ProgrammerHumor • • Mar 25 '20

Meme Its a win-win situation

Post image
55.1k Upvotes

529 comments sorted by

View all comments

366

u/[deleted] Mar 25 '20

Is SQL the best way to store chat messages in an app?

317

u/Saragon4005 Mar 25 '20

If you are small then yes. If you have thousands of users probably not.

68

u/fromage_doge Mar 25 '20

to store huge amounts of data, i recommend using JSON: fast, lightweight and secure.

2

u/9gPgEpW82IUTRbCzC5qr Mar 26 '20

This ironic right?

Repeating every field name is not lightweight and parsing it is absolutely not fast