SDKs
Java SDK
High-performance JNI bindings with zero-allocation memory-mapped lookups.
Install
xml
<dependency>
<groupId>com.attoscloud</groupId>
<artifactId>attos-java</artifactId>
<version>1.0.0</version>
</dependency>Lookup
Main.java
import com.attoscloud.AttosDB;
public class Main {
public static void main(String[] args) {
500">// Opens the memory-mapped dataset
AttosDB db = AttosDB.open("routes.nh");
500">// Zero-allocation lookup
byte[] result = db.lookup("api.example.com");
if (result != null) {
System.out.println("Found backend route!");
}
}
}Performance
The Java SDK utilizes off-heap memory mapping via JNI to bypass garbage collection overhead, achieving sub-250ns latency even under high concurrency.