foundationdb icon indicating copy to clipboard operation
foundationdb copied to clipboard

Multiple DCs: When the best location has failed for their tag, log routers peek multiple copies of their data across the WAN

Open etschannen opened this issue 8 years ago • 2 comments

Log routers pull data across the WAN for their tag. This generally allows only one copy of a mutation to travel across the WAN before being made durable on multiple remote logs.

If the log that was the best location for the log router's tag fails, the log router will peek its data from the rest of the logs to find the data it needs.

It would be more efficient if this combining of multiple streams of data to reconstitute the tag could happen on a single log in the other region, and that log would forward the data to the log router across the WAN.

etschannen avatar May 07 '18 19:05 etschannen

The better fix is to make every log router tag have multiple best locations on the log routers.

etschannen avatar Jun 14 '18 04:06 etschannen

https://github.com/apple/foundationdb/issues/495 makes will make this much less beneficial, because it will only help when peeking from the primary datacenter instead of a satellite.

etschannen avatar Jun 18 '18 03:06 etschannen