Ruby redis mysql

Hi,

Is there a way to use redis to store information and than replicate it
to principal database MySql: I have a script that generate a lot of
information that must be inserted in a MySql database but the insertion
take a lot of time and I want to use an application that store
information in cache and inseter it asynchronously with Eventmachine

regards,