Remote Function Call

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike

    #1

    Remote Function Call

    Hi,

    I have two machines. A python program on machine 1 needs to make a
    python call to a method in machine 2. What is the most efficient / fast
    / programmer friendly way to do it?

    - XML-RPC?
    - Http Call?

    Thanks,
    Mike

  • Irmen de Jong

    #2
    Re: Remote Function Call

    Mike wrote:[color=blue]
    > Hi,
    >
    > I have two machines. A python program on machine 1 needs to make a
    > python call to a method in machine 2. What is the most efficient / fast
    > / programmer friendly way to do it?
    >
    > - XML-RPC?
    > - Http Call?[/color]

    use Pyro


    --Irmen

    Comment

    • Mike

      #3
      Re: Remote Function Call

      Sounds like what I need. Thanks Irmen. I heard google uses python with
      multiple machines... how do they do it?

      Mike

      Comment

      • Frithiof Andreas Jensen

        #4
        Re: Remote Function Call


        "Mike" <mike12mike12@h otmail.com> wrote in message
        news:1137114745 .855943.131620@ g14g2000cwa.goo glegroups.com.. .[color=blue]
        > Hi,
        >
        > I have two machines. A python program on machine 1 needs to make a
        > python call to a method in machine 2. What is the most efficient / fast[/color]

        Some Custom Mechanism: Pyro or SPREAD f.ex.
        [color=blue]
        > / programmer friendly way to do it?[/color]

        XML-RPC - the client and server is already included in Python's standard
        libraries!

        The protocol is text-based so it is easy to generate test cases for each
        component.
        [color=blue]
        >
        > - XML-RPC?
        > - Http Call?
        >
        > Thanks,
        > Mike
        >[/color]


        Comment

        • david mugnai

          #5
          Re: Remote Function Call

          On Thu, 12 Jan 2006 18:29:50 -0800, Mike wrote:
          [color=blue]
          > Sounds like what I need. Thanks Irmen. I heard google uses python with[/color]
          please look carefully at this page:


          particulary:


          another option is to use "Perspectiv e Broker" from the Twisted Matrix
          framework

          bye

          Comment

          • Mike

            #6
            Re: Remote Function Call

            Thanks Everyone for your input.

            Mike

            Comment

            Working...