Тёмный
Software Developer Diaries
Software Developer Diaries
Software Developer Diaries
Подписаться
Hello and welcome to my channel! 👋 I'm Gus, a Software Developer who loves sharing the learnings throughout the journey. At the moment, I work as a Software Engineer at Bosch, with experience in Web Development & Machine Learning (a weird mix, I know), and love pushing the limits. I share purely tech topics, career growth, lifehacks, and some fun content - so join me!

Please consider SUBSCRIBING to the channel, if you like the content. If not, please, leave a comment on how I can improve it. All ideas and suggestions are warmly welcomed! :)

DISCLAIMER: I’m lucky enough to occasionally have sponsored/affiliated products to review and feature on my channel. I would not recommend anything that I don't like or believe in as a customer myself, so you can be sure that all views are honest and 100% mine.
All the videos, songs, images, and graphics used in the video belong to their respective owners and I or this channel do not claim any right over them.
I tried ranking Node.js Design Patterns
10:35
3 месяца назад
Node.js "Event Emitters" Explained
9:50
4 месяца назад
The Broken Senior-Only Developer Market
7:11
5 месяцев назад
How to make your application scalable?
12:16
6 месяцев назад
What the hell is JavaScript's Intl API?
8:01
7 месяцев назад
Комментарии
@essienemmanuelsamuel1533
@essienemmanuelsamuel1533 10 часов назад
Nice video 😊 I'd really love to get examples of projects with what you think is the most suitable architecture 🙇
@harrypotil860
@harrypotil860 20 часов назад
You promised that you would make a vedio on how Discord would have avoided Cassandra beforehand
@yoloopen
@yoloopen День назад
Shared db shouldn't be called an anti-pattern. Becasue if you have a split payments and users dbs, you'll still have some dependencies between them, and you're complicating your life drastically by rolling out a multi-db transaction, it's super error prone. So multi-db schema hard to get right and hard to maintain.Deadlocks doesn't seem to be a relevant argument, because if you're updating tables that aren't related there cannot be a deadlock. And if you're updating user and a payment simultaneously, you can run into a deadlock condition either with a shared db, or during your multi-db transaction. 3:00 "If you're trying to scale in the future" - valid point, but "in the future" is the key here. If you'll have to scale it in the future, you'll be dealing with more problems of multi-db transactions in the future, rather than from the beginning. And watching further only assured how error-prone distributed transactions are. "1 phase: we begin and do inserts, 2 phase we do the commit" - no, this is wrong, it will be screwed up if your "commit" query fails in the second phase, this is not what 2 phase is. And this is the exact reason why everybody should avoid designing multi-db microservices at all costs without necessity, and do a thorough research if there is a necessity. "And a second pattern is Saga, but rollback here is too complicated for explanation, so let's move further, but remember that the simple way is an anti-pattern"
@harrypotil860
@harrypotil860 День назад
👌 👌 loved the way paused when 4:24 memorable 7:22 Quorum Consistency level 7:55 Data Services 8:19 Tokyo 10:09 RAID 11:41 p99 latency
@user-wp6ji7uy8v
@user-wp6ji7uy8v 2 дня назад
Great video, simple, clear and to the point :)
@jeniamtl6950
@jeniamtl6950 2 дня назад
I think he made at least two mistakes in REST and gRPC talks: 1. In REST you do not need to under/over fetch. You can use query params. 2. In gRPC you do not need to use HTTP2. It's also mostly not supposed by reverse proxies, app gateways and so on. Correct me if I'm wrong please.
@mimshins
@mimshins 2 дня назад
Why not just return Promise.resolve(data) or Promise.reject(error)?
@yogeshmahale8389
@yogeshmahale8389 3 дня назад
Awesome. I am looking for this video only...Now I am doing code review of junior developers very efficiently with this tips.
@Finn-jp6pn
@Finn-jp6pn 3 дня назад
Can't we always use async keyword to implicitly return a promise instead of explicitly returning a new promise? 🤔
@axel_huth
@axel_huth 3 дня назад
👍😎👍
@sergeyagronov9650
@sergeyagronov9650 4 дня назад
great video :)
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 3 дня назад
Thanks! 🙏
@tonyjin4771
@tonyjin4771 4 дня назад
promise-deferred, this is what you want to use it. look at this npm code.
@RyanThickett
@RyanThickett 4 дня назад
Honestly I just find the async await pattern so much cleaner anyway, stringing together .then().catch().error() etc... always looked super ugly to me, whereas having a function you can just await and then deal with however you want to after is clean.
@adolfomartin5456
@adolfomartin5456 4 дня назад
I agree with you. Sometimes we have to use new Promise ... but in at the moment I'm sure I've forgotten this video.
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 3 дня назад
I also agree, async await is always better :)
@chris94kennedy
@chris94kennedy 4 дня назад
pretty cool, some nice sugar. Also prevents the antipattern of an async anon function in a Promise constructor
@sergiyrudenko905
@sergiyrudenko905 5 дней назад
Thank you!
5 дней назад
Awesome
@Jarjarniks
@Jarjarniks 5 дней назад
Would have loved to be able to see this repository and investigate the routes, services, controllers etc in more detail. Thank you for the great video nonetheless!
@user-dh8rm3ob4f
@user-dh8rm3ob4f 5 дней назад
RABBITMQ deep dive please
@alphonsoacqua
@alphonsoacqua 5 дней назад
Outstanding! Finally someone is making quality videos about advanced Node.js. Thank you. 🤝
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 3 дня назад
Thanks mate 😊!
@rakibahmed4139
@rakibahmed4139 6 дней назад
Please make videos on OWASP document ❤
7 дней назад
0:19 - wait, I'm not ready yet!
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 6 дней назад
Ooops 😁
@sulabhnepal5534
@sulabhnepal5534 7 дней назад
I am writing Packages and company projects with Co-Pilot 🙂
@sanjayms-so9wq
@sanjayms-so9wq 9 дней назад
helpful
@Robay146
@Robay146 10 дней назад
Love you too, bro.
@jefersoncosta2621
@jefersoncosta2621 10 дней назад
This playlist is awesome! Thank you!
@olatunjiolakunle6908
@olatunjiolakunle6908 11 дней назад
This was well explained
@DevKeBanNghe
@DevKeBanNghe 11 дней назад
Should combine cluster and worker thread in project ?
@saravanansb96
@saravanansb96 7 дней назад
Yes you can... Indeed use package managers such as pm2 which does most of the work regarding clustering. For threading use in built worker thread module which is really easy to use.
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 12 дней назад
Forgot to mention: Dependency Injection also facilitates unit testing and mocking 😉
@wishmeheaven
@wishmeheaven 12 дней назад
Call me crazy but when a content provider is referring to another video (whether it happens in the first 10 seconds, at the video title itself, neither of those, or BOTH!), I can respect the fact that s/he also put a minimum effort into the kind gesture of sharing a link to this video.
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 12 дней назад
That’s a task for the viewer, maybe they’ll stumble upon something else while searching for that video 😉
@wishmeheaven
@wishmeheaven 11 дней назад
​@@SoftwareDeveloperDiaries that is what I thought of as your motivation. I didn't think it was made out of evil. Yet, giving your viewers the credit that they will search the video on their own but not giving them the credit to simply appreciate the small things like linking to another video is questionable. Time is the most valuable source in this existence. Now try to understand how annoying it feels to search for "part1" when I'm not even sure it was included in the title of the first video, which considering your response, if it's true - it is almost rude, expecting your viewers to invest their time, looking for a first part without titling it as such And I think that it is already clear by now, but if it wasn't: take me as an example for a viewer, and ask yourself what you really achieved: I came here to watch your video, I immediately stopped and looked for the first part along with the feeling that this is not so kind of you "enforcing" me to do so, I gave up when couldn't track down a title with "p.1" or anything similar, I came back here to invest the most value resource in this existence by sharing you how frustrating was this experience, and in the end I didn't even get to see any of those videos. So... Your approach might work. It might even make you new subscribers. But due to the fact that the description of the video already contains links, it doesn't seem so kind preferring people to go through what I have been through only because you're not giving them enough credit that if they will appreciate your content - they will find the way to consume more of it by nature... Just because it's good... And just because it's you. In conclusion, you had 2 options: 1. Making a kind gesture of adding a link to another video, and respecting people's time by providing them the optimal conditions to watch both videos. 2. Intentionally skipping the gesture of providing a link, letting people invest their time by looking for the 1st part, and ignore the fact that they are having a frustrating experience by doing so while they end up watching neither of those videos. Here's a tip to life: If you have 2 options and one of those options "requires" from you to be kind, always prefer this option. Good luck.
@wishmeheaven
@wishmeheaven 11 дней назад
​​@@SoftwareDeveloperDiariesthat is what I thought of as your motivation. I didn't think it was made out of evil. Yet, giving your viewers the credit that they will search the video on their own but not giving them the credit to simply appreciate the small things like linking to another video is questionable. Time is the most valuable resource in this existence. Now try to understand how annoying it feels to search for "part1" when I'm not even sure it was included in the title of the first video, which considering your response, if it's true - it is almost rude, expecting your viewers to invest their time, looking for a first part without titling it as such And I think that it is already clear by now, but if it wasn't: take me as an example for a viewer, and ask yourself what you really achieved: I came here to watch your video, I immediately stopped and looked for the first part along with the feeling that this is not so kind of you "enforcing" me to do so, I gave up when couldn't track down a title with "p.1" or anything similar, I came back here to invest the most value resource in this existence by sharing you how frustrating was this experience, and in the end I didn't even get to see any of those videos. So... Your approach might work. It might even make you new subscribers. But due to the fact that the description of the video already contains links, it doesn't seem so kind preferring people to go through what I have been through only because you're not giving them enough credit that if they will appreciate your content - they will find the way to consume more of it by nature... Just because it's good... And just because it's you. In conclusion, you had 2 options: 1. Making a kind gesture of adding a link to another video, and respecting people's time by providing them the optimal conditions to watch both videos. 2. Intentionally skipping the gesture of providing a link, letting people invest their time by looking for the 1st part, and ignore the fact that they are having a frustrating experience by doing so while they end up watching neither of those videos. Here's a tip to life: If you have 2 options and one of those options "requires" from you to be kind, always prefer this option. Good luck.
@wishmeheaven
@wishmeheaven 11 дней назад
That is what I thought of as your motivation. I didn't think it was made out of evil. Yet, giving your viewers the credit that they will search the video on their own but not giving them the credit to simply appreciate the small things like linking to another video is questionable. Time is the most valuable resource in life. Now try to understand how annoying it feels to search for "part1" when I'm not even sure it was included in the title of the first video, which considering your response, if it's true - it is almost rude, expecting your viewers to invest their time, looking for a first part without titling it as such And I think that it is already clear by now, but if it wasn't: take me as an example for a viewer, and ask yourself what you really achieved: I came here to watch your video, I immediately stopped and looked for the first part along with the feeling that this is not so kind of you "enforcing" me to do so, I gave up when couldn't track down a title with "p.1" or anything similar, I came back here to invest the most value resource in this existence by sharing you how frustrating was this experience, and in the end I didn't even get to see any of those videos. So... Your approach might work. It might even make you new subscribers. But due to the fact that the description of the video already contains links, it doesn't seem so kind preferring people to go through what I have been through only because you're not giving them enough credit that if they will appreciate your content - they will find the way to consume more of it by nature... Just because it's good... And just because it's you. In conclusion, you had 2 options: 1. Making a kind gesture of adding a link to another video, and respecting people's time by providing them the optimal conditions to watch both videos. 2. Intentionally skipping the gesture of providing a link, letting people invest their time by looking for the 1st part, and ignore the fact that they are having a frustrating experience by doing so while they end up watching neither of those videos. Here's a tip to life: If you have 2 options and one of those options "requires" from you to be kind, always prefer this option. Good luck.
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 10 дней назад
@@wishmeheaven Dude. Righting this comment probably took you 10x more time than searching for the video 😄I think you took it waaay to seriously than you should've. Nevertheless, I agree with all your points and appreciate your input. I might reconsider the current approach.
@amjad-se
@amjad-se 13 дней назад
Another thing needed to survive is to take breaks from time to time and spend it with friends and family.
@jackfilleyreviews6844
@jackfilleyreviews6844 13 дней назад
these videos are absolutely golden i love you
@jackfilleyreviews6844
@jackfilleyreviews6844 13 дней назад
Hey, love this content. Please keep it up!
@fatimaiqra2169
@fatimaiqra2169 13 дней назад
This video is really helpful, you explained very deeply, thanks a lot!
@ShivamMishra-wc2xv
@ShivamMishra-wc2xv 14 дней назад
subscribed good explanation
@paperC_CSGO
@paperC_CSGO 14 дней назад
Would love a future Kubernetes video as you mentioned. Not only learning it, but also comparing how the same scenario would be if you _didn't_ user Kubernetes, but only did everything in AWS or DigitalOcean etc. Would also love a Terraform-video!
@tesla1772
@tesla1772 14 дней назад
Can we say that CQRS is similar to setting up read replica. Where there ia a master and multiple read slaves
@NootYet-ck8rs
@NootYet-ck8rs 14 дней назад
Do you recommend any resources about architecture or microservices (especially in ts/node environment)?
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 12 дней назад
The more you learn about system design the more you'll learn about architectures in my opinion. Here are some useful links for you: github.com/karanpratapsingh/system-design learn.microsoft.com/en-us/azure/architecture/guide/ microservices.io/
@lee2k137
@lee2k137 14 дней назад
With the DI pattern, "'we can cook" with the NestJS framework. This is my favorite framework to work with on the NodeJS side.
@achrefnabil2463
@achrefnabil2463 14 дней назад
Can you make a DDD clean architecture cqrs event sourcing node js course
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 12 дней назад
Probably not a course but I can try making a free RU-vid video
@user-xc7rp5pr2l
@user-xc7rp5pr2l 15 дней назад
I love this, thank you❤️
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 14 дней назад
So glad!
@alidev6882
@alidev6882 15 дней назад
i get ask thus topic in every interview and i explained wron everytime, now i got the proper understanding, thanks mate
@misalambasta
@misalambasta 15 дней назад
Request more videos on this topice
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 14 дней назад
I will try my best
@vlatkod1065
@vlatkod1065 15 дней назад
good job man!
@caotichcuc
@caotichcuc 16 дней назад
God, it's super helpful. Please make more videos about APIs optimization and security for Nodejs, pleaseeeeeeeeeeeeeeeeeeeeeeeeeee
@wag6181
@wag6181 16 дней назад
Better architecture or you mean a lot money to spend
@Dom-zy1qy
@Dom-zy1qy 14 дней назад
You know, you're kind of right and it makes me sad. Cloud architecture is actually pretty fun, but you're bottle necked by the amount you have to spend. (Like most things in life lol) Although there is some fun to be had in trying to squeeze out as much as possible from free tiers.
@achrefnabil2463
@achrefnabil2463 16 дней назад
Bro can you make mern stack project with DDD clean architecture Cqrs event sourcing
@JEEVRAJTARALKAR
@JEEVRAJTARALKAR 16 дней назад
Don't know why micro frontend is even a thing. What problem it is solving and at what cost? It looked like it adds more problems rather than solving it
@babutschi
@babutschi 16 дней назад
Sorry, but I really, REALLY disagree with you completely in every question and topic you have talked about.
@babutschi
@babutschi 16 дней назад
Testing was a nightmare though. That's true.
@amitchauhan3938
@amitchauhan3938 16 дней назад
It was nice to see to use const but how about having only one property as const like method but the other key url has to be string
@sanjeevsjk
@sanjeevsjk 17 дней назад
Superb Video. I would like to see practical samples of what we discussed here
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 16 дней назад
Coming soon!