Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion No locking the data down during the transaction?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Felix E. Klee  
View profile  
 More options Oct 13 2012, 4:33 am
From: "Felix E. Klee" <felix.k...@inka.de>
Date: Sat, 13 Oct 2012 10:32:34 +0200
Local: Sat, Oct 13 2012 4:32 am
Subject: Re: No locking the data down during the transaction?
On Sat, Oct 13, 2012 at 5:14 AM, Josiah Carlson

<josiah.carl...@gmail.com> wrote:
> Note that Node doesn't support WATCH/MULTI/EXEC transactions.

What? As far as I understand the node_redis module, it just forwards
commands to Redis. From the [node_redis documentation][1]:

"`MULTI` commands are queued up until an `EXEC` is issued, and then all
commands are run atomically by Redis."

> Also note that while there are many things that Lua does support,
> there are some operations that Lua doesn't support that are possible
> with WATCH/MULTI/EXEC transactions [...]

> I can list them out if you'd like.

Just one, please. That could be enlightening.

By the way, I am using scripting for very simple and well constrained
tasks. Example:

 1. Get elements 1-7 from sorted list (`ZRANGE`).

 2. Get score for each element (`ZSCORE`).

 3. Return elements with score.

[1]: https://github.com/mranney/node_redis#clientmulticommands


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.