News for hackers. Stuff that matters.
Re:Slides and notes from my three hour Redis tutorial by rubyrescue on Sunday April 25, 2010 @08:01PM (#1293758)
can someone explain how writes are faster than reads?
Re:Slides and notes from my three hour Redis tutorial by tptacek on Sunday April 25, 2010 @08:34PM (#1293810)
I don't know, but remember that redis writes aren't hitting the disk synchronously.
Re:Slides and notes from my three hour Redis tutorial by thegoleffect on Sunday April 25, 2010 @08:55PM (#1293851)
Writes are saved to an in-memory table first and are burst to disk asynchronously. But, when the burst happens, the writes to disk are sequential - this is key. No reads to the disk are done before writes (which occurs in MySQL).
Re:Slides and notes from my three hour Redis tutorial by timf on Sunday April 25, 2010 @10:50PM (#1293994)
Re:Slides and notes from my three hour Redis tutorial by echaozh on Monday April 26, 2010 @01:35AM (#1294198)
Writes can be faster if you don't have to write through to a slower media; also it would be faster if you can append to the end rather than seek to a specific location. Seeking takes up the majority of the time spent doing disk IO (not talking about SSDs).