- 36
- 13 770
SWE with Vivek Bharatha
India
เข้าร่วมเมื่อ 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! 💻🚀
What is gRPC and Why is it TAKING OVER? #grpc #backenddevelopment #systemdesign
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 Service in Go,
covering:
- Writing a shared .proto file to define communication protocols
- Setting up the Order Service in Node.js to trigger email requests
- Implementing the Mailer Service in Go to receive and process those requests
If you’re interested in language-agnostic microservices, building highly scalable backend systems, or just exploring new tools for backend engineering, this is for you!
About Me:
-----------------
LinkedIn: www.linkedin.com/in/vivek-bharatha
Github: github.com/vivekbharatha
Medium: medium.com/@vivek.bharatha
TH-cam: th-cam.com/channels/zgWzBUOks0fFsvPXsTz8mw.html
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 Service in Go,
covering:
- Writing a shared .proto file to define communication protocols
- Setting up the Order Service in Node.js to trigger email requests
- Implementing the Mailer Service in Go to receive and process those requests
If you’re interested in language-agnostic microservices, building highly scalable backend systems, or just exploring new tools for backend engineering, this is for you!
About Me:
-----------------
LinkedIn: www.linkedin.com/in/vivek-bharatha
Github: github.com/vivekbharatha
Medium: medium.com/@vivek.bharatha
TH-cam: th-cam.com/channels/zgWzBUOks0fFsvPXsTz8mw.html
มุมมอง: 737
วีดีโอ
What is API Gateway in Microservices Explained: Why It’s Essential! #apigateway #apidesign #api
มุมมอง 133วันที่ผ่านมา
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
มุมมอง 5714 วันที่ผ่านมา
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
มุมมอง 16021 วันที่ผ่านมา
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
มุมมอง 181หลายเดือนก่อน
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
มุมมอง 81หลายเดือนก่อน
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
มุมมอง 45หลายเดือนก่อน
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: th-cam.com/video/_vJBxbEpLpM/w-d-xo.htmlsi=lynW0whanPivySpL JWT: th-cam.com/video/UF1c-kOe91s/w-d-xo.htmlsi=io4SQTjEu-ugqdMu About Me: Github: github.com/vivekbharatha Medium: medium.com/@vivek.bharatha TH-cam: th-cam.com/c...
What is JWT ? | How it Keeps You Secure! #backenddevelopment #apisecurity
มุมมอง 58หลายเดือนก่อน
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
มุมมอง 37หลายเดือนก่อน
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 TH-cam: th-cam.com/channels/zgWzBU...
Learn GraphQL In 22 Minutes (crash course) #graphql #nodejs
มุมมอง 1472 หลายเดือนก่อน
Learn GraphQL In 22 Minutes (crash course) #graphql #nodejs
NestJS: The Future of Node.js Explained Quickly #nestjs #nodejs #backenddevelopment
มุมมอง 762 หลายเดือนก่อน
NestJS: The Future of Node.js Explained Quickly #nestjs #nodejs #backenddevelopment
Dependency Injection in 8 minutes #dependencyinjection #bestpractices
มุมมอง 992 หลายเดือนก่อน
Dependency Injection in 8 minutes #dependencyinjection #bestpractices
Top 8 Best Practices for API Design #api #bestpractices #apidevelopment
มุมมอง 4.5K3 หลายเดือนก่อน
Top 8 Best Practices for API Design #api #bestpractices #apidevelopment
How to Boost your API responses using Redis #redis #api #nodejs
มุมมอง 1.5K3 หลายเดือนก่อน
How to Boost your API responses using Redis #redis #api #nodejs
#8 - I Built a Redis Server Using Only JavaScript
มุมมอง 7733 หลายเดือนก่อน
#8 - I Built a Redis Server Using Only JavaScript
#7 - I Built a Redis Server Using Only JavaScript
มุมมอง 2383 หลายเดือนก่อน
#7 - I Built a Redis Server Using Only JavaScript
#6 - I Built a Redis Server Using Only JavaScript
มุมมอง 733 หลายเดือนก่อน
#6 - I Built a Redis Server Using Only JavaScript
#5 - I Built a Redis Server Using Only JavaScript
มุมมอง 593 หลายเดือนก่อน
#5 - I Built a Redis Server Using Only JavaScript
#4 - I Built a Redis Server Using Only JavaScript
มุมมอง 573 หลายเดือนก่อน
#4 - I Built a Redis Server Using Only JavaScript
#3 - I Built a Redis Server Using Only JavaScript
มุมมอง 1073 หลายเดือนก่อน
#3 - I Built a Redis Server Using Only JavaScript
#2 - I Built a Redis Server Using Only JavaScript
มุมมอง 2674 หลายเดือนก่อน
#2 - I Built a Redis Server Using Only JavaScript
#1 - I Built a Redis Server Using Only JavaScript
มุมมอง 5024 หลายเดือนก่อน
#1 - I Built a Redis Server Using Only JavaScript
The Secret Weapon to Speed Up Your MongoDB Queries #mongodb #backenddevelopment
มุมมอง 36ปีที่แล้ว
The Secret Weapon to Speed Up Your MongoDB Queries #mongodb #backenddevelopment
Top 5 differences between RabbitMQ and Kafka #kafka #rabbitmq
มุมมอง 259ปีที่แล้ว
Top 5 differences between RabbitMQ and Kafka #kafka #rabbitmq
Add Timestamp To Console Log #javascript #coding #javascript #typescript
มุมมอง 68ปีที่แล้ว
Add Timestamp To Console Log #javascript #coding #javascript #typescript
Can you share the notes as well?
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!
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: th-cam.com/video/aQbHDH-ZxEc/w-d-xo.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: th-cam.com/play/PL-P_hNzCQhQi-6BsYBHoXUW2V9j2b3ITa.html
Build your own Redis - free course playlist: th-cam.com/play/PL-P_hNzCQhQi-6BsYBHoXUW2V9j2b3ITa.html
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 😄