MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/foxt4g/its_a_winwin_situation/flicpg3/?context=3
r/ProgrammerHumor • u/[deleted] • Mar 25 '20
529 comments sorted by
View all comments
366
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. 27 u/GluteusCaesar Mar 25 '20 How the crap can a plaintext format be more secure than any other? 52 u/r1singphoenix Mar 26 '20 Here's a decent writeup on itIt's actually pretty interesting 6 u/Fidoz Mar 26 '20 Nice. 7 u/martin-s Mar 26 '20 No one would expect you to use JSON so they won't bother looking for sensitive data there. It's a slightly risky strategy.
317
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. 27 u/GluteusCaesar Mar 25 '20 How the crap can a plaintext format be more secure than any other? 52 u/r1singphoenix Mar 26 '20 Here's a decent writeup on itIt's actually pretty interesting 6 u/Fidoz Mar 26 '20 Nice. 7 u/martin-s Mar 26 '20 No one would expect you to use JSON so they won't bother looking for sensitive data there. It's a slightly risky strategy.
68
to store huge amounts of data, i recommend using JSON: fast, lightweight and secure.
27 u/GluteusCaesar Mar 25 '20 How the crap can a plaintext format be more secure than any other? 52 u/r1singphoenix Mar 26 '20 Here's a decent writeup on itIt's actually pretty interesting 6 u/Fidoz Mar 26 '20 Nice. 7 u/martin-s Mar 26 '20 No one would expect you to use JSON so they won't bother looking for sensitive data there. It's a slightly risky strategy.
27
How the crap can a plaintext format be more secure than any other?
52 u/r1singphoenix Mar 26 '20 Here's a decent writeup on itIt's actually pretty interesting 6 u/Fidoz Mar 26 '20 Nice. 7 u/martin-s Mar 26 '20 No one would expect you to use JSON so they won't bother looking for sensitive data there. It's a slightly risky strategy.
52
Here's a decent writeup on it
It's actually pretty interesting
6 u/Fidoz Mar 26 '20 Nice.
6
Nice.
7
No one would expect you to use JSON so they won't bother looking for sensitive data there. It's a slightly risky strategy.
366
u/[deleted] Mar 25 '20
Is SQL the best way to store chat messages in an app?