Тёмный

Remote Procedure Calls (RPC) 

Neso Academy
Подписаться 2,6 млн
Просмотров 206 тыс.
50% 1

Operating System: Remote Procedure Calls (RPC)
Topics discussed:
This lecture explains about Remote Procedure Calls and how they are executed.
Follow Neso Academy on Instagram: @nesoacademy
Contribute: www.nesoacademy.org/donate
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy.org/recommende...
Website ► www.nesoacademy.org/
Forum ► forum.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#OperatingSystemByNeso #os #OperatingSystem #RemoteProcedureCalls

Опубликовано:

 

8 май 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 78   
@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.
@minhhoangcong9155
@minhhoangcong9155 Год назад
Thank you
@safiturk313
@safiturk313 Год назад
These notes were much more useful than listening to the lecture, dude.
@Viggen66
@Viggen66 6 месяцев назад
Excellent summary of this class :)
@samuelkhongthaw9405
@samuelkhongthaw9405 Год назад
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!
@MasterSergius
@MasterSergius 2 года назад
Thank you, sir. I've been searching a lot for something like this.
@michellephoebe
@michellephoebe 2 года назад
Thank you so much was looking for a comprehnsive explanation and this was it!
@startrek3779
@startrek3779 2 года назад
Excellent explanation! Thank you very much!
@xellworth7715
@xellworth7715 3 года назад
Impressive explanation, thanks a lot and greetings from argentina!
@dannymasri2910
@dannymasri2910 4 года назад
Good job...was not expecting this to be this well-explained!
@narayanadhurti1603
@narayanadhurti1603 Год назад
Simple and so clear great explanation.
@SaileeShingare
@SaileeShingare 2 года назад
You explain so well. Thank you so much
@youngchan9105
@youngchan9105 3 года назад
Many thanks. This video is really helpful
@Van_Verder
@Van_Verder Год назад
Incredibly helpful, Thanks so Much!🙏
@superman6998
@superman6998 2 года назад
Thank you so much for great lecture.
@zakariael9587
@zakariael9587 2 года назад
Great video, great explanation !!!
@enricosaccheggiani3192
@enricosaccheggiani3192 4 года назад
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
@UshaDevi-pc5gh
@UshaDevi-pc5gh 5 лет назад
Thank you for the info...
@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.
@FloodPower
@FloodPower 2 года назад
incredible video, much thanks
@HuyTran-wv3tz
@HuyTran-wv3tz 5 месяцев назад
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
@brent7781
@brent7781 4 года назад
Very helpful. Thank you.
@markkats5419
@markkats5419 2 года назад
thanks for the clear explanation :)
@amargandhi1137
@amargandhi1137 5 лет назад
Great working sir Please upload videos on posix multithreading
@spyrex3988
@spyrex3988 4 года назад
Bro this complicated stuff is explained so well. My professor couldn't explained for shit
@FloodPower
@FloodPower 2 года назад
lol
@hunglethai8075
@hunglethai8075 2 месяца назад
so real
@dinushachathuranga7657
@dinushachathuranga7657 10 месяцев назад
Thanks a lot . This is an amazing explanation♥♥
@shashwatisingh6381
@shashwatisingh6381 2 года назад
Thanks alot for the video.
@farahmohamed2104
@farahmohamed2104 8 месяцев назад
well explained appreciated
@mohamedbarrous1152
@mohamedbarrous1152 3 года назад
Man!! your explanation is awesome. Keep it up
@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.
@melasonos6132
@melasonos6132 Год назад
Your videos are the best.
@eyambevictory
@eyambevictory Год назад
Perfect explanation
@sripriyansvbsbtskanchibhat9152
@sripriyansvbsbtskanchibhat9152 2 месяца назад
awesomeeeeeeeeeeeeeeeeeee explanation.....thank you very much neso academy
@subee128
@subee128 5 месяцев назад
Thank you so much
@amanchaudhary8817
@amanchaudhary8817 2 года назад
Thank you 🙏🏼
@reborn4612
@reborn4612 2 года назад
Thanks teacher :D
@rabiulsikder4569
@rabiulsikder4569 4 года назад
Sir, please make video on Computer Architecture.
@JusdevTMG
@JusdevTMG 5 лет назад
Thanks
@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 ....
@dhanushsivajaya1356
@dhanushsivajaya1356 3 года назад
Thankyou sir
@oshadhaedirisinghe1455
@oshadhaedirisinghe1455 4 месяца назад
Thank you
@ramahruday6219
@ramahruday6219 2 года назад
Thank you..😇
@priyamvadasingh308
@priyamvadasingh308 3 года назад
What is time to do null RPC?
@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....
@weihyac
@weihyac Год назад
thank you
@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
@bouazizabdelkader6994
@bouazizabdelkader6994 3 года назад
شكرا جزيلا
@HimanshuGupta-eb6vp
@HimanshuGupta-eb6vp 3 года назад
But we use Message passing system for communicating between 2 procesess on different devices connected to network?
@alrashidtowmir1099
@alrashidtowmir1099 3 года назад
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.
@shivamkhandelwal7261
@shivamkhandelwal7261 3 года назад
A good video for Intro to RPC, the intuition is strong, however, just a little repetitive (which helps to retain, though)
@user-do1tu3oy3s
@user-do1tu3oy3s 4 года назад
Great lecture though a pic showing rpc would have been more helpful
@ayushiyadav1
@ayushiyadav1 2 месяца назад
thnx
@user-me1ry6lg6d
@user-me1ry6lg6d 7 месяцев назад
could you bring out the difference between HTTP ans RPC ?
@avinashkr5980
@avinashkr5980 5 лет назад
Nice
@jiwan88
@jiwan88 5 лет назад
popular question !!!
@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.
@kalpagarwal8291
@kalpagarwal8291 5 лет назад
need file systems
@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 Год назад
Hi
@bakeery
@bakeery 11 месяцев назад
You are right
@herp100
@herp100 10 месяцев назад
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 7 месяцев назад
Totally agree
@abhinayshrivastav8739
@abhinayshrivastav8739 5 лет назад
Sir please upload the issues/limitations of RPC asap.
@saitejan4905
@saitejan4905 5 лет назад
Yes NYC
@liotam8400
@liotam8400 5 месяцев назад
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.
@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
@rabiulsikder4569
@rabiulsikder4569 4 года назад
Is the operating System course that easy? I am not a computer science student. Please someone answer.
@sharps8726
@sharps8726 4 года назад
:)
@charuagarwal2944
@charuagarwal2944 5 месяцев назад
You have just copied the book as it is.
@peasant12345
@peasant12345 Год назад
too wordy
@gdhbgsgsuhfg9048
@gdhbgsgsuhfg9048 3 года назад
Omg
Далее
Issues in RPC & How They're Resolved
18:49
Просмотров 69 тыс.
What is gRPC? (Remote Procedure Calls)
7:16
Просмотров 208 тыс.
System Calls
12:39
Просмотров 745 тыс.
Distributed Systems 1.3: RPC (Remote Procedure Call)
19:45
Introduction to Threads
14:06
Просмотров 693 тыс.
What is RPC? gRPC Introduction.
6:09
Просмотров 476 тыс.
Context Switch
10:34
Просмотров 336 тыс.
What is RPC?
9:16
Просмотров 78 тыс.
Multithreading Models & Hyperthreading
17:57
Просмотров 271 тыс.