5 Node.js Backend Concepts To Master TODAY

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 46

  • @codedamn
    @codedamn  2 года назад +3

    In this video, let's take a deeper look at 5 Node.js Backend Concepts which you need to master!
    Drop a comment and let us know if you watched this video till the end!
    ⚛️ Do you want to become a full-stack web developer? Check out codedamn's full-stack learning path: cdm.sh/fullstack
    ⚛️ Get started with web3 and decentralized technologies today: cdm.sh/web3

    • @_Blackwolf_01
      @_Blackwolf_01 2 года назад

      Node.js vs spring plz

    • @bishaldas3774
      @bishaldas3774 2 года назад

      I have seen many tutorial videos, but the best part of this channel is you not only describes the language specific concepts, but you also describe the theory behind it, like the concurrency v/s parallelism concept , deep clone v/s shallow clone concept , I really liked to watch your videos.

  • @willfawthrop4593
    @willfawthrop4593 2 года назад +16

    Given the subject matter expertise with Node, I would love to see video that shows how to execute backend processes in the most performant way. Taking advantage of process forking or worker threads. Often times we see shots fired against Node with other devs comparing it to languages like Golang and how much faster the other language'a are. What I often see is that when other devs are performing these benchmarks they are not taking full advantage of node multiprocess/threading capabilities. Can we get a video deep dive of this, perhaps also demonstrating just how fast you can make node?

    • @rishabhgusai96
      @rishabhgusai96 2 года назад +3

      WIth clustering you can scale your application the number of times the cores in the system, Nest.js framework has built in capablities for this.

  • @tech3425
    @tech3425 Год назад +1

    These "advanced" videos by other creators are usually just some intermediate things. This is some esoteric stuff. It pays to keep an eye on this channel.

  • @arkhamian7586
    @arkhamian7586 2 года назад

    I didn't realize it was 40 minutes long until the end. Well done!

  • @blackdeutrium746
    @blackdeutrium746 2 года назад +3

    Hats off to your courses brother! I am in high school and I am learning what you are teaching , with all the knowledge that I will gain I am gonna make a website for my school's IT club.

  • @syamaktaheri3942
    @syamaktaheri3942 2 года назад

    by far the best video about Node.js concept I've seen. Thank you

  • @ubaidkhan426
    @ubaidkhan426 2 года назад

    To be more simplified and concise, Node.js is a C++ application that embeds the V8 engine. You can also use V8 from C++. So nodejs basically reads your code and give it to C++ which run your code through its V8 lib.

  • @patrikozafriko
    @patrikozafriko 2 года назад

    First of all, thanks for your videos! They are really great!
    I wanted to put some clarification about Lambda cold starts. For Node.js cold starts of a few seconds can only happen if you are not using tools correctly (bundling and minimising the bundle size), which is quite easy now days with IaC frameworks, but if you are using some huge libs for ML or similar stuff, then yes it might be an issue. In normal world, if you use multiple, complex libraries, bundle size for Lambda will be quite small and the cold start should be around 500-600 ms.
    In real life scenarios on production workloads, cold starts doesn't really matter that much, since single container can live up to 2-3 hours and handle tens of thousands of requests in that time. So P99 for latency won't be affected with that

  • @dineshreddy8915
    @dineshreddy8915 2 года назад +1

    extrodnary content and perfect teaching

  • @dualwan
    @dualwan 2 года назад +1

    Love this concept series.. more please... You are good in explaining complicated things.ty

  • @MrGodman1981
    @MrGodman1981 2 года назад

    I watched this till the end. Thanks a lot Mehul for these videos.

  • @arnabbanerjee4061
    @arnabbanerjee4061 2 года назад

    Awesome video. Pretty much required for experienced Node.js dev.

  • @khushahmed97
    @khushahmed97 2 года назад

    Watched it till end and from your every video i learn something new and try to implement that in my projects! Thanks a lot !

  • @rajanacharya6360
    @rajanacharya6360 Год назад

    Watched till the end 🔚

  • @nitin_dev
    @nitin_dev Год назад

    I watched this video till the end. 👍

  • @fabiocinicolo6063
    @fabiocinicolo6063 Год назад

    So nodejs uses a pool of worker threads for two particular reasons. The first is to perform CPU intensive tasks (like crypto). The second is to handle some types of asynchronous I/O, like filesystem I/O or DNS querying, because back when libuv was implemented some OSs did not provide asynchronous I/O interfaces for those, so the worker thread in this case really blocks on the I/O task, and a callback is registered to be executed on the main thread, am I right?

  • @datacruncher1564
    @datacruncher1564 2 года назад

    Brilliant explanation!

  • @abregoja
    @abregoja 2 года назад

    min 21. how do you difference the copy object? can you notice the default value?

  • @tech3425
    @tech3425 Год назад

    So if I have four cores on my system, I can only have four terminals running a node server?

  • @kcsamm1069
    @kcsamm1069 2 года назад

    I watched this video till the end

  • @method_actor
    @method_actor 2 года назад

    Regarding the Cloudflare Workers, have you looked at their Durable Objects? Would love for you to do a video centered on them if you haven't already.

  • @rishabhgusai96
    @rishabhgusai96 2 года назад

    I have a question, when working with node in a machine where the cpu is multicore but not all cores are same, some cores are low end cores ( ex. Intel 12th gen efficiency cores ) in that case when we spin up the node process if scheduler assigns it to a low end core will we loose performance? is there any way to tell node js which core # to use?

  • @aamirbhat382
    @aamirbhat382 2 года назад

    Thanks for making such a awesome videos !
    Thanks ❤️

  • @megalodon4272
    @megalodon4272 2 года назад

    This is wonderful

  • @riebeck1986
    @riebeck1986 2 года назад

    Let's say I have just one single core system, and it is running node js. So now whether we use async operations ( fetch , I/O ), ultimately those do need their own cpu cycles to finish computing. And the OS scheduler would take processing away from Nodejs when executing those fetch, I/O stuff. So in this case the advantage node is giving us we can accept more requests, it's just that they have been added to the queue. Those fetch, i/o stuff will take the same amount of cpu cycles wether I use async or not, it's just when using async operations , node handles it so to any third party user of my backend server, I can serve their requests. The time for server to respond will be longer, because their I/O calls are really far away from being processed, but technically they are being served? Am I right about this? I think I am not too sure about the last part of what I said. Can anyone help clarify ?

    • @rishabhgusai96
      @rishabhgusai96 2 года назад

      If you ever worked with the MCU the fundamental part is even using a single core processors by delecating I/O and network calls you are pretty much freeing up your core, as MCU has a dedicated computation units for such work loads.

    • @riebeck1986
      @riebeck1986 2 года назад +1

      @@rishabhgusai96 so I think for MCU you mean multi controller unit. So are you basically saying MCU handles a lot of I/O and network stuff and thus freeing up the CPU even more? ( So it can focus on doing other things )

    • @rishabhgusai96
      @rishabhgusai96 2 года назад +1

      @@riebeck1986 Sorry I forgot to mension with MCU I meant microcontrollers, think it like SoC on your smartphone, It has a dedicated chip for pretty much everything.
      CPU is just a part of it.
      For example decoding a 4K video on just CPU we are going to get sluggy play back, with hardware decoding ( Hardware Accelartion) we actually use another dedicated chip ( ASIC) for decoding the file while the cpu is just resting.
      Another example is cryptography, most of the cryptographic algorithms are powered by a dedicated Crypto ASIC, that's why CPU don't have to worry about encrypting/decrypting websites all the time.
      Just google SoC diagrams you will get to know how far computation has came to be.

    • @rishabhgusai96
      @rishabhgusai96 2 года назад +1

      Back when I was a kid, while purchasing a new smartphone I used to look at spec which states it supports MP4, MKV, FLV video formats and I used to think why they have to mention file format? I mean we can just install a software that knows how to play these files and we are good right?
      Umm nah, these are the formats which can be decoded by dedicated hardware effectively , rendering them on software( CPU) will cause high cpu usage and the battery will die much sooner.

    • @riebeck1986
      @riebeck1986 2 года назад

      @@rishabhgusai96 Thanks !!

  • @Raju-kondapally
    @Raju-kondapally 2 года назад

    i watched this video till end

  • @itskish0re
    @itskish0re 2 года назад

    I watched till end

  • @sayeednazir8884
    @sayeednazir8884 2 года назад

    thanks

  • @ubaidkhan426
    @ubaidkhan426 2 года назад

    ThankX 👍

  • @ankitnegi4802
    @ankitnegi4802 2 года назад

    I watched this whole damn video😼✌️

  • @devanshagarwal4964
    @devanshagarwal4964 2 года назад

    Boss ,trust me you should teach operating Systems. I have never understood Operating System concepts better before.You are way better than any PhD professor that ever taught me. Trust me make an Operating System Crash Course(practical one unlike the theory one that we study) it will be a boom.I have always hated Operating Systems , but now I have got the curiosity to learn more about it.
    Thanks a lot
    Mehul Bhaiya
    Cheers!!

  • @mvurogames2885
    @mvurogames2885 2 года назад

    awesome

  • @muhammadfirdaussati7234
    @muhammadfirdaussati7234 2 года назад +1

    i think its better they made it to deepClone instead of structuredClone, i mean it's shorter and much readable
    but at least people doesn't need to use other library for deep cloning

  • @anuz1
    @anuz1 2 года назад

    360p hmmm
    too early i guess

  • @Sandeep-zd6dq
    @Sandeep-zd6dq 2 года назад

    why the video quality is very low in this video? but no issue we only want to get the knowledge.

    • @yadneshkhode3091
      @yadneshkhode3091 2 года назад +4

      because you are too early it takes youtube time to process high quality videos

  • @khan.hassan
    @khan.hassan 2 года назад

    I literally skipped this video 😅

  • @robudexworld2316
    @robudexworld2316 2 года назад

    I watched this video till the end