SWE with Vivek Bharatha
SWE with Vivek Bharatha
  • Видео 35
  • Просмотров 12 284
What is API Gateway in Microservices Explained: Why It’s Essential!
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-bharatha
Github: github.com/vivekbharatha
Medium: medium.com/@vivek.bharatha
RUclips: ruclips.net/channel/UCzgWzBUOks0fFsvPXsTz8mw
Просмотров: 95

Видео

Event Driven vs Request Response: Key Differences Explained!
Просмотров 44День назад
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: What, When, and Why - Build Scalable Systems!
Просмотров 13814 дней назад
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 | System Design
Просмотров 16721 день назад
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?
Просмотров 72Месяц назад
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!
Просмотров 42Месяц назад
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...
JWT Authentication Explained | How JSON Web Tokens Keep You Secure!
Просмотров 54Месяц назад
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
Просмотров 33Месяц назад
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
Просмотров 1232 месяца назад
In this crash course on GraphQL, we dive deep into the concepts of GraphQL and why GraphQL is becoming the preferred choice for developers worldwide. This tutorial is designed to help you understand the fundamental concepts of GraphQL, including how it compares to REST APIs. We will cover everything from what GraphQL is, to how to implement GraphQL with Node.js and JavaScript. Throughout the vi...
NestJS: The Future of Node.js Explained Quickly #nestjs #nodejs
Просмотров 762 месяца назад
NestJS: The Future of Node.js Explained Quickly #nestjs #nodejs
Dependency Injection in 8 minutes #dependencyinjection #typescript
Просмотров 972 месяца назад
Dependency Injection in 8 minutes #dependencyinjection #typescript
Top 8 Best Practices for API Design #api #bestpractices #apidevelopment
Просмотров 4,2 тыс.2 месяца назад
Top 8 Best Practices for API Design #api #bestpractices #apidevelopment
How to Boost your API responses using Redis #redis #api #nodejs
Просмотров 1,4 тыс.3 месяца назад
How to Boost your API responses using Redis #redis #api #nodejs
#8 - I Built a Redis Server Using Only JavaScript
Просмотров 6983 месяца назад
#8 - I Built a Redis Server Using Only JavaScript
#7 - I Built a Redis Server Using Only JavaScript
Просмотров 2143 месяца назад
#7 - I Built a Redis Server Using Only JavaScript
#6 - I Built a Redis Server Using Only JavaScript
Просмотров 673 месяца назад
#6 - I Built a Redis Server Using Only JavaScript
#5 - I Built a Redis Server Using Only JavaScript
Просмотров 563 месяца назад
#5 - I Built a Redis Server Using Only JavaScript
#4 - I Built a Redis Server Using Only JavaScript
Просмотров 543 месяца назад
#4 - I Built a Redis Server Using Only JavaScript
#3 - I Built a Redis Server Using Only JavaScript
Просмотров 983 месяца назад
#3 - I Built a Redis Server Using Only JavaScript
#2 - I Built a Redis Server Using Only JavaScript
Просмотров 2483 месяца назад
#2 - I Built a Redis Server Using Only JavaScript
#1 - I Built a Redis Server Using Only JavaScript
Просмотров 4623 месяца назад
#1 - I Built a Redis Server Using Only JavaScript
The Secret Weapon to Speed Up Your MongoDB Queries
Просмотров 36Год назад
The Secret Weapon to Speed Up Your MongoDB Queries
Top 5 differences between RabbitMQ and Kafka
Просмотров 226Год назад
Top 5 differences between RabbitMQ and Kafka
Add Timestamp To Console Log | SWE with Vivek Bharatha #javascript #hack
Просмотров 66Год назад
Add Timestamp To Console Log | SWE with Vivek Bharatha #javascript #hack

Комментарии

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

    😍😍😍😍

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

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

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

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

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

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

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

      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 11 дней назад

    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 11 дней назад

      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 12 дней назад

    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 12 дней назад

      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 10 дней назад

      @@SWE-with-VivekBharatha Thanks!

  • @pinky.pickle
    @pinky.pickle 18 дней назад

    Awesome explanation

  • @mohitsoni3819
    @mohitsoni3819 18 дней назад

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

  • @sumitbadola2976
    @sumitbadola2976 25 дней назад

    😍😍

  • @sumitbadola2976
    @sumitbadola2976 27 дней назад

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

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

    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 Месяц назад

      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 2 месяца назад

    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 2 месяца назад

      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 2 месяца назад

    Nginx can work as both webserver and load balancer?

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

      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 2 месяца назад

      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 2 месяца назад

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

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

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

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

    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 2 месяца назад

    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 2 месяца назад

      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 2 месяца назад

    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 2 месяца назад

      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 2 месяца назад

    Informative. Good effort and content.

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

    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 3 месяца назад

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

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

      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 😄