bobo@lemmy.ml to Programmer Humor@programming.dev · 2 months agoGood job Docker!i.imgur.comvideomessage-square9linkfedilinkarrow-up1125arrow-down10file-text
arrow-up1125arrow-down1videoGood job Docker!i.imgur.combobo@lemmy.ml to Programmer Humor@programming.dev · 2 months agomessage-square9linkfedilinkfile-text
minus-squarefibojoly@sh.itjust.workslinkfedilinkarrow-up9·2 months agoSeriously, I was new to frontend and using jQueryUI back then and it took me like a few seconds to lookup the term and parameter so my autocompletes wouldn’t DoS my backend. I’m amazed to see shit like this in prod.
minus-squareKojichan@lemmy.worldlinkfedilinkarrow-up8·2 months agoI was beginning to stress out at the rest call every letter typed. 1-3 second delay! Stop hammering your server!
Debouncing is thy friend.
Seriously, I was new to frontend and using jQueryUI back then and it took me like a few seconds to lookup the term and parameter so my autocompletes wouldn’t DoS my backend. I’m amazed to see shit like this in prod.
I was beginning to stress out at the rest call every letter typed. 1-3 second delay! Stop hammering your server!