Re: Looking for an IPC solution

Discussion in 'Python' started by Antoine Pitrou, Aug 31, 2012.

  1. Laszlo Nagy <gandalf <at> shopzeus.com> writes:

    >
    > There are just so many IPC modules out there. I'm looking for a solution
    > for developing a new a multi-tier application. The core application will
    > be running on a single computer, so the IPC should be using shared
    > memory (or mmap) and have very short response times. But there will be a
    > tier that will hold application state for clients, and there will be
    > lots of clients. So that tier needs to go to different computers. E.g.
    > the same IPC should also be accessed over TCP/IP. Most messages will be
    > simple data structures, nothing complicated. The ability to run on PyPy
    > would, and also to run on both Windows and Linux would be a plus.


    How about the standard multiprocessing module? It supports shared memory, remote
    processes, and will most probably work under PyPy:
    http://docs.python.org/library/multiprocessing.html

    Regards

    Antoine.


    --
    Software development and contracting: http://pro.pitrou.net
    Antoine Pitrou, Aug 31, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Laszlo Nagy

    Looking for an IPC solution

    Laszlo Nagy, Aug 31, 2012, in forum: Python
    Replies:
    10
    Views:
    343
    Laszlo Nagy
    Sep 6, 2012
  2. Jean-Michel Pichavant

    Re: Looking for an IPC solution

    Jean-Michel Pichavant, Sep 3, 2012, in forum: Python
    Replies:
    0
    Views:
    176
    Jean-Michel Pichavant
    Sep 3, 2012
  3. Gelonida N

    Re: Looking for an IPC solution

    Gelonida N, Sep 6, 2012, in forum: Python
    Replies:
    0
    Views:
    150
    Gelonida N
    Sep 6, 2012
  4. Gelonida N

    Re: Looking for an IPC solution

    Gelonida N, Sep 6, 2012, in forum: Python
    Replies:
    0
    Views:
    157
    Gelonida N
    Sep 6, 2012
  5. Gelonida N

    Re: Looking for an IPC solution

    Gelonida N, Sep 6, 2012, in forum: Python
    Replies:
    0
    Views:
    131
    Gelonida N
    Sep 6, 2012
Loading...

Share This Page