Discussion:
puzzles about redis
Yangguang Guo
2013-04-30 09:26:03 UTC
Permalink
hi, i am new to redis. I want to use redis as only one database in my
application, which has online trading.
1. Redis is good to online trading web application? Is it safe?
2. Redis is an in-memory database,but after i close redis server, computer,
and later restart computer and redis server, the data is still
available.why the data is still there? I mean it is in memory, and will be
lost when the computer is shut off.
3.Just only use redis as my web app's db is good enough?
4. I didn't find a orm-like plugin or ruby gem for redis, i think redis gem
is not good enough to save, update, read, delete data in my app, do you
have a recommend one for me?

Could you help me? Thank you, :)
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to redis-db-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/redis-db?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Salvatore Sanfilippo
2013-04-30 09:31:16 UTC
Permalink
Dear user,

from what I read in your email you don't yet know the system to really
understand if, for your use case, it is a good fit.
My suggestion is to perform the following tasks:

1) Read all the documentation you can find at http://redis.io, there
are decent introductions to most of the major features of Redis.
2) Download the source code of Lamer News
(http://github.com/antirez/lamernews) to see what are usual patterns
to interact with Redis from an application.
3) After you understand "2", you may see if an object mapper like Ohm
is a good fit for you.
4) Return back in this mailing list asking specific questions about
points that are still not so clear for you.

Regards,
Salvatore
Post by Yangguang Guo
hi, i am new to redis. I want to use redis as only one database in my
application, which has online trading.
1. Redis is good to online trading web application? Is it safe?
2. Redis is an in-memory database,but after i close redis server, computer,
and later restart computer and redis server, the data is still available.why
the data is still there? I mean it is in memory, and will be lost when the
computer is shut off.
3.Just only use redis as my web app's db is good enough?
4. I didn't find a orm-like plugin or ruby gem for redis, i think redis gem
is not good enough to save, update, read, delete data in my app, do you have
a recommend one for me?
Could you help me? Thank you, :)
--
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
Visit this group at http://groups.google.com/group/redis-db?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
Salvatore 'antirez' Sanfilippo
open source developer - VMware
http://invece.org

Beauty is more important in computing than anywhere else in technology
because software is so complicated. Beauty is the ultimate defence
against complexity.
— David Gelernter
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to redis-db-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/redis-db?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Yangguang Guo
2013-04-30 10:00:43 UTC
Permalink
Salvatore Sanfilippo, thanks, :). I am reading http://redis.io and
http://github.com/antirez/lamernews, and i never used gem ohm.
Could you help to give short,clear answers to my questions? Thanks, :).
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to redis-db-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/redis-db?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Salvatore Sanfilippo
2013-04-30 11:38:49 UTC
Permalink
Because selecting a database for an application his a problem with
many trade-offs, I'm sorry, there is no short and clear answer.
There are short and clear answers to specific problems, like, what is
the persistence guarantee of AOF? Or Does Redis support synchronous
replication? And so forth.

Regards,
Salvatore
Post by Yangguang Guo
Salvatore Sanfilippo, thanks, :). I am reading http://redis.io and
http://github.com/antirez/lamernews, and i never used gem ohm.
Could you help to give short,clear answers to my questions? Thanks, :).
--
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
Visit this group at http://groups.google.com/group/redis-db?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
Salvatore 'antirez' Sanfilippo
open source developer - VMware
http://invece.org

Beauty is more important in computing than anywhere else in technology
because software is so complicated. Beauty is the ultimate defence
against complexity.
— David Gelernter
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to redis-db-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/redis-db?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Yangguang Guo
2013-04-30 11:44:12 UTC
Permalink
thanks, :), i want to use it as my app db.

圚 2013幎4月30日星期二UTC+8䞋午7时38分49秒Salvatore Sanfilippo写道
Post by Salvatore Sanfilippo
Because selecting a database for an application his a problem with
many trade-offs, I'm sorry, there is no short and clear answer.
There are short and clear answers to specific problems, like, what is
the persistence guarantee of AOF? Or Does Redis support synchronous
replication? And so forth.
Regards,
Salvatore
Post by Yangguang Guo
Salvatore Sanfilippo, thanks, :). I am reading http://redis.io and
http://github.com/antirez/lamernews, and i never used gem ohm.
Could you help to give short,clear answers to my questions? Thanks, :).
--
You received this message because you are subscribed to the Google
Groups
Post by Yangguang Guo
"Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by Yangguang Guo
Visit this group at http://groups.google.com/group/redis-db?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
Salvatore 'antirez' Sanfilippo
open source developer - VMware
http://invece.org
Beauty is more important in computing than anywhere else in technology
because software is so complicated. Beauty is the ultimate defence
against complexity.
— David Gelernter
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to redis-db-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/redis-db?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...