Skip to content

Dual writes with asynchronous secondary cluster #145

Open
@lukasz-antoniak

Description

@lukasz-antoniak

ZDM forwards all requests to primary and secondary cluster in synchronous manner. Response returned to the client is calculated in a way that any failure (on any of the clusters) causes failure propagated to the driver. This behaviour is desired in majority of use-cases, because all idempotent requests will be automatically retried by the client application, and data automatically synced on both clusters.

Described behaviour may impact however the overall availability of Cassandra seen from client perspective. Depending on use-case, there might be occasions where application does not bother about single write failure, as same data will be frequently overridden with new value. Hereby ticket proposes to introduce a configuration parameter to allowing to send synchronous write to the primary cluster, but asynchronous to secondary.

Comments welcome.

┆Issue is synchronized with this Jira Task by Unito
┆Components: Proxy
┆Issue Number: ZDM-627

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions