Something to deal with Sync Gateway performance