Re: puzzles about redis

45 views
Skip to first unread message

Salvatore Sanfilippo

unread,
Apr 30, 2013, 5:31:16 AM4/30/13
to Redis DB
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

On Tue, Apr 30, 2013 at 11:26 AM, Yangguang Guo <che...@gmail.com> wrote:
> 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+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?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

Salvatore Sanfilippo

unread,
Apr 30, 2013, 7:38:49 AM4/30/13
to Redis DB
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

On Tue, Apr 30, 2013 at 12:00 PM, Yangguang Guo <che...@gmail.com> wrote:
> 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, :).
Reply all
Reply to author
Forward
0 new messages