"By working with the grain and letting CouchDB do this for us, we save ourselves a tremendous amount of CPU cycles that would otherwise have been spent serializing object graphs from SQL, converting them into domain objects, and using those objects to do application-level validation."
If you view the replication request as a resource then it's not un-RESTful, the oreilly rest cookbook has a reck regarding these sorts of processing functions.
"By working with the grain and letting CouchDB do this for us, we save ourselves a tremendous amount of CPU cycles that would otherwise have been spent serializing object graphs from SQL, converting them into domain objects, and using those objects to do application-level validation."
If you view the replication request as a resource then it's not un-RESTful, the oreilly rest cookbook has a reck regarding these sorts of processing functions.