Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68920
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.095 |
| X-Spam-Evidence | '*H*': 0.81; '*S*': 0.00; 'things,': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'process?': 0.16; 'subject:sub': 0.16; 'threads,': 0.16; 'wrote:': 0.18; 'library': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'sort': 0.25; 'header :In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '25,': 0.31; 'probably': 0.32; 'maintaining': 0.32; 'interface': 0.32; 'open': 0.33; "can't": 0.35; 'connection': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'interface,': 0.36; 'connections': 0.38; 'handle': 0.38; 'does': 0.39; 'simple': 0.61; 'provide': 0.64; 'relatively': 0.65; 'mar': 0.68; 'sound': 0.68; 'system)': 0.69; 'light-weight': 0.84; 'trouble.': 0.91; 'to:none': 0.92; 'state.': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=gjTAne//N5EzNDbWwb5Leid9vb+fXwUaxbsNrkRUR7k=; b=kT1kcv8H0ZcfoDpYe5QaqKxL1oKT+vfsXPFCoo8s2hvm5w6k8IfjVh72UWv7GxKe2T ubsE2fVN1OqFNe3fonnkRSGK4rD5uKbV6cgcIgS5NYaUOGAMwofk8l7vHAVM90HvkTiQ C14FelK0TRd6QTpgNAbfjrmb7KeKRCIx00yvew1IjsZzrh5gkzT246vkIDQQOX6rGINR J8GtiVMKlb2WVHTATTZLANKcN6s0OgvYHxNm6VQkLqJMDJoP6q4jaZqdL1CpKrZE7DMf r4xX/RBRrkJVoJ9ft/2l4ifKiFioVJIUGeLqVWEWmnmDrz09oXmq77KLJ5ffLl4TV9Ny mfKA== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.112.164 with SMTP id ir4mr6860883pbb.153.1395706796529; Mon, 24 Mar 2014 17:19:56 -0700 (PDT) |
| In-Reply-To | <CA+7ESbr9i6VEO709jPF8ghoPRsUggqBrCEJhoXBn7LK6wYSA+w@mail.gmail.com> |
| References | <CA+7ESbr9i6VEO709jPF8ghoPRsUggqBrCEJhoXBn7LK6wYSA+w@mail.gmail.com> |
| Date | Tue, 25 Mar 2014 11:19:56 +1100 |
| Subject | Re: advice on sub-classing multiprocessing.Process and multiprocessing.BaseManager |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.8474.1395707125.18130.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1395707125 news.xs4all.nl 2977 [2001:888:2000:d::a6]:33977 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:68920 |
Show key headers only | View raw
On Tue, Mar 25, 2014 at 7:24 AM, Matt Newville <newville@cars.uchicago.edu> wrote: > I'm maintaining a python interface to a C library for a distributed > control system (EPICS, sort of a SCADA system) that does a large > amount of relatively light-weight network I/O. In order to keep many > connections open and responsive, and to provide a simple interface, > the python library keeps a global store of connection state. > > This works well for single processes and threads, but not so well for > multiprocessing, where the global state causes trouble. >From the sound of things, a single process is probably what you want here. Is there something you can't handle with one process? ChrisA
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: advice on sub-classing multiprocessing.Process and multiprocessing.BaseManager Chris Angelico <rosuav@gmail.com> - 2014-03-25 11:19 +1100
Re: advice on sub-classing multiprocessing.Process and multiprocessing.BaseManager matt.newville@gmail.com - 2014-03-24 20:27 -0700
Re: advice on sub-classing multiprocessing.Process and multiprocessing.BaseManager Chris Angelico <rosuav@gmail.com> - 2014-03-25 14:44 +1100
Re: advice on sub-classing multiprocessing.Process and multiprocessing.BaseManager matt.newville@gmail.com - 2014-03-25 06:34 -0700
Re: advice on sub-classing multiprocessing.Process and multiprocessing.BaseManager Chris Angelico <rosuav@gmail.com> - 2014-03-26 01:00 +1100
csiph-web