Great video. You framed the problem really well. Thanks for sharing
@oscar5915Ай бұрын
Thank you for the sharing, looking forward for more concurrency in golang videos, appreciated!
@TiagoTaquelimАй бұрын
Thank you! More to come definitely!
@prashlovessamosaАй бұрын
Great thanks for sharing.
@TiagoTaquelimАй бұрын
Thank you for the support as always 💪
@charliesta.abc123Ай бұрын
Great video! This becomes a headache in production because it's almost impossible to reproduce
@TiagoTaquelimАй бұрын
Indeed, thats why I made that small script to reproduce it myself. But ye it's nice to log when this happens to know how often it happens or not.
@minh1762Ай бұрын
thank you for the video. can you make a video for GORM. thanks
@arthbenАй бұрын
Nice content.. I'm curious, have you try query something like "select ... for update" ?
@TiagoTaquelimАй бұрын
For fetching the post ?
@arthbenАй бұрын
@@TiagoTaquelim the idea is before execute update query, select the post with "for update". It will block others until the query commited.
@TiagoTaquelimАй бұрын
@@arthben That will work but my goal was to avoid locking
@LongLe-ju1zdАй бұрын
I am completely new to backend, is your paid course for complete newbies, if not what should I learn first to be able to take the course?
@TiagoTaquelimАй бұрын
It requires you to be familiar with Go and some basics of programming. If you're new to building web applications but know already Go and basics of programming then it's a good fit, otherwise check other videos on my channel to see if they're too complex.
@alexaconner7251Ай бұрын
Which vs code theme you are using?
@TiagoTaquelimАй бұрын
Gruvbox
@nabinsaud4688Ай бұрын
Is this repo open source ?
@TiagoTaquelimАй бұрын
Not yet, but it will be.
@iamlostinrealityАй бұрын
Another way of solving this specific problem is to only update fields that are being updated
@TiagoTaquelimАй бұрын
Yup, for these 2 properties it would be ok, but if I wanted to update more fields the code would be a bit hard to maintain imo.