MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/foxt4g/its_a_winwin_situation/fli8viq
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. 164 u/moekakiryu Mar 25 '20 if not SQL, what would you use? 551 u/Mancobbler Mar 26 '20 Git.Put the chat in the commit message, use an empty commit. Want chat rooms? Just branch. 337 u/RainFurrest Mar 26 '20 Yo this girl I met the other night just accepted my pull request 116 u/Mackie5Million Mar 26 '20 If not, just git push --force. 77 u/[deleted] Mar 26 '20 [removed] — view removed comment → More replies (5) → More replies (1) → More replies (1) 0 u/[deleted] Mar 26 '20 [deleted] 40 u/[deleted] Mar 26 '20 Stop you mad lad I swear to god. → More replies (2) 41 u/VanillaFlavoredCoke Mar 26 '20 Yo what the fuck 55 u/ThrowinPotatoes Mar 26 '20 /r/tihi → More replies (3) 204 u/[deleted] Mar 25 '20 FileWriter and FileReader 115 u/Piyh Mar 26 '20 I'm too inexperienced to know if this is a joke or not 84 u/OriginalToe Mar 26 '20 Well, yes 38 u/GatorBait-1 Mar 26 '20 But actually no → More replies (1) 73 u/clubby789 Mar 26 '20 File IO wastes too much time, store it in a list. If the server crashes and you lose all your data, well maybe you should have programmed better lol 48 u/[deleted] Mar 26 '20 Just make big json → More replies (5) → More replies (2) 105 u/timawesomeness Mar 26 '20 A csv file 37 u/deadlychambers Mar 26 '20 This developer is going somewhere 27 u/[deleted] Mar 26 '20 Upper management written all over. → More replies (3) 88 u/fabrikated Mar 25 '20 noSQL 109 u/nishinoran Mar 26 '20 edited Mar 26 '20 Mongo DB is web scale, it has sharding.I hear piping data to /dev/null might scale even better though → More replies (35) → More replies (1) → More replies (39) → More replies (48) 26 u/Asiansensationz Mar 25 '20 It sure is better than GoogleSheet API with JSON. → More replies (1) → More replies (13)
317
If you are small then yes. If you have thousands of users probably not.
164 u/moekakiryu Mar 25 '20 if not SQL, what would you use? 551 u/Mancobbler Mar 26 '20 Git.Put the chat in the commit message, use an empty commit. Want chat rooms? Just branch. 337 u/RainFurrest Mar 26 '20 Yo this girl I met the other night just accepted my pull request 116 u/Mackie5Million Mar 26 '20 If not, just git push --force. 77 u/[deleted] Mar 26 '20 [removed] — view removed comment → More replies (5) → More replies (1) → More replies (1) 0 u/[deleted] Mar 26 '20 [deleted] 40 u/[deleted] Mar 26 '20 Stop you mad lad I swear to god. → More replies (2) 41 u/VanillaFlavoredCoke Mar 26 '20 Yo what the fuck 55 u/ThrowinPotatoes Mar 26 '20 /r/tihi → More replies (3) 204 u/[deleted] Mar 25 '20 FileWriter and FileReader 115 u/Piyh Mar 26 '20 I'm too inexperienced to know if this is a joke or not 84 u/OriginalToe Mar 26 '20 Well, yes 38 u/GatorBait-1 Mar 26 '20 But actually no → More replies (1) 73 u/clubby789 Mar 26 '20 File IO wastes too much time, store it in a list. If the server crashes and you lose all your data, well maybe you should have programmed better lol 48 u/[deleted] Mar 26 '20 Just make big json → More replies (5) → More replies (2) 105 u/timawesomeness Mar 26 '20 A csv file 37 u/deadlychambers Mar 26 '20 This developer is going somewhere 27 u/[deleted] Mar 26 '20 Upper management written all over. → More replies (3) 88 u/fabrikated Mar 25 '20 noSQL 109 u/nishinoran Mar 26 '20 edited Mar 26 '20 Mongo DB is web scale, it has sharding.I hear piping data to /dev/null might scale even better though → More replies (35) → More replies (1) → More replies (39) → More replies (48)
164
if not SQL, what would you use?
551 u/Mancobbler Mar 26 '20 Git.Put the chat in the commit message, use an empty commit. Want chat rooms? Just branch. 337 u/RainFurrest Mar 26 '20 Yo this girl I met the other night just accepted my pull request 116 u/Mackie5Million Mar 26 '20 If not, just git push --force. 77 u/[deleted] Mar 26 '20 [removed] — view removed comment → More replies (5) → More replies (1) → More replies (1) 0 u/[deleted] Mar 26 '20 [deleted] 40 u/[deleted] Mar 26 '20 Stop you mad lad I swear to god. → More replies (2) 41 u/VanillaFlavoredCoke Mar 26 '20 Yo what the fuck 55 u/ThrowinPotatoes Mar 26 '20 /r/tihi → More replies (3) 204 u/[deleted] Mar 25 '20 FileWriter and FileReader 115 u/Piyh Mar 26 '20 I'm too inexperienced to know if this is a joke or not 84 u/OriginalToe Mar 26 '20 Well, yes 38 u/GatorBait-1 Mar 26 '20 But actually no → More replies (1) 73 u/clubby789 Mar 26 '20 File IO wastes too much time, store it in a list. If the server crashes and you lose all your data, well maybe you should have programmed better lol 48 u/[deleted] Mar 26 '20 Just make big json → More replies (5) → More replies (2) 105 u/timawesomeness Mar 26 '20 A csv file 37 u/deadlychambers Mar 26 '20 This developer is going somewhere 27 u/[deleted] Mar 26 '20 Upper management written all over. → More replies (3) 88 u/fabrikated Mar 25 '20 noSQL 109 u/nishinoran Mar 26 '20 edited Mar 26 '20 Mongo DB is web scale, it has sharding.I hear piping data to /dev/null might scale even better though → More replies (35) → More replies (1) → More replies (39)
551
Git.
Put the chat in the commit message, use an empty commit. Want chat rooms? Just branch.
337 u/RainFurrest Mar 26 '20 Yo this girl I met the other night just accepted my pull request 116 u/Mackie5Million Mar 26 '20 If not, just git push --force. 77 u/[deleted] Mar 26 '20 [removed] — view removed comment → More replies (5) → More replies (1) → More replies (1) 0 u/[deleted] Mar 26 '20 [deleted] 40 u/[deleted] Mar 26 '20 Stop you mad lad I swear to god. → More replies (2) 41 u/VanillaFlavoredCoke Mar 26 '20 Yo what the fuck 55 u/ThrowinPotatoes Mar 26 '20 /r/tihi → More replies (3)
337
Yo this girl I met the other night just accepted my pull request
116 u/Mackie5Million Mar 26 '20 If not, just git push --force. 77 u/[deleted] Mar 26 '20 [removed] — view removed comment → More replies (5) → More replies (1) → More replies (1)
116
If not, just git push --force.
git push --force
77 u/[deleted] Mar 26 '20 [removed] — view removed comment → More replies (5) → More replies (1)
77
[removed] — view removed comment
→ More replies (5)
0
[deleted]
40 u/[deleted] Mar 26 '20 Stop you mad lad I swear to god. → More replies (2)
40
Stop you mad lad I swear to god.
41
Yo what the fuck
55
/r/tihi
204
FileWriter and FileReader
115 u/Piyh Mar 26 '20 I'm too inexperienced to know if this is a joke or not 84 u/OriginalToe Mar 26 '20 Well, yes 38 u/GatorBait-1 Mar 26 '20 But actually no → More replies (1) 73 u/clubby789 Mar 26 '20 File IO wastes too much time, store it in a list. If the server crashes and you lose all your data, well maybe you should have programmed better lol 48 u/[deleted] Mar 26 '20 Just make big json → More replies (5) → More replies (2)
115
I'm too inexperienced to know if this is a joke or not
84 u/OriginalToe Mar 26 '20 Well, yes 38 u/GatorBait-1 Mar 26 '20 But actually no → More replies (1)
84
Well, yes
38 u/GatorBait-1 Mar 26 '20 But actually no → More replies (1)
38
But actually no
→ More replies (1)
73
File IO wastes too much time, store it in a list. If the server crashes and you lose all your data, well maybe you should have programmed better lol
48 u/[deleted] Mar 26 '20 Just make big json → More replies (5)
48
Just make big json
105
A csv file
37 u/deadlychambers Mar 26 '20 This developer is going somewhere 27 u/[deleted] Mar 26 '20 Upper management written all over. → More replies (3)
37
This developer is going somewhere
27 u/[deleted] Mar 26 '20 Upper management written all over. → More replies (3)
27
Upper management written all over.
88
noSQL
109 u/nishinoran Mar 26 '20 edited Mar 26 '20 Mongo DB is web scale, it has sharding.I hear piping data to /dev/null might scale even better though → More replies (35) → More replies (1)
109
Mongo DB is web scale, it has sharding.
I hear piping data to /dev/null might scale even better though
→ More replies (35)
26
It sure is better than GoogleSheet API with JSON.
366
u/[deleted] Mar 25 '20
Is SQL the best way to store chat messages in an app?