Hello Didier,
I'm very addicted to memory testing and memory errors, simply because
with Redis I lost N nights trying to fix problems, from multiple
users, that never existed, but was instead broken RAM.
Now, there are three levels of safeness:
1) You have broken RAM.
2) You have sane non ECC RAM.
3) You have sane ECC RAM.
With 1 you are in BIG troubles, but this is easy to check. Use
memtest86, or, if you can't reboot the machine, use redis-server
--test-memory that worked reliably many times.
With 2 you are safe, but there is always the possibility of a bit
flipped by a cosmic ray or alike. It's a remote possibility, but it
happens.
With 3 you are safer.
So I think that if you don't have ECC RAM, test your memory for a few
hours before installing Redis. If the test is ok, you are ok.
If your data is not super important like money transactions or alike,
I would go for "2" if the price for ECC is noticeable bigger.
Otherwise if you have a mission critical thing here, go for ECC.
Now about the technology itself, Redis does not do any run-time
checksumming or alike, so if RAM is broken or a bit flips, nobody will
notice unless it happens on a pointer causing a likely crash.
Cheers,
Salvatore
On Mon, Nov 19, 2012 at 7:19 PM, didier rano <
didie...@gmail.com> wrote:
> I need to choose ECC or not for my hosting. And, I am using Redis as main
> database.
>
> What is the risk to choose to not use ECC memory ? How to mitigate it with
> Redis itself ? Without using an other database to resynchronize Redis
> database ?
>
> Sorry for useless issue
https://github.com/antirez/redis/issues/774 !
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/redis-db/-/tqiN1Vx8ouQJ.
> To post to this group, send email to
redi...@googlegroups.com.
> To unsubscribe from this group, send email to
>
redis-db+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/redis-db?hl=en.
--
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