- Видео 38
- Просмотров 16 392
SWE with Vivek Bharatha
Индия
Добавлен 18 сен 2023
I’m Vivek Bharatha, a senior software engineer with years of experience in fast-growing startups. Here, I’ll help you explore the exciting world of software engineering!
🚀 Whether you’re an experienced developer or just starting out, this channel is for you. We’ll dive into coding tips, industry trends, and how to build scalable software.
📺 Subscribe and hit the notification bell to never miss a chance to level up your coding skills!
Let’s start this amazing coding journey together! 💻🚀
🚀 Whether you’re an experienced developer or just starting out, this channel is for you. We’ll dive into coding tips, industry trends, and how to build scalable software.
📺 Subscribe and hit the notification bell to never miss a chance to level up your coding skills!
Let’s start this amazing coding journey together! 💻🚀
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
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
The way you explained made it so much easier to understand!
Thank you 😊
We want more crash course videos
Sure, am dropping a community post on crash courses. Also I dropped a crash course on protocol buffer if you are interested do checkout 😉
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?
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.
Bhai please make a video to how can implement api gateway in micro services
@@aabhishakemishra will plan it to cover few features with nestjs.
Can you share the notes as well?
yep, will share soon as a post.
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.
@@Petrichor1314 thank you 🙌🏻
Can you please share the excalidraw link ?
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!
@@SWE-with-VivekBharatha sounds good
This is gem under-rated channel
@@iranna9065 this means a lot!! thank you 🙌🏻
Really nice explanation, well done 👏
@@maheshmagi619 thank you 🙌🏻
Awesome bro. You really explained well. You got two subscribers :)
@@XronTrix10 thank you so much 🙌🏻 This made by day in mentioning sub count 🥺:)
😍😍😍😍
10:41 Who is that guy sending api key in query params 😂. Nice video btw
@@hruthikks1610 Thank you! 😊 You would be surprised if you search like this in google: ‘"API_KEY" "query parameter" documentation’ 😅
just question where do i learn these practically?? by building actual project??
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! 😊
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?
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! 😊
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 ?
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 😊
@@SWE-with-VivekBharatha Thanks!
Awesome explanation
Thank you 😊
Great Content Bro 👍. Keep share videos for scaling backend.
Thank you, yeah definitely 😊
😍😍
bro tum kamal ho yll lagta h real developer hai, na ki koi tutorial banane wala .😍😍😍😍
Thank you 😊🙌🏻
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
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”
Source code: gitlab.com/vivekbharatha/graphql-crash-course
In that case, should we have to add a proxy server between the database and the microservices for handling the connections?
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 :)
Great
code ?
Will push to a repo and add to a pinned comment soon!
sir is there any commands like ping ,pong also?i am new to this
Yes, ping is a command, server will return pong if no message is passed else same message will be sent to client
Have you implemented those too in this project?@@SWE-with-VivekBharatha
@@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! 😁
@@SWE-with-VivekBharatha okay bhaiya 🔥
Hint: There is one more optimization we can do with _______ pattern. Can you guess?
If we do versioning like v1,v2 etc would it go out of hands after some time? How to solve for that problem?
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 😉
Nginx can work as both webserver and load balancer?
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.
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.
I didn’t make it 1.5x myself😅 Thanks for such content. Keep it up bro.
Full length video: ruclips.net/video/aQbHDH-ZxEc/видео.html
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 🙌
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.
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 🙌🏻
If we make api conventions too easy then won’t it expose the api to locate address and security risk?
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! 😊
Informative. Good effort and content.
Thank you 🤩
Great
Thank you 🙌🏻
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
Build your own Redis - free course playlist: ruclips.net/p/PL-P_hNzCQhQi-6BsYBHoXUW2V9j2b3ITa
Good work. I am currently on the 3rd chapter
Thank you very much! Hope you enjoy the course 😊
hey still how many videos are remaining in this series? and when its going to be completed?
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 😄