Re: about daemons and IPC



sdistefano@xxxxxxxxx writes:
For the first time I'm doing a client/server application, and I'm
really confused with IPC stuff.

Client-server applications are traditionally done with sockets.

I read the fastest method is shared memory, but I tryed mmap and found
it tedious for the amount of data I'm handling (which is 30K at most,
but mmap seems to get tedious for anything bigger than a boolean... am
I missing something?)

Mmap is missing any kind of locks, semaphores, etc. There was an shm
module that included this stuff but I don't know what's happened to it.
It's really unfortunate that it was never included with Python.
.



Relevant Pages

  • Re: Trying Again
    ... The step you are missing in the simple formula is to read Mike's suggestion ... Why don't you try Mike's suggestion, and see what numbers you get? ... amount, it doesn't ADD it to the existing numbers which is what I ... I will try your way tomorrow Jacinthe, I am not a regular Excel user, ...
    (microsoft.public.excel.misc)
  • buggy mlock() behaviour in 2.6.9 on ppc64?
    ... If I specify more than the amount of physical memory in the system, ... my mmap() call will eventually fail and return ... With the ppc64 kernel, however, the system hangs, and the fans speed ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Summing combinations to a known total problem, for cash-allocation / open-item accountin
    ... Am I missing something here? ... One of the main ideas behind dynamic programming is avoiding solving ... If amount has more than one entry, ...
    (sci.math)
  • Re: What is the Buyers comeback?
    ... another amount ... What's missing is the trimmed, quoted posts ... You've paid? ...
    (alt.marketing.online.ebay)
  • [patch 08/11] dasd: fix timeout handling in interrupt handler
    ... an irb, the associated request should be restarted. ... This handling ... was missing from the -ETIMEDOUT case. ...
    (Linux-Kernel)