Remote Procedure Calls (RPC)

  Рет қаралды 223,647

Neso Academy

Neso Academy

Күн бұрын

Пікірлер: 89
@Mehraj_IITKGP
@Mehraj_IITKGP Жыл бұрын
Here is what I learned from the video: RPC stands for Remote Procedure Call. - It is a communication protocol that allows a program running on one computer to execute code on a different computer over a network. - It is often used in distributed systems where different components of the system are running on other computers - For example, in a web application, the server might use RPC to communicate with a database server to retrieve data or to execute complex queries. - RPC abstracts away many of the low-level details of network communication, making it easier for developers to build distributed systems. - A client makes a remote procedure call to a server (RPC daemon), specifying the name (identifier) of a function to execute and any parameters that the function requires. - The server receives the request, executes the specified function, and sends the result back to the client. - The client can then continue executing its own code, using the result returned by the server. • STUB: - A stub is a piece of code that acts as a proxy (representative) for a remote procedure on the client side. - The stub serves as an interface between the client program and the RPC system. - It provides a way for the client program to make remote procedure calls to the server as if the procedure was a local function call. - The stub is responsible for marshaling (assembling and arranging in order) the input parameters of the procedure, making the remote procedure call over the network to the RPC server, and then unmarshalling the results returned by the server. • DAEMON*: - An RPC daemon (or RPC server) is a program that runs in the background on a server and receives incoming requests for remote procedure calls from clients. - The daemon is responsible for managing the communication between clients and the server, and for executing the requested procedures on the server. * The MIT programmers thought demon would be an appropriate name for a background process that worked tirelessly to perform system chores. But instead of using the term demon, they used daemon, which is an older form of the word.
@MeabuOP
@MeabuOP Жыл бұрын
Thank you
@safiturk313
@safiturk313 Жыл бұрын
These notes were much more useful than listening to the lecture, dude.
@Viggen66
@Viggen66 11 ай бұрын
Excellent summary of this class :)
@rar000000000
@rar000000000 4 ай бұрын
Great Summary
@DrJoySmithMaxwell
@DrJoySmithMaxwell 4 ай бұрын
Thanks much for the summary. Far superior to the actual lecture, which was full of redundancy & irregular English.
@samuelkhongthaw9405
@samuelkhongthaw9405 2 жыл бұрын
RPC is a protocol that allows a program to request a service from a program in a different computer in a network. It is based on the message passing system as the processes are on separate computers. The message is composed of a function identifier and the corresponding parameters. This message is received by a RPC daemon listening on a specific port of the receiving computer. The result of the function call is passed back as a separate message to the requesting process.
@deepakdonde9199
@deepakdonde9199 Жыл бұрын
Thanks non-fancy simple explaination!
@hoangminhchau2187
@hoangminhchau2187 Жыл бұрын
RPC is for communication between processes that reside in different systems within a network. It abstract away the network details. The client and server have an RPC daemon listening to each other port. The client request to the server via a stub residing in the client side. It requests the server to do a service, in a form of a function. The server then sends back the result to the client. The message is more complicated than packets of data. The message contain the function identifier and the parameter of that function. The parameters are marshaled to be transmitted over the network. Messages are sent from the client stub to server stub by message passing. RPC stands for remote procedure call. It abstracts away network details, so that make it easier for developers to work with. It is used for distributed systems. For example, a server want to request to the database server to get or modify data. Stub acts as an interface between the client and the RPC system, so that the client can communicate with the server as is locally. Stub is responsibile for parameter marshaling (assemble and arrange parameters) for client and unmarshaling for the server. RPC daemon or RPC server is a program running in the background on the server. It receives incomming requests for RPC from the client and execute the request.
@dannymasri2910
@dannymasri2910 4 жыл бұрын
Good job...was not expecting this to be this well-explained!
@melasonos6132
@melasonos6132 Жыл бұрын
Your videos are the best.
@youngchan9105
@youngchan9105 4 жыл бұрын
Many thanks. This video is really helpful
@Van_Verder
@Van_Verder Жыл бұрын
Incredibly helpful, Thanks so Much!🙏
@narayanadhurti1603
@narayanadhurti1603 2 жыл бұрын
Simple and so clear great explanation.
@dinushachathuranga7657
@dinushachathuranga7657 Жыл бұрын
Thanks a lot . This is an amazing explanation♥♥
@xellworth7715
@xellworth7715 4 жыл бұрын
Impressive explanation, thanks a lot and greetings from argentina!
@eyambevictory
@eyambevictory Жыл бұрын
Perfect explanation
@michellephoebe
@michellephoebe 2 жыл бұрын
Thank you so much was looking for a comprehnsive explanation and this was it!
@FloodPower
@FloodPower 2 жыл бұрын
incredible video, much thanks
@markkats5419
@markkats5419 3 жыл бұрын
thanks for the clear explanation :)
@jeevapriya4853
@jeevapriya4853 4 жыл бұрын
As im from biology background ....so i felt very difficult to understand programing nd how the computer works i side.....bt u made my path easy sir ......tq u sm ....feeling so happy 😊😊make more videos sir ....
@sripriyansvbsbtskanchibhat9152
@sripriyansvbsbtskanchibhat9152 7 ай бұрын
awesomeeeeeeeeeeeeeeeeeee explanation.....thank you very much neso academy
@zakariael9587
@zakariael9587 3 жыл бұрын
Great video, great explanation !!!
@spyrex3988
@spyrex3988 4 жыл бұрын
Bro this complicated stuff is explained so well. My professor couldn't explained for shit
@FloodPower
@FloodPower 2 жыл бұрын
lol
@hunglethai8075
@hunglethai8075 7 ай бұрын
so real
@farahmohamed2104
@farahmohamed2104 Жыл бұрын
well explained appreciated
@subee128
@subee128 10 ай бұрын
Thank you so much
@quratraja7391
@quratraja7391 4 жыл бұрын
So, RPC are remote procedural calls. RCS is used for processes to communicate when they're residing in different systems. Procedures are involved. Stubs are allocated to processed at each end.
@enricosaccheggiani3192
@enricosaccheggiani3192 5 жыл бұрын
very well explained very compliments !!!!!!!!!!I tried so many times to find something that explains me so well but i didn't find it . Thanks so much
@superman6998
@superman6998 3 жыл бұрын
Thank you so much for great lecture.
@MasterSergius
@MasterSergius 2 жыл бұрын
Thank you, sir. I've been searching a lot for something like this.
@mohamedbarrous1152
@mohamedbarrous1152 4 жыл бұрын
Man!! your explanation is awesome. Keep it up
@shashwatisingh6381
@shashwatisingh6381 3 жыл бұрын
Thanks alot for the video.
@UshaDevi-pc5gh
@UshaDevi-pc5gh 5 жыл бұрын
Thank you for the info...
@amanchaudhary8817
@amanchaudhary8817 2 жыл бұрын
Thank you 🙏🏼
@brent7781
@brent7781 4 жыл бұрын
Very helpful. Thank you.
@amargandhi1137
@amargandhi1137 5 жыл бұрын
Great working sir Please upload videos on posix multithreading
@startrek3779
@startrek3779 2 жыл бұрын
Excellent explanation! Thank you very much!
@HuyTran-wv3tz
@HuyTran-wv3tz 10 ай бұрын
I love how he keeps repeating the statements, these lectures are not one of types of video you just take a peek on, you actually learn from it and shove it deep into your brain
@SaileeShingare
@SaileeShingare 2 жыл бұрын
You explain so well. Thank you so much
@reborn4612
@reborn4612 3 жыл бұрын
Thanks teacher :D
@nikky30100
@nikky30100 3 жыл бұрын
It would be more interesting to watch if you use more animation and less text. We've got books. All theory is there but we want explanation with simple animation so that we don't have to read all those big paragraphs
@shilashm5691
@shilashm5691 2 жыл бұрын
Yes😪
@digiliferandhawa4190
@digiliferandhawa4190 2 жыл бұрын
Hi
@bakeery
@bakeery Жыл бұрын
You are right
@herp100
@herp100 Жыл бұрын
yooo, this guy basically spent a bunch of time to put this together for free and you complaining? Go and create your own visual if you are not able to understand concepts like this just by text. 😂😂😂
@techbot2366
@techbot2366 Жыл бұрын
Totally agree
@shivamkhandelwal7261
@shivamkhandelwal7261 3 жыл бұрын
A good video for Intro to RPC, the intuition is strong, however, just a little repetitive (which helps to retain, though)
@dhanushsivajaya1356
@dhanushsivajaya1356 4 жыл бұрын
Thankyou sir
@weihyac
@weihyac Жыл бұрын
thank you
@ramahruday6219
@ramahruday6219 3 жыл бұрын
Thank you..😇
@jeevapriya4853
@jeevapriya4853 4 жыл бұрын
Make videos on compiler design ,machine learning artificial inteñligence ,cloud computing ....nd abt more techies tutorial ....so that it will be very helpful for students like me ....i hope u teachers make best vídeos....
@liotam8400
@liotam8400 10 ай бұрын
Here is a summary of the video: Remote Procedure Calls (RPC) is a protocol that allows a program to request a service from a program located on another computer on a network without having to understand the network's details. In simpler terms, RPC enables communication between processes residing in different systems connected over a network. Here are the key differences between RPC and IPC: Communication scheme: RPC uses message-based communication, whereas IPC can use either shared memory or message passing. Messages: RPC messages are well-structured and contain an identifier of the function to execute and the parameters to pass to that function, while IPC messages are just packets of data. Stubs: RPC uses stubs on both the client and server sides to hide the details of communication from the processes. IPC does not use stubs. Here's how RPC works: Client invokes a remote procedure: The client process calls a local stub, passing it the parameters for the remote procedure. Stub marshals parameters: The stub marshals the parameters into a form that can be transmitted over the network. Stub transmits message to server: The stub transmits a message to the server using message passing. Server stub receives message: A similar stub on the server side receives the message and unmarshals the parameters. Server stub invokes procedure: The server stub invokes the remote procedure on the server, passing it the unmarshaled parameters. Procedure executes: The remote procedure executes on the server. Server stub marshals return values: If necessary, the server stub marshals the return values into a form that can be transmitted over the network. Server stub transmits message to client: The server stub transmits a message to the client using message passing. Client stub receives message: The client stub receives the message and unmarshals the return values. Client stub returns results: The client stub returns the results to the client process.
@bouazizabdelkader6994
@bouazizabdelkader6994 3 жыл бұрын
شكرا جزيلا
@rabiulsikder4569
@rabiulsikder4569 5 жыл бұрын
Sir, please make video on Computer Architecture.
@JusdevTMG
@JusdevTMG 5 жыл бұрын
Thanks
@HimanshuGupta-eb6vp
@HimanshuGupta-eb6vp 4 жыл бұрын
But we use Message passing system for communicating between 2 procesess on different devices connected to network?
@alrashidtowmir1099
@alrashidtowmir1099 4 жыл бұрын
Yeah brother, RPC is itself a kind of message passing system. But the difference between the regular Message-passing and RPC is that, As RPC has to perform on two different systems, it needs to be processed in a way that the message passing can happen over the network. If both the processes resided in the same system, we can just send a message from the sender process to the kernel and then the receiver process gets that message through the kernel. But in RPC, the function related to the process resides in a different system, so certain parameter passing and processing of the parameters is necessary.
@ayushiydvKG
@ayushiydvKG 7 ай бұрын
thnx
@배승학-s1j
@배승학-s1j 5 жыл бұрын
Great lecture though a pic showing rpc would have been more helpful
@vamshikrishna9666
@vamshikrishna9666 Ай бұрын
great explaination, if possible use diagrams for the explaination.
@KeringKirwa
@KeringKirwa Жыл бұрын
could you bring out the difference between HTTP ans RPC ?
@saitejan4905
@saitejan4905 5 жыл бұрын
Yes NYC
@mireflections2306
@mireflections2306 5 жыл бұрын
Your description should start with a link or put one of those clickable links in the video to the referenced video in the beginning. A tip for a tip :-). Another tip is to not pin your own comment to the top of the comments section. That section is for comments of your viewers. Wow you have a lot of videos! Thank you for all of them! I would give you $5/month if I had that kind of time and money to just give away and watch all your videos. But still, Thank YOU for putting them up. I don't understand what "Join" is or how it works. But if it was a one-time donation, tip, gift, or something like that I would definitely give you more than just $5.
@UshaDevi-pc5gh
@UshaDevi-pc5gh 5 жыл бұрын
Every youtuber pins his or her cmnt giving info about this video or other more detail about it. I don't think u have any idea how to run a youtube channel..useless
@UshaDevi-pc5gh
@UshaDevi-pc5gh 5 жыл бұрын
If you don't have this much time..how did you get this much time to write review and advices...llllooollllzzzz...double standard people
@avinashkr5980
@avinashkr5980 5 жыл бұрын
Nice
@jiwan88
@jiwan88 5 жыл бұрын
popular question !!!
@shivamuttam9868
@shivamuttam9868 5 жыл бұрын
Hello sir I haive doubt What will be the output printf("%d",""); Output is 173 but how This question was asked in my bca exam Plz help me sir
@abhinayshrivastav8739
@abhinayshrivastav8739 5 жыл бұрын
Sir please upload the issues/limitations of RPC asap.
@priyamvadasingh308
@priyamvadasingh308 4 жыл бұрын
What is time to do null RPC?
@Udaykumar-ed6qj
@Udaykumar-ed6qj 5 жыл бұрын
Sir why your not uploading network theory
@pennyclearwaters5824
@pennyclearwaters5824 5 жыл бұрын
Give him a chance to make the video. Don't demand free content. Ask for it.
@AroonShah
@AroonShah 2 ай бұрын
What is stub
@MarlinMurray-z3g
@MarlinMurray-z3g 3 ай бұрын
Harris Laura Martinez Nancy Rodriguez Jennifer
@rabiulsikder4569
@rabiulsikder4569 5 жыл бұрын
Is the operating System course that easy? I am not a computer science student. Please someone answer.
@kalpagarwal8291
@kalpagarwal8291 5 жыл бұрын
need file systems
@sharps8726
@sharps8726 4 жыл бұрын
:)
@charuagarwal2944
@charuagarwal2944 10 ай бұрын
You have just copied the book as it is.
@peasant12345
@peasant12345 Жыл бұрын
too wordy
@abdullahalmahin6385
@abdullahalmahin6385 8 күн бұрын
Worst video in this playlist
@oshadhaedirisinghe1455
@oshadhaedirisinghe1455 9 ай бұрын
Thank you
Issues in RPC & How They're Resolved
18:49
Neso Academy
Рет қаралды 75 М.
Sockets in Operating System
11:31
Neso Academy
Рет қаралды 253 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
fork() and exec() System Calls
20:34
Neso Academy
Рет қаралды 443 М.
System Calls
12:39
Neso Academy
Рет қаралды 810 М.
Shared Memory Systems
14:30
Neso Academy
Рет қаралды 311 М.
Introduction to Threads
14:06
Neso Academy
Рет қаралды 765 М.
Types of System Calls
11:23
Neso Academy
Рет қаралды 437 М.
Diy a simple spot welding at home with capacitors just with 2$
13:47