Hi, There are pluggable elements to the commit log such as those used to support mmap or compressed.
Can you describe at a high level what a new implementation would look like and why it can't be a mode of the existing implementation? You are not proposing changing the format correct? Regards, Ariel On Tue, Oct 31, 2017, at 04:09 PM, 大平怜 wrote: > Hello, > > We are developing a Cassandra plugin to store CommitLog on our > low-latency > Flash device (CAPI-Flash). To do that, the original CommitLog interface > must be changed to allow plugins. Anyone has any thoughts about it? We > have our codebase ready, but we think we should start with high-level > discussion. > > The runtime overhead will be minimal. The only overhead will be changing > method invocations to CommitLog#add(), CommitLog#getCurrentPosition(), > etc. > into interface invocations. > > Synching to CommitLog is one of the performance bottlenecks in Cassandra > especially with batch commit. I think the pluggable CommitLog will allow > other interesting alternatives, such as one using SPDK. Appreciate any > comments. > > > Regards, > Rei Odaira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org For additional commands, e-mail: dev-h...@cassandra.apache.org