Improving availability and performance with application-specific data replication