4 releases
| 0.2.1 | Nov 23, 2025 |
|---|---|
| 0.2.0 | Nov 23, 2025 |
| 0.1.1 | Dec 4, 2025 |
| 0.1.0 | Nov 23, 2025 |
#1907 in Database interfaces
490KB
10K
SLoC
Avila Platform
High-performance cloud platform optimized for Brazil and LATAM 🇧🇷
Overview
Avila is a comprehensive cloud platform built in Rust, designed to provide:
- 🚀 High Performance: SIMD-optimized operations, zero-copy processing
- 🌎 LATAM-First: Optimized for Brazilian and Latin American infrastructure
- 🔒 Enterprise Grade: Production-ready components with security audits
- 📊 Data Processing: Arrow-based columnar data processing
- 🤖 Machine Learning: Clustering, classification, and ML primitives
- 🌐 Networking: High-performance HTTP client/server
Quick Start
Add this to your Cargo.toml:
[dependencies]
avila = "0.1"
Or install with specific features:
[dependencies]
avila = { version = "0.1", features = ["full"] }
Features
compression- High-performance compression (SIMD, columnar)clustering- Advanced clustering algorithms (K-means, DBSCAN, Hierarchical)math- Mathematical operations and linear algebradata- Arrow-based data processinghttp- High-performance HTTP client/servercli- Command-line interface toolstelemetry- Observability and monitoringfull- Enable all features
Examples
Compression
use avila::compress::{compress_zstd, decompress_zstd};
let data = b"Hello, Avila Platform!";
let compressed = compress_zstd(data, 3)?;
let decompressed = decompress_zstd(&compressed)?;
Clustering
use avila::clustering::kmeans::KMeans;
let data = vec![
vec![1.0, 2.0],
vec![2.0, 3.0],
vec![10.0, 11.0],
];
let kmeans = KMeans::new(2, 100);
let labels = kmeans.fit(&data)?;
HTTP
use avila::http::Client;
let client = Client::new();
let response = client.get("https://avila.cloud").await?;
Components
| Crate | Description | Version |
|---|---|---|
avila-compress |
High-performance compression | 0.8.0 |
avila-clustering |
Clustering algorithms | 0.1.0 |
avila-math |
Mathematical operations | 0.1.0 |
avila-linalg |
Linear algebra | 0.1.1 |
avila-arrow |
Arrow data processing | 0.1.0 |
avx-http |
HTTP client/server | 0.2.0 |
avx-cli |
CLI tools | 0.1.0 |
Platform Components
AvilaDB
Multi-model distributed database with:
- 🌍 Global distribution with multi-region writes
- ⚡ Sub-10ms latency in Brazil
- 📄 4 MB document size (vs 400 KB DynamoDB, 2 MB Cosmos DB)
- 💰 40-60% cheaper than AWS/Azure for Brazilian workloads
AVL Services
- Auth: Authentication and authorization
- Storage: Object storage
- Queue: Message queuing
- Observability: Monitoring and logging
- Load Balancer: Traffic distribution
Documentation
Performance
Optimized for Brazilian infrastructure:
- 5-10ms latency in São Paulo region
- SIMD acceleration on x86_64 (AVX2, AVX-512)
- Zero-copy operations where possible
- Elastic scaling with automatic resource management
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT License (LICENSE-MIT)
at your option.
Contributing
Contributions are welcome! See our Contributing Guide.
About
Built with ❤️ in Brazil by Nícolas Ávila and the AVL community.
🇧🇷 Desenvolvido no Brasil para o mundo.
Dependencies
~0–22MB
~279K SLoC