[Chicago-talk] Using Storable to exchange data between 2 processes

Steven Lembark lembark at wrkhors.com
Fri Jan 23 13:16:39 CST 2004



-- Jay Strauss <me at heyjay.com>

> Steve & Greg,
>
> I want to avoid an RDBMS.  Maybe using a DBM but what's wrong with the
> code below?  Seems nice and simple, but maybe I'm missing something.
> Although I'd like to avoid a file all together.
>
> The writer process writes maybe 200,000 times a day (guessing), but the
> writes are sporadic, a couple a second then none for 5 seconds.  The
> reader is an on demand service, maybe a thousandish a day

Which is why you're better off using a service than a flat
file. The former avoids logic races, etc. I'd suggest some
sort of message passing, with the server acting as directory
or publishing the updates as necessary to subscribers.

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508



More information about the Chicago-talk mailing list