SWE with Vivek Bharatha
SWE with Vivek Bharatha
  • Видео 38
  • Просмотров 16 392
Protocol Buffers: A Hands-On Tutorial #backenddevelopment #systemdesign #grpc
Unlock the power of Protocol Buffers (Protobufs) for efficient, compact, and blazing-fast data serialization!
In this video, will break down what Protobufs are, how they work, and why they’re a game-changer in modern software development. Learn with practical Node.js examples that cover serialization, deserialization, and working with nested data structures like arrays and objects.
About Me:
-----------------
LinkedIn: www.linkedin.com/in/vivek-bharatha
Github: github.com/vivekbharatha
Medium: medium.com/@vivek.bharatha
RUclips: ruclips.net/channel/UCzgWzBUOks0fFsvPXsTz8mw
Просмотров: 332

Видео

Proxy vs Reverse Proxy Explained: What’s the Difference? #backenddevelopment #systemdesign
Просмотров 169День назад
Proxies and reverse proxies - two essential tools in networking that sound similar but serve very different purposes! In this video, will break down the difference between proxies and reverse proxies, explaining how each works, their unique use cases, and when to choose one over the other. About Me: LinkedIn: www.linkedin.com/in/vivek-bharatha Github: github.com/vivekbharatha Medium: medium.com...
What is gRPC and Why is it TAKING OVER? #grpc #backenddevelopment #systemdesign
Просмотров 1 тыс.14 дней назад
Want to know what is gRPC and connect microservices written in different languages, like Node.js and Go, without sacrificing speed or complexity? In this video, we dive into gRPC, a high-performance RPC framework, to show you how to set up seamless, cross-language communication between two services. Will walk you through the setup step-by-step with an Order Service in Node.js and a Mailer Servi...
What is API Gateway in Microservices Explained: Why It’s Essential! #apigateway #apidesign #api
Просмотров 19521 день назад
In this video, we break down what an API Gateway is, why it’s a game-changer, and how it simplifies complex service interactions! Discover the critical role API Gateways play in handling requests, managing security, balancing loads, and more. Whether you’re scaling microservices or diving into system architecture, this guide has you covered. About Me: LinkedIn: www.linkedin.com/in/vivek-bharath...
Event Driven vs Request Response: Key Differences Explained! #eventdrivenarchitecture #systemdesign
Просмотров 6828 дней назад
Looking to understand the difference between Event-Driven and Request-Response architecture? Whether you're building scalable apps or optimizing performance, choosing the right architecture can make all the difference. In this video, we break down these two essential models and help you decide which one is right for your project. Whether you're a software engineer, developer, or tech enthusiast...
Microservices Explained: Build Scalable Systems! #microservices #backenddevelopment
Просмотров 175Месяц назад
Are you curious about microservices and how they can help you build scalable and flexible applications? In this video, we dive deep into the world of microservices, explaining what they are, when to use them, and why they’re transforming modern software development. Whether you’re a beginner or experienced developer, this video will help you understand how microservices work, their advantages, ...
How to scale from ZERO to MILLIONS of users #microservices #systemdesign #backenddevelopment
Просмотров 230Месяц назад
Ready to scale your software system from a small startup to an enterprise-level application? In this video, I’ll walk you through the complete roadmap for scaling-from a single server with a database to microservices, database replication, caching, CDN, and beyond. Learn how tech giants build and manage systems that can handle millions of users with ease. Whether you’re just starting out or pre...
OAuth 2.0 Explained in 5 Minutes - Is Your Data REALLY Safe? #oauth2 #backenddevelopment
Просмотров 95Месяц назад
Ever wondered how apps like Uber or Instagram let you log in with Google or Facebook? That’s OAuth 2.0 in action! In this video, I’ll break down OAuth 2.0 in simple terms, show you how it works behind the scenes, and explain how it keeps your personal information safe while granting apps limited access. Stick around for a real-life example you use every day without even realizing it! About Me: ...
Session vs JWT Auth: The Real Differences You Need to Know! #backenddevelopment #apisecurity
Просмотров 49Месяц назад
Choosing between session-based and JWT authentication? This video breaks down the key differences and helps you decide which is best for your app! Previous videos: Sessions: ruclips.net/video/_vJBxbEpLpM/видео.htmlsi=lynW0whanPivySpL JWT: ruclips.net/video/UF1c-kOe91s/видео.htmlsi=io4SQTjEu-ugqdMu About Me: Github: github.com/vivekbharatha Medium: medium.com/@vivek.bharatha RUclips: ruclips.net...
What is JWT ? | How it Keeps You Secure! #backenddevelopment #apisecurity
Просмотров 622 месяца назад
Ever wondered how websites remember you without constantly asking you to log in? In this video, we break down the magic behind JWT (JSON Web Token) authentication. Learn how JWT works, why it’s used for secure communication between clients and servers, and best practices for using it effectively in your web apps. Whether you're a developer or just curious about web security, this video has you ...
Session Based Authentication in 5 minutes #apisecurity #backenddevelopment
Просмотров 422 месяца назад
In this video, we'll dive deep into the concept of authentication sessions and how they work in modern web applications. You'll learn how sessions are maintained on the server, and why they are crucial for user authentication and security. About Me: Github: github.com/vivekbharatha Medium: medium.com/@vivek.bharatha LinkedIn: www.linkedin.com/in/vivek-bharatha RUclips: ruclips.net/channel/UCzgW...
Learn GraphQL In 22 Minutes (crash course) #graphql #nodejs
Просмотров 1572 месяца назад
Learn GraphQL In 22 Minutes (crash course) #graphql #nodejs
NestJS: The Future of Node.js Explained Quickly #nestjs #nodejs #backenddevelopment
Просмотров 793 месяца назад
NestJS: The Future of Node.js Explained Quickly #nestjs #nodejs #backenddevelopment
Dependency Injection in 8 minutes #dependencyinjection #bestpractices
Просмотров 1023 месяца назад
Dependency Injection in 8 minutes #dependencyinjection #bestpractices
Top 8 Best Practices for API Design #api #bestpractices #apidevelopment
Просмотров 5 тыс.3 месяца назад
Top 8 Best Practices for API Design #api #bestpractices #apidevelopment
How to Boost your API responses using Redis #redis #api #nodejs
Просмотров 1,8 тыс.3 месяца назад
How to Boost your API responses using Redis #redis #api #nodejs
#8 - I Built a Redis Server Using Only JavaScript
Просмотров 8973 месяца назад
#8 - I Built a Redis Server Using Only JavaScript
#7 - I Built a Redis Server Using Only JavaScript
Просмотров 2823 месяца назад
#7 - I Built a Redis Server Using Only JavaScript
#6 - I Built a Redis Server Using Only JavaScript
Просмотров 784 месяца назад
#6 - I Built a Redis Server Using Only JavaScript
#5 - I Built a Redis Server Using Only JavaScript
Просмотров 644 месяца назад
#5 - I Built a Redis Server Using Only JavaScript
#4 - I Built a Redis Server Using Only JavaScript
Просмотров 644 месяца назад
#4 - I Built a Redis Server Using Only JavaScript
#3 - I Built a Redis Server Using Only JavaScript
Просмотров 1204 месяца назад
#3 - I Built a Redis Server Using Only JavaScript
#2 - I Built a Redis Server Using Only JavaScript
Просмотров 2964 месяца назад
#2 - I Built a Redis Server Using Only JavaScript
#1 - I Built a Redis Server Using Only JavaScript
Просмотров 5584 месяца назад
#1 - I Built a Redis Server Using Only JavaScript
The Secret Weapon to Speed Up Your MongoDB Queries #mongodb #backenddevelopment
Просмотров 38Год назад
The Secret Weapon to Speed Up Your MongoDB Queries #mongodb #backenddevelopment
Top 5 differences between RabbitMQ and Kafka #kafka #rabbitmq
Просмотров 290Год назад
Top 5 differences between RabbitMQ and Kafka #kafka #rabbitmq
Add Timestamp To Console Log #javascript #coding #javascript #typescript
Просмотров 74Год назад
Add Timestamp To Console Log #javascript #coding #javascript #typescript

Комментарии

  • @grootvk
    @grootvk 13 часов назад

    The way you explained made it so much easier to understand!

  • @itsofficialamar
    @itsofficialamar 16 часов назад

    We want more crash course videos

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 15 часов назад

      Sure, am dropping a community post on crash courses. Also I dropped a crash course on protocol buffer if you are interested do checkout 😉

  • @shadowgamingultimate4159
    @shadowgamingultimate4159 6 дней назад

    So in node.js server it just call automatically as soon as server started. So the API call is not required to write in postman to calling this function?

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 5 дней назад

      In this video, we demonstrate how gRPC functions are invoked. These functions can be triggered in various ways, such as from a REST API on the frontend, which communicates with a microservice. From there, gRPC can be used for all inter-service communication. Additionally, gRPC can be triggered by cron jobs or other background processes, depending on the specific business domain and use case.

  • @aabhishakemishra
    @aabhishakemishra 11 дней назад

    Bhai please make a video to how can implement api gateway in micro services

  • @abdulshaikz
    @abdulshaikz 14 дней назад

    Can you share the notes as well?

  • @Petrichor1314
    @Petrichor1314 14 дней назад

    good job brother, nicely explained. Some concpets like cursor, I have seen in open source projects but wasn't aware about the reason bheind the implementation.

  • @XronTrix10
    @XronTrix10 15 дней назад

    Can you please share the excalidraw link ?

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 14 дней назад

      I am using obsidian not the cloud platform, I will plan to share it as community post may be like an image. Hope that helps!

    • @XronTrix10
      @XronTrix10 13 дней назад

      @@SWE-with-VivekBharatha sounds good

  • @iranna9065
    @iranna9065 15 дней назад

    This is gem under-rated channel

  • @maheshmagi619
    @maheshmagi619 15 дней назад

    Really nice explanation, well done 👏

  • @XronTrix10
    @XronTrix10 16 дней назад

    Awesome bro. You really explained well. You got two subscribers :)

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 16 дней назад

      @@XronTrix10 thank you so much 🙌🏻 This made by day in mentioning sub count 🥺:)

  • @sumitbadola2976
    @sumitbadola2976 23 дня назад

    😍😍😍😍

  • @hruthikks1610
    @hruthikks1610 23 дня назад

    10:41 Who is that guy sending api key in query params 😂. Nice video btw

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 23 дня назад

      @@hruthikks1610 Thank you! 😊 You would be surprised if you search like this in google: ‘"API_KEY" "query parameter" documentation’ 😅

  • @sujjee
    @sujjee 29 дней назад

    just question where do i learn these practically?? by building actual project??

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 29 дней назад

      In short yes - but not necessarily needed to build full actual complex project. You can start with a very basic server with 2 different services (even one http endpoint is enough which do some iops with a database), use load testing tools like k6 to simulate traffic, from there rest of all the modules you can spin in docker containers. CDN and Data centers exposure would be a bit tricky that you need to deploy into one of cloud service providers like aws, gcp, azure etc I hope this helps, create a repo and start building it, happy to help and contribute! 😊

  • @BLUR7777
    @BLUR7777 Месяц назад

    Sir, what is an API Gateway, and how would the order's database know the user's database information since there's no relation between them?

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha Месяц назад

      Great question! An API Gateway is like a traffic controller in a microservices system. It handles client requests and routes them to the right service (like the order or user service). It also manages things like authentication, load balancing, and rate limiting (Will create a separate video for API Gateway soon)! As for how the order service gets user info without a direct relationship: in microservices, databases are usually isolated for each service. So, the order service can call the user service via an API to get the required user details based on user Id. Or we can store some meta data like name, email along with user Id in the order details ( Can vary based on many conditions like how often this meta data will change ) This keeps services independent but still able to communicate when needed! Hope this clears your doubt! 😊

  • @meet2960
    @meet2960 Месяц назад

    I have one question. It is related to Database side. Suppose we are retrieving all the records from a particular table and suppose we are using a ORM, and we also need to send total records count with the original records as well in the API response then we should have two DB queries? One to retrieve all the records and another to retrieve total count of that table? What should be done in this case ?

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha Месяц назад

      Good question! In short: yes, 2 separate db queries ( 2 IOPs ) Assuming lets say, the use case is to display on frontend, - we can use 2 separate API requests one for count and other one to get only a set of records with pagination concept (or) - the same listing API can have both count and set of records, however if table records length is not changing in seconds or minutes - with pagination we will end up querying count db call unnecessarily. Hope this explains 😊

    • @meet2960
      @meet2960 Месяц назад

      @@SWE-with-VivekBharatha Thanks!

  • @shaaboink
    @shaaboink Месяц назад

    Awesome explanation

  • @mohitsoni3819
    @mohitsoni3819 Месяц назад

    Great Content Bro 👍. Keep share videos for scaling backend.

  • @sumitbadola2976
    @sumitbadola2976 Месяц назад

    😍😍

  • @sumitbadola2976
    @sumitbadola2976 Месяц назад

    bro tum kamal ho yll lagta h real developer hai, na ki koi tutorial banane wala .😍😍😍😍

  • @ashishbhardwaj4334
    @ashishbhardwaj4334 2 месяца назад

    at 12:24 , it is also possible that one actor has many movies . why we are considering the only case that one movie can have many actors

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 2 месяца назад

      The example we have shared in context of movies application, where primary entities are movies. As the relation between movies and actors can be many-to-many, we can also have something like this “…/api/v1/actors/:actorId/movies”

  • @SWE-with-VivekBharatha
    @SWE-with-VivekBharatha 2 месяца назад

    Source code: gitlab.com/vivekbharatha/graphql-crash-course

  • @tanishqshukla524
    @tanishqshukla524 2 месяца назад

    In that case, should we have to add a proxy server between the database and the microservices for handling the connections?

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 2 месяца назад

      This pattern applicability is inside each server (microservice) level where it usually binds to that attached database. Your comment is at architecture level and adding proxy is not useful and adds more latency overall.. Other examples for singleton could be - configuraration class - logger class Let me know if this helps :)

  • @OCEMTechZone
    @OCEMTechZone 2 месяца назад

    Great

  • @hackinguru
    @hackinguru 2 месяца назад

    code ?

  • @ankitankit3391
    @ankitankit3391 2 месяца назад

    sir is there any commands like ping ,pong also?i am new to this

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 2 месяца назад

      Yes, ping is a command, server will return pong if no message is passed else same message will be sent to client

    • @AnkitSharma-ml3it
      @AnkitSharma-ml3it 2 месяца назад

      Have you implemented those too in this project?​@@SWE-with-VivekBharatha

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 2 месяца назад

      ​@@AnkitSharma-ml3it I've covered the GET and SET commands, which are among the most frequently used. Once you're comfortable with these, mastering PING will be a breeze! Feel free to contribute to the GitHub repository by opening a PR for the PING command! 😁

    • @AnkitSharma-ml3it
      @AnkitSharma-ml3it 2 месяца назад

      @@SWE-with-VivekBharatha okay bhaiya 🔥

  • @SWE-with-VivekBharatha
    @SWE-with-VivekBharatha 2 месяца назад

    Hint: There is one more optimization we can do with _______ pattern. Can you guess?

  • @hmmmm4193
    @hmmmm4193 3 месяца назад

    If we do versioning like v1,v2 etc would it go out of hands after some time? How to solve for that problem?

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 3 месяца назад

      Good point, usually once an api end point is production ready, as per the semantic versioning lets say the frequency of major version change would happen once in 5 years as an example and this interval purely depends on the application growth, volume and re-architecture requirements. If an end point in a very short span keep changing then either its not production ready in the first place and we can stick same version until it goes live or bad design in the first place 😉

  • @devesh2003
    @devesh2003 3 месяца назад

    Nginx can work as both webserver and load balancer?

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 3 месяца назад

      Yes, absolutely. In context of node, you can configure as reverse proxy and also as load balancer. Just that it has it's limitations to some extent on dynamically spinning new servers and mapping to share the load across with load balancer.

    • @devesh2003
      @devesh2003 3 месяца назад

      Thanks for your reply I read after I made comment and I understand lot about nginx that it is more than just a webserver it can act as loadbalancer caching and useful in security purpose.

  • @morshedulislamriaad6496
    @morshedulislamriaad6496 3 месяца назад

    I didn’t make it 1.5x myself😅 Thanks for such content. Keep it up bro.

  • @SWE-with-VivekBharatha
    @SWE-with-VivekBharatha 3 месяца назад

    Full length video: ruclips.net/video/aQbHDH-ZxEc/видео.html

  • @SWE-with-VivekBharatha
    @SWE-with-VivekBharatha 3 месяца назад

    Hi guys, Please set the speed to 0.75x if you feel it's fast. I realized later in the next day when I watched 🥲 Thanks to "@Think_First12" for bringing this up as an end user 🙌

  • @Think_First12
    @Think_First12 3 месяца назад

    Content is awesome but I have a basic issue that is your voice speed. To listen you probably I had to set video speed at 0.75X. so if you had uploaded the video at 1.5 or 2X speed then please don't do that.

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 3 месяца назад

      Thank you for the feedback, yes I did at 1.5x 🥲 My bad, realized next day when I watched with fresh context. Now it’s confirmed with your feedback that it’s speed overly adjusted, noted and will be improved from now on 🙌🏻

  • @Nick-x4n8x
    @Nick-x4n8x 3 месяца назад

    If we make api conventions too easy then won’t it expose the api to locate address and security risk?

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 3 месяца назад

      Good question! Simplifying API naming conventions boosts consistency and developer productivity, but security wouldn't be compromised. Security is a separate layer that must be strictly enforced like authentication, authorization, rate limiting, and data validation are crucial to protect APIs from risks - irrespective of how simple or complex the naming conventions are. In summary, even with self-explanatory naming conventions I don't see of a case where it exposes any security risks. If you can share an example, I can definitely explain in accordance with it. Thanks for dropping a comment - appreciate the thoughtful question! 😊

  • @antonyraja9902
    @antonyraja9902 3 месяца назад

    Informative. Good effort and content.

  • @OCEMTechZone
    @OCEMTechZone 3 месяца назад

    Great

  • @SWE-with-VivekBharatha
    @SWE-with-VivekBharatha 3 месяца назад

    Here is the free course playlist to understand how Redis works and build your own version of Redis: ruclips.net/p/PL-P_hNzCQhQi-6BsYBHoXUW2V9j2b3ITa

  • @SWE-with-VivekBharatha
    @SWE-with-VivekBharatha 3 месяца назад

    Build your own Redis - free course playlist: ruclips.net/p/PL-P_hNzCQhQi-6BsYBHoXUW2V9j2b3ITa

  • @404statuscode
    @404statuscode 3 месяца назад

    Good work. I am currently on the 3rd chapter

  • @santoshmore2953
    @santoshmore2953 4 месяца назад

    hey still how many videos are remaining in this series? and when its going to be completed?

    • @SWE-with-VivekBharatha
      @SWE-with-VivekBharatha 4 месяца назад

      Hi thanks for your interest. There will be 2 more videos on persistence modes - Snapshot and AOF (Append Only File) And last video will share a roadmap on extending and adding other data structures support. I am planning to complete by next weekend 😄