๐๏ธ AVL Storage
The Storage Fortress. The Object Engine.
AVL (fortress) + STORAGE (engine) = AVL Storage
Where objects find permanent refuge and engines deliver at speed
๐ง๐ท Latency 3-8ms in Brazil | ๐ฐ 50% cheaper than S3 | ๐ S3-compatible API
๐ฏ What is AVL Storage?
AVL Storage is the S3-compatible object storage for the AVL Cloud Platform - built as a fortress for your files and an engine for your data.
Like Arxis provides the mathematical citadel, AVL Storage provides the object citadel:
- ๐๏ธ Solid Storage: Durable, replicated, versioned object storage
- โ๏ธ Transfer Engine: High-speed uploads/downloads optimized for Brazil
- ๐ก๏ธ Protection: Encryption, immutability, lifecycle policies
- ๐ Performance: 3-8ms latency in Brazil, multipart uploads
๐ Key Features
๐ง๐ท Optimized for Brazil & LATAM
- 3-8ms latency in Sรฃo Paulo, Rio, Brasรญlia
- Sub-30ms throughout Latin America
- 50% cheaper than AWS S3 for Brazilian traffic
- No egress fees within Brazil
๐ฆ S3-Compatible API
- Drop-in replacement for AWS S3
- SDK compatibility: aws-sdk-rust, boto3, s3cmd
- Standard operations: PUT, GET, DELETE, LIST
- Multipart uploads for large files (>5 GB)
๐๏ธ Intelligent Compression
- Automatic compression via
avila-compress - LZ4 for hot data (fast access)
- Zstandard for cold data (high ratio)
- Transparent decompression on read
๐ Security & Compliance
- Encryption at rest (AES-256)
- Encryption in transit (TLS 1.3)
- Versioning and immutability
- Access logs and audit trails
๐ฐ Pricing (Brazil)
- R$ 0,15 per GB/month storage
- R$ 0,05 per GB transfer (within Brazil)
- FREE transfers between AVL services
- No minimum storage duration
๐๏ธ Architecture
AVL Storage follows the Arxis philosophy - solid as a fortress, fast as an engine:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AVL Storage - Object Citadel โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐๏ธ Object Layer โ
โ - S3-compatible API โ
โ - Multipart uploads โ
โ - Versioning & metadata โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ๏ธ Compression Engine โ
โ - avila-compress (LZ4/Zstd) โ
โ - Content-type detection โ
โ - Smart tier selection โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ก๏ธ Storage Backend โ
โ - Local filesystem (dev) โ
โ - Distributed storage (prod) โ
โ - Replication (3 copies) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ Transfer Engine โ
โ - Parallel uploads/downloads โ
โ - Resumable transfers โ
โ - CDN integration โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆ Installation
Add to your Cargo.toml:
[]
= "0.1"
= { = "1", = ["full"] }
Using the CLI
# Install AVL CLI
|
# Configure credentials
# Upload file
# Download file
# List objects
S3 Compatibility
# Use with s3cmd
# Use with AWS CLI
๐ Quick Start
Basic Operations
use ;
async
Multipart Uploads (Large Files)
use ;
use File;
use AsyncReadExt;
async
Automatic Compression
use ;
async
๐ Use Cases
๐ฎ Game Assets & Media
- Game textures, models, sounds
- Video streaming (HLS/DASH)
- Player-generated content
- Patch distribution
- 3-8ms latency for Brazilian players
๐ค ML Model Storage
- Trained models and checkpoints
- Training datasets
- Inference artifacts
- Model versioning
- Automatic compression saves 50-70% space
๐ธ Image & Video Processing
- User uploads (photos, videos)
- Thumbnails and transcoded versions
- CDN origin storage
- Backup and archival
- Multipart uploads for large files
๐ Data Lake & Analytics
- Raw data ingestion
- Parquet/ORC files
- Log aggregation
- Time-series data
- S3-compatible with Spark/Presto
๐ฌ Scientific Data
- LIGO/LISA gravitational wave data
- Telescope observations
- Simulation results
- Dataset sharing
- High-throughput parallel uploads
๐ Comparison with Competitors
| Feature | AVL Storage | AWS S3 | Azure Blob |
|---|---|---|---|
| Brazil latency | 3-8ms โ | 50-80ms | 40-60ms |
| Storage (GB/month) | R$ 0,15 โ | USD 0.023 (~R$0,12) | USD 0.018 (~R$0,09) |
| Transfer (within BR) | R$ 0,05 โ | USD 0.09 (~R$0,45) | USD 0.08 (~R$0,40) |
| Compression | Automatic โ | Manual | Manual |
| Egress within services | FREE โ | Paid | Paid |
| S3 API compatibility | 100% โ | Native | Via adapter |
| Multipart uploads | โ | โ | โ |
| Versioning | โ | โ | โ |
AVL Storage is 50% cheaper for Brazilian workloads! ๐ง๐ท
๐ ๏ธ Best Practices
Naming Buckets
// โ
GOOD: Descriptive, DNS-compatible
"my-app-uploads"
"prod-ml-models"
"user-avatars-2024"
// โ BAD: Ambiguous, special characters
"bucket1"
"my_bucket" // underscores not recommended
"UPPERCASE" // use lowercase
Object Keys
// โ
GOOD: Hierarchical, organized
"users/user123/profile.jpg"
"models/v2/checkpoint-1000.pt"
"logs/2024/11/23/app.log"
// โ BAD: Flat, no structure
"file1.jpg"
"data.bin"
Compression
// โ
GOOD: Let AVL Storage compress
client.put_object.await?;
// โ BAD: Pre-compress yourself
// let compressed = manual_compress(data); // Redundant!
Large Files
// โ
GOOD: Use multipart for files > 100 MB
if file_size > 100 * 1024 * 1024 else
๐งช Development Tools
CLI
# Configure
# Access Key: your-key
# Secret Key: your-secret
# Region: sa-east-1 (Sรฃo Paulo)
# Create bucket
# Upload
# Upload directory (recursive)
# Download
# List
# Delete
# Get object metadata
Local Emulator (Development)
# Run locally (no cloud costs!)
# Update endpoint
๐ Documentation
- Official Docs - Complete guide
- API Reference - Rust API docs
- S3 Compatibility - S3 API mapping
- Examples - Code samples
๐๏ธ Philosophy - The Storage Citadel
AVL Storage embodies the Arxis philosophy:
๐๏ธ ARX - Fortress
- Durability: 11 nines (99.999999999%) with 3-copy replication
- Protection: Encryption, versioning, immutability
- Reliability: Geographic redundancy, automatic healing
โ๏ธ AXIS - Engine
- Speed: 3-8ms latency in Brazil, parallel transfers
- Efficiency: Automatic compression saves 50-70% space
- Scalability: Unlimited storage, elastic throughput
๐ง๐ท Built for Brazil
- Local presence: Data centers in Sรฃo Paulo, Rio
- Low latency: 3-8ms for Brazilian users
- Fair pricing: R$ instead of USD, 50% cheaper
- Portuguese-first: Docs, support, community
๐ค Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/awesome-feature) - Commit your changes (
git commit -m 'Add awesome feature') - Push to the branch (
git push origin feature/awesome-feature) - Open a Pull Request
๐ Support
Email: nicolas@avila.inc WhatsApp: +55 17 99781-1471 GitHub: https://github.com/avilaops/arxis Docs: https://docs.avila.cloud/storage
๐ License
Dual-licensed under MIT OR Apache-2.0 - See LICENSE-MIT and LICENSE-APACHE for details.
๐๏ธ Built by Avila
AVL Storage - The Storage Fortress Part of the AVL Cloud Platform
๐๏ธ Durable as a fortress โ๏ธ Fast as an engine ๐ง๐ท Built for Brazil
Built with โค๏ธ in Rust for the Brazilian and LATAM tech community.