https://github.com/paznera/php-minio-obj-store
cli (Laravel prompts) example usage of btrfs-like storage behind s3 interface (minio) and in-memory(redis) indexing with object metadata
https://github.com/paznera/php-minio-obj-store
btrfs buckets data-lake laravel minio php redis s3 snapshots
Last synced: 2 months ago
JSON representation
cli (Laravel prompts) example usage of btrfs-like storage behind s3 interface (minio) and in-memory(redis) indexing with object metadata
- Host: GitHub
- URL: https://github.com/paznera/php-minio-obj-store
- Owner: PaznerA
- License: agpl-3.0
- Created: 2024-10-28T21:19:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-30T22:48:49.000Z (over 1 year ago)
- Last Synced: 2025-02-09T08:42:06.565Z (over 1 year ago)
- Topics: btrfs, buckets, data-lake, laravel, minio, php, redis, s3, snapshots
- Language: PHP
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## About:
This project is currently my playground.
Its a docker based php+rust cli app - containing example usage of "in-memory-db" with btrfs-like storage behind s3 interface (MinIo).
## TODO/WIP:
- in-memory-db for indexing with object metadata storing
- cleanup & complete merging mem-db and minio into single trait
- laravel prompts table for listing data
- complete the termial/consoe app example (CRUD)
## Ideas:
- vim or some text-editor integration?
- framefork agnostic refactor?
## Current "DRUMB?" (rust in-memory DB) API usage:
```
$db = new Connector('/path/to/db');
$count = $db->increment('user/123/visits');
$db->setExpiry('user/123/session', 3600);
$ttl = $db->ttl('user/123/session');
// Remove session of user
$deleted = $db->deleteByPattern('user/123/session/*');
$stats = $db->getDetailedStats();
```