Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4817

Re: Another Couch potato question: Dealing with classic concurrency conflict

From Oren Shani <orenshani7@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: Another Couch potato question: Dealing with classic concurrency conflict
Date 2011-05-20 09:28 -0500
Organization Service de news de lacave.net
Message-ID <aba3a1ecf4d4a83978e966ed63ff2c3c@ruby-forum.com> (permalink)
References <efbc3434f58e902a9d6818ba6009162a@ruby-forum.com> <BANLkTimbuijmAVMECty=g6ZEV-8rvc3nDQ@mail.gmail.com> <1d017752f0746fcdcdcf13d2d0ec6dd3@ruby-forum.com> <BANLkTi=B5oxOUBE4+qXT=7wgzqoV0t=kLw@mail.gmail.com>

Show all headers | View raw


Robert K. wrote in post #999871:

> Well, if all your clients are Ruby programs you could of course
> implement the locking in Ruby e.g. by having a lock server process
> which is talked to via DRb.  All the tools you need for that are
> there: DRb for communication, Mutex and Monitor for locking.  Whether
> that's a good solution is a different cup of tea to answer. :-)

Hmmm... well I thought about that, and kind of hoped not to have to use
a lock server, but if I will have no other choice then using DRb is a
good idea, thanks!

>It's always a bit difficult to talk about these things on such a general
> level...

This is true. Hopefully, I will soon be able to share with the forum 
what I am doing and then I will be able to be more specific :-)
>
> Kind regards
>
> robert

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Another Couch potato question: Dealing with classic concurrency conflict Oren Shani <orenshani7@gmail.com> - 2011-05-20 05:50 -0500
  Re: Another Couch potato question: Dealing with classic concurrency conflict Robert Klemme <shortcutter@googlemail.com> - 2011-05-20 07:05 -0500
    Re: Another Couch potato question: Dealing with classic concurrency conflict Oren Shani <orenshani7@gmail.com> - 2011-05-20 08:11 -0500
      Re: Another Couch potato question: Dealing with classic concurrency conflict Robert Klemme <shortcutter@googlemail.com> - 2011-05-20 08:56 -0500
        Re: Another Couch potato question: Dealing with classic concurrency conflict Oren Shani <orenshani7@gmail.com> - 2011-05-20 09:28 -0500

csiph-web