Does hiredis support transactions?

587 views
Skip to first unread message

Rajalakshmi Iyer

unread,
Jan 20, 2015, 8:13:58 AM1/20/15
to redi...@googlegroups.com
Hello, 

I want to embed a redis client within my C++ application and wanted to check if hiredis supports the MULTI-EXEC feature. If not, what alternatives do I have to ensure that a set of Redis commands are executed atomically? 

Does hiredis support executing a LUA script using the EVAL command on the Redis server?

Thanks in advance,

Regards
Raj




This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of BlisMedia Ltd, a company registered in England and Wales with registered number 06455773. Its registered office is 3rd Floor, 101 New Cavendish St, London, W1W 6XH, United Kingdom.

If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. 

Jan-Erik Rediger

unread,
Jan 20, 2015, 8:30:47 AM1/20/15
to redi...@googlegroups.com
Hiredis is more or less just a wrapper around the TCP connection.
It can send whatever command you want, that includes MULTI, EXEC as well
as EVAL and EVALSHA.

On Tue, Jan 20, 2015 at 05:13:58AM -0800, Rajalakshmi Iyer wrote:
> Hello,
>
> I want to embed a redis client within my C++ application and wanted to
> check if hiredis supports the MULTI-EXEC feature. If not, what alternatives
> do I have to ensure that a set of Redis commands are executed atomically?
>
> Does hiredis support executing a LUA script using the EVAL command on the
> Redis server?
>
> Thanks in advance,
>
> Regards
> Raj
>
> --
>
> @BlisMedia <http://twitter.com/BlisMedia>
>
> www.blismedia.com <http://blismedia.com>
>
> This email and any attachments to it may be confidential and are intended solely
> for the use of the individual to whom it is addressed. Any views or opinions
> expressed are solely those of the author and do not necessarily represent
> those of BlisMedia Ltd, a company registered in England and Wales with
> registered number 06455773. Its registered office is 3rd Floor, 101 New
> Cavendish St, London, W1W 6XH, United Kingdom.
>
> If you are not the intended recipient of this email, you must neither take
> any action based upon its contents, nor copy or show it to anyone. Please
> contact the sender if you believe you have received this email in error.
>
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
> To post to this group, send email to redi...@googlegroups.com.
> Visit this group at http://groups.google.com/group/redis-db.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages