Skip to main content

Crate oxigdal_edge

Crate oxigdal_edge 

Source
Expand description

§OxiGDAL Edge Computing Platform

oxigdal-edge provides edge computing capabilities for geospatial data processing with a focus on:

  • Minimal binary footprint for embedded deployment
  • Offline-first architecture with local caching
  • Edge-to-cloud synchronization with conflict resolution
  • Resource-constrained device support

§Features

  • Edge Runtime: Lightweight runtime optimized for resource-constrained devices
  • Synchronization: Edge-to-cloud sync protocols with conflict resolution
  • CRDT-based Conflict Resolution: Automatic conflict resolution for distributed nodes
  • Edge Compression: Optimized compression for bandwidth-limited environments
  • Local Caching: Offline-first caching strategy
  • Resource Management: Memory and CPU management for constrained devices

§Example

use oxigdal_edge::{EdgeRuntime, EdgeConfig};

// Create edge runtime with minimal footprint
let config = EdgeConfig::minimal();
let runtime = EdgeRuntime::new(config).await?;

// Process data locally with caching
// Sync with cloud when connection available

Re-exports§

pub use cache::Cache;
pub use cache::CacheConfig;
pub use cache::CacheEntry;
pub use cache::CachePolicy;
pub use compression::AdaptiveCompressor;
pub use compression::CompressionLevel;
pub use compression::CompressionStrategy;
pub use compression::EdgeCompressor;
pub use conflict::ConflictResolver;
pub use conflict::CrdtMap;
pub use conflict::CrdtSet;
pub use conflict::VectorClock;
pub use error::EdgeError;
pub use error::Result;
pub use resource::ResourceConstraints;
pub use resource::ResourceManager;
pub use resource::ResourceMetrics;
pub use runtime::EdgeConfig;
pub use runtime::EdgeRuntime;
pub use runtime::RuntimeMode;
pub use sync::SyncManager;
pub use sync::SyncProtocol;
pub use sync::SyncStatus;
pub use sync::SyncStrategy;

Modules§

cache
Local-first caching for edge devices
compression
Edge-optimized compression for bandwidth-limited environments
conflict
CRDT-based conflict resolution for distributed edge nodes
error
Error types for edge computing operations
resource
Resource management for constrained edge devices
runtime
Lightweight edge runtime for resource-constrained devices
sync
Synchronization protocols for edge-to-cloud data sync

Constants§

DEFAULT_CACHE_SIZE
Default cache size for edge devices (10 MB)
DEFAULT_SYNC_INTERVAL_SECS
Default sync interval (5 minutes)
MAX_MEMORY_USAGE
Maximum memory usage for edge runtime (50 MB)
VERSION
Edge computing version