Skip to content

Repository files navigation

storr.tiledb

R Language CRAN status repo-status License R CMD Check Last Commit Documentation

A TileDB Embedded-based driver for storr, a key-value store with content-addressable storage for R objects.

Overview

storr.tiledb is an R package that extends the storr ecosystem by providing a TileDB-based driver and custom storr-like classes that leverage the advantages of the underlying backend.

Ask DeepWiki

Key features

  • Fast key-value operations via driver methods
  • Metadata support: notes and Time-To-Live (TTL) expiration timestamps next to key-value pairs
  • Async/parallel operations with mirai
  • In-memory caching layers with hash tables
  • Native cloud storage support (AWS S3, Azure Blob, Google Cloud Storage)
  • Data version (time-travel)
  • Encryption support
  • Schema configuration for tuning performance and storage characteristics

Installation

Development version from GitHub:

# pak
pak::pkg_install("cgiachalis/storr.tiledb")

# remotes
remotes::install_github("cgiachalis/storr.tiledb")

Quick start

library(storr.tiledb)

# Temp URI path
uri <- tempfile()

# Set up storr
sto <- storr_tiledb(uri, init = TRUE)

# Set
sto$set("mykey1", list(a = 1))
sto$set("mykey2", "abc")

# Get
sto$get("mykey2")
 [1] "abc"
 
# List all keys
sto$list()
[1] "mykey1" "mykey2"

# Del
sto$del("mykey1")

Documentation

For more detailed information, visit the full documentation on GitHub Pages.

  • Get Started - Quick reference to basic operations
  • API Usage - Learn about storr.tiledb operations through examples
  • Data Model - Overview of TileDB driver data model

Alternative storr drivers

About

A storr driver with TileDB Engine

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages