The answers seem right to me, however I would also add that if the function you wish to call is stateless, or you can duplicate the state that is necessary to fulfill the functions of that call, then you can simply include the code in both places and call it. If that makes sense. Just be careful, because if the call has side effects that your first server needs to be aware of, you may need to coordinate a bit.
You are viewing a single comment's thread from: