Agrona looks like it has quite a bit more than just buffers, so if we add this as a dependency for the new memtable, would it potentially open up use of other parts of Agrona (wittingly or not)? Unless I misunderstood, wasn't part of the new memtable implementation an interface to allow this to be pluggable? Could we avoid bringing it in as a full dependency for Cassandra if the trie memtable were packaged separately as a plugin instead of being included directly?
Cheers, Derek On Wed, Sep 21, 2022 at 6:41 AM Benedict <bened...@apache.org> wrote: > In principle no, it’s a high quality library. But it might help to briefly > outline what it’s used for. I assume it is instead of ByteBuffer? In which > case it could maybe be worthwhile discussing as a project how we foresee > interaction with existing buffer machinery, and maybe how we expect our > buffer use to evolve on the project, as we already have several buffers. > > That said, I anticipate our buffer use changing significantly with the > introduction of value types and native memory improvements coming in future > Java releases, so my personal inclination is just to accept the dependency. > > On 21 Sep 2022, at 13:29, Branimir Lambov <blam...@apache.org> wrote: > > > Hi everyone, > > CASSANDRA-17240 (Trie memtable implementation) introduces a dependency on > the agrona library (https://github.com/real-logic/agrona). > > Does anyone have any objections to adding this dependency? > > Regards, > Branimir > > -- +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+