subms-lsm-tree
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.submillisecond.recipes</groupId>
<artifactId>subms-lsm-tree</artifactId>
<version>0.10.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>com.submillisecond.recipes</groupId>
<artifactId>subms-lsm-tree</artifactId>
<version>0.10.0</version>
<packaging>jar</packaging>
<name>subms-lsm-tree</name>
<description>submillisecond.com cookbook recipe - storage: subms-lsm-tree. A working LSM tree (memtable, immutable SSTables, bloom-filter trailer) with sub-millisecond reads at p99 on a 50k-entry workload.</description>
<url>https://www.submillisecond.com/cookbook/recipes/subms-lsm-tree</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
<license>
<name>Apache License 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>knaier</id>
<name>Kieran Smith</name>
<email>oss@submillisecond.com</email>
<url>https://www.submillisecond.com</url>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/submillisecond/subms-cookbook.git</connection>
<developerConnection>scm:git:ssh://git@github.com/submillisecond/subms-cookbook.git</developerConnection>
<url>https://github.com/submillisecond/subms-cookbook</url>
<tag>HEAD</tag>
</scm>
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!--
Reuses subms-bloom-filter (recipe) and subms (harness) as ordinary
Maven dependencies. For local builds, `mvn install` them first
(subms-bloom-filter and subms must be in ~/.m2). For deploy, both
upstream artefacts must already be on Maven Central.
Build: mvn -q package
Demo: java -cp target/classes com.submillisecond.recipes.lsm.Demo
Test: mvn -q test
Bench: java -cp target/classes com.submillisecond.recipes.lsm.SubmillisecondBench
Deploy: mvn -q deploy -P release
-->
<dependencies>
<dependency>
<groupId>com.submillisecond.recipes</groupId>
<artifactId>subms-bloom-filter</artifactId>
<version>0.10.0</version>
</dependency>
<dependency>
<groupId>com.submillisecond</groupId>
<artifactId>subms</artifactId>
<version>0.9.3</version>
</dependency>
<!--
Opt-in compression features (subms 0.5+). Marked <optional>true</optional>
so consumers must explicitly pull them in: downstream pom only adds
lz4-java when it actually enables LZ4 block compression. Tests on
this artefact still see them on the test classpath.
-->
<dependency>
<groupId>org.lz4</groupId>
<artifactId>lz4-java</artifactId>
<version>1.8.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.github.luben</groupId>
<artifactId>zstd-jni</artifactId>
<version>1.5.6-3</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>6.0.3</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.5</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.13</version>
<configuration>
<!-- Harness adapters + demo + standalone bench main aren't library code. -->
<excludes>
<exclude>com/submillisecond/recipes/lsm/LsmTreeRecipe.class</exclude>
<exclude>com/submillisecond/recipes/lsm/PerfMain.class</exclude>
<exclude>com/submillisecond/recipes/lsm/PerfFeaturesMain.class</exclude>
<exclude>com/submillisecond/recipes/lsm/PerfFeaturesMain$*.class</exclude>
<exclude>com/submillisecond/recipes/lsm/GrowthMain*.class</exclude>
<exclude>com/submillisecond/recipes/lsm/SubmillisecondBench.class</exclude>
<exclude>com/submillisecond/recipes/lsm/Demo.class</exclude>
<exclude>com/submillisecond/recipes/lsm/SampleApp.class</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>prepare-agent</id>
<goals><goal>prepare-agent</goal></goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals><goal>report</goal></goals>
</execution>
<execution>
<id>check</id>
<phase>verify</phase>
<goals><goal>check</goal></goals>
<configuration>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>LINE</counter>
<value>COVEREDRATIO</value>
<minimum>0.90</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals><goal>jar-no-fork</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
<configuration>
<doclint>none</doclint>
<source>${maven.compiler.source}</source>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals><goal>sign</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.9.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>