# RPC from server to server

**URL:** <https://forums.unrealengine.com/t/rpc-from-server-to-server/450525>\
**Category:** Multiplayer & Networking\
**Tags:** onlinesubsystem, Replication, Server, rpc, unreal-engine, Multiplayer, question\
**Created:** [June 11, 2019, 10:03pm UTC](https://forums.unrealengine.com/t/rpc-from-server-to-server/450525 "2019-06-11T22:03:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NODARYN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NODARYN](https://forums.unrealengine.com/u/NODARYN)\
**Post date:** [June 11, 2019, 10:03pm UTC](https://forums.unrealengine.com/t/rpc-from-server-to-server/450525/1 "2019-06-11T22:03:06Z")

</div>

Hey. Tell me, please, if I call the RPC server function on the server, then this leads to additional calculations?

---

<div class="post-metadata">

**Author:** ![Bariudol](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bariudol](https://forums.unrealengine.com/u/Bariudol)\
**Post date:** [June 12, 2019, 11:08am UTC](https://forums.unrealengine.com/t/rpc-from-server-to-server/450525/2 "2019-06-12T11:08:19Z")

</div>

Nothing that would cause a performance drop. The generated code (from the macros) makes sure you are calling the function where it belongs. So its just an aditional check.  
Obviously the easiest way is simply call a regular function if you are sure you are in the server and thats it, as long as you are sure the function will never be called from a client you should be fine.

---

<div class="post-metadata">

**Author:** ![NODARYN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NODARYN](https://forums.unrealengine.com/u/NODARYN)\
**Post date:** [June 12, 2019, 9:20pm UTC](https://forums.unrealengine.com/t/rpc-from-server-to-server/450525/3 "2019-06-12T21:20:27Z")

</div>

Okay, thanks.
