Make soft durability writes use a flush interval. by srh · Pull Request #6392 · rethinkdb/rethinkdb

@srh mentioned this pull request

Jun 22, 2017

1 task

@AtnNn AtnNn added this to the 2.5 milestone

Jul 13, 2017

@srh

@srh

@srh

@srh

This adds a "flush_interval" top-level config to the table config,
telling how much time should pass between flushes.

This allows multiple writes to be combined into a single flush,
reducing disk bandwidth, disk lifetime, and for many workloads, write
throughput.

Eviction now works such that if a table shard is using too much memory
(and none are evictable bufs), the whole shard initiates a flush.
(Previously, it _waited_ for enough active flushes to complete -- now
it must initiate the flush.)  It can't yet incrementally evict bufs,
because that is trickier to implement correctly than you'd think.

@srh srh deleted the sam/nextdelayed branch

October 13, 2017 17:02

adamierymenko added a commit to adamierymenko/rethinkdb that referenced this pull request

Nov 8, 2017

srh pushed a commit that referenced this pull request

Nov 17, 2017

@srh srh mentioned this pull request

Jan 19, 2018