Brian Kardell :: @bkardell :: hitchjs.com
On Oct 1, 2012 10:04 AM, "Felix E. Klee" <felix.k...@inka.de> wrote:
>
> On Mon, Oct 1, 2012 at 3:41 PM, Brian Kardell <bkard...@gmail.com>
> wrote:
> > If the only reason you would even consider a db over a file is a very,
> > very obscure case then why not just set a semaphor and retry after a
> > second or two if it is still open?
>
> True. However, that only solves the concurrency issue when only one
> instance is running. With several instances running (though unlikely)
> then things become more complicated, especially since there is no memory
> shared between instances.
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

Note that I said "if the only reason" and it was specifically WRT your
initial question and (what seemed to be) your desire to keep it really
simple.  Of course, there are any number of solutions and tradeoffs (short
term and long) that you can make depending on what your comfort and goals
are.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to