Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Salesforce tracks possible ShinyHunters campaign targeting its users

    Tree Search Distillation for Language Models Using PPO

    How Verizon Handles Customers Who Misuse 5G Home Internet Service

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      What the polls say about how Americans are using AI

      February 27, 2026

      Tensions between the Pentagon and AI giant Anthropic reach a boiling point

      February 21, 2026

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026
    • Business

      Salesforce tracks possible ShinyHunters campaign targeting its users

      March 15, 2026

      The team behind continuous batching says your idle GPUs should be running inference, not sitting dark

      March 13, 2026

      Met Office ‘supercomputing as a service’ one year old

      March 12, 2026

      Tech hiring evolves as candidates ask for AI compute alongside pay and perks

      March 11, 2026

      Oracle is spending billions on AI data centers as cash flow turns negative

      March 11, 2026
    • Crypto

      Banks Respond to Kraken’s Federal Reserve Access as Trump Sides with Crypto

      March 4, 2026

      Hyperliquid and DEXs Break the Top 10 — Is the CEX Era Ending?

      March 4, 2026

      Consensus Hong Kong 2026: The Institutional Turn 

      March 4, 2026

      New Crypto Mutuum Finance (MUTM) Reports V1 Protocol Progress as Roadmap Enters Phase 3

      March 4, 2026

      Bitcoin Short Sellers Caught Off Guard in New White House Move

      March 4, 2026
    • Technology

      Tree Search Distillation for Language Models Using PPO

      March 15, 2026

      How Verizon Handles Customers Who Misuse 5G Home Internet Service

      March 15, 2026

      I tested the tiny Russell Hobbs coffee maker that uses grounds or Nespresso pods — but I discovered one infuriating drawback

      March 15, 2026

      Trump administration is allegedly collecting $10 billion on the TikTok deal

      March 15, 2026

      Microsoft releases Windows 11 OOB hotpatch to fix RRAS RCE flaw

      March 15, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»Show HN: CallFS – S3-style object store in one Go binary (MIT)
    Technology

    Show HN: CallFS – S3-style object store in one Go binary (MIT)

    TechAiVerseBy TechAiVerseJuly 15, 2025No Comments4 Mins Read3 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Show HN: CallFS – S3-style object store in one Go binary (MIT)
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    Show HN: CallFS – S3-style object store in one Go binary (MIT)

    CallFS: A High-Performance, Distributed REST API Filesystem

    CallFS is an ultra-lightweight, high-performance REST API filesystem that provides precise Linux filesystem semantics over various backends, including local storage, Amazon S3, and a distributed peer-to-peer network. It is designed for speed, reliability, and horizontal scalability.


    🚀 Key Features

    • Multi-Backend Storage: Seamlessly use Local Filesystem, Amazon S3, or other S3-compatible services (like MinIO) as storage backends.
    • Distributed Architecture: Scale horizontally by adding more CallFS instances. The system automatically routes operations to the correct node.
    • Cross-Server Operations: Operations like move, copy, and delete work across the cluster with automatic conflict detection and resolution.
    • High-Performance API: A clean REST API for all filesystem operations, built for low latency and high throughput.
    • Secure, Ephemeral Links: Generate secure, time-limited, single-use download links for any file.
    • Distributed Locking: A Redis-based Distributed Lock Manager ensures data consistency for concurrent operations across the cluster.
    • Rich Metadata Store: PostgreSQL backend for robust, queryable, and persistent file metadata.
    • Comprehensive Security: Enforces TLS, API key authentication, and a full Unix permission model for authorization.
    • First-Class Observability: Structured logging (JSON/console) and extensive Prometheus metrics for deep operational insight.
    • Zero-Copy I/O: Efficiently streams large files without buffering them in memory, ensuring a low memory footprint.

    🏗️ Architecture

    CallFS consists of several core components that work together to provide a unified, distributed filesystem API:

    • API Server: The public-facing HTTP server that handles all incoming REST API requests.
    • Core Engine: The central orchestrator that processes requests, manages metadata, and selects the appropriate storage backend.
    • Storage Backends: Pluggable modules for different storage systems:
      • LocalFS: Manages files on the local disk.
      • S3: Interfaces with Amazon S3 or compatible object stores.
      • Internal Proxy: Routes requests to other CallFS instances in the cluster.
    • Metadata Store: A PostgreSQL database that stores all filesystem metadata, such as file names, sizes, timestamps, permissions, and backend locations.
    • Distributed Lock Manager (DLM): Uses Redis to provide cluster-wide locks, preventing race conditions during concurrent file modifications.
    • Link Manager: Generates and validates secure single-use download tokens.

    This modular design allows CallFS to be both powerful and flexible, suitable for a wide range of applications from simple file serving to complex, distributed storage architectures.

    🔗 API Endpoints

    All API endpoints are prefixed with /v1 and require Bearer authentication, except where noted.

    File & Directory Operations

    • GET /files/{path}: Downloads a file or lists a directory’s contents.
    • HEAD /files/{path}: Retrieves file metadata. This operation is “enhanced” and can route requests across the cluster to find the correct node.
    • POST /files/{path}: Creates a new file or directory. It features cross-server conflict detection to prevent overwriting.
    • PUT /files/{path}: Uploads or updates a file’s content. Supports streaming data and cross-server proxying.
    • DELETE /files/{path}: Deletes a file or directory, with cross-server routing capabilities.

    Enhanced Directory Listings

    • GET /directories/{path}: Provides a detailed JSON listing of a directory’s contents.
    • GET /directories/{path}?recursive=true: Performs a recursive listing of all subdirectories.
    • GET /directories/{path}?recursive=true&max_depth=N: Limits the depth of the recursive listing.

    Single-Use Download Links

    • POST /links/generate: Creates a secure, single-use download link for a file. The link’s expiry time is configurable.
    • GET /download/{token}: Downloads a file using a single-use token. (No authentication required).

    System Health & Metrics

    • GET /health: Returns the operational status of the server. (No authentication required).
    • GET /metrics: Exposes detailed performance metrics in Prometheus format. (No authentication required).

    🔧 Getting Started

    Prerequisites

    • Go: Version 1.21 or later.
    • PostgreSQL: A running instance for the metadata store.
    • Redis: A running instance for the distributed lock manager.
    • Docker & Docker Compose: Recommended for easily running PostgreSQL and Redis.
    • A valid config.yaml file (see config.yaml.example)

    Running the Server

    1. Start dependent services:

      docker-compose up -d postgres redis
    2. Build the binary:

      go build -o callfs ./cmd/main.go
    3. Run the server:

      ./callfs server --config /path/to/your/config.yaml

    Command-Line Interface (CLI)

    CallFS includes a simple CLI for managing the server:

    • callfs server: Starts the main API server.
      • --config, -c: Specifies the path to the configuration file.
    • callfs config validate: Validates the configuration file and displays the loaded settings.
    • callfs --help: Shows all available commands and flags.

    📖 Full Documentation

    For detailed information on configuration, API usage, security, and more, please refer to the docs_markdown/ directory:

    • 01 – Installation
    • 02 – Configuration
    • 03 – API Reference
    • 04 – Authentication & Security
    • 05 – Backend Configuration
    • 06 – Monitoring & Metrics
    • 07 – Clustering & Distribution
    • 08 – Developer Guide
    • 09 – Troubleshooting
    • 10 – Enhanced Cross-Server Operations

    🤝 Contributing

    Contributions are welcome! Please see CONTRIBUTING.md for guidelines on how to participate in this project.

    📝 License

    CallFS is licensed under the MIT License. See the LICENSE file for details.

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleC++ Coroutines Advanced: Converting std:future to asio:awaitable
    Next Article LLM Inevitabilism
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    Tree Search Distillation for Language Models Using PPO

    March 15, 2026

    How Verizon Handles Customers Who Misuse 5G Home Internet Service

    March 15, 2026

    I tested the tiny Russell Hobbs coffee maker that uses grounds or Nespresso pods — but I discovered one infuriating drawback

    March 15, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025718 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025303 Views

    Wired Headphones Are Making A Comeback, And We Have Gen Z To Thank

    July 22, 2025213 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025175 Views
    Don't Miss
    Business Technology March 15, 2026

    Salesforce tracks possible ShinyHunters campaign targeting its users

    Salesforce tracks possible ShinyHunters campaign targeting its users Salesforce warns users of an uptick in…

    Tree Search Distillation for Language Models Using PPO

    How Verizon Handles Customers Who Misuse 5G Home Internet Service

    I tested the tiny Russell Hobbs coffee maker that uses grounds or Nespresso pods — but I discovered one infuriating drawback

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    Salesforce tracks possible ShinyHunters campaign targeting its users

    March 15, 20264 Views

    Tree Search Distillation for Language Models Using PPO

    March 15, 20265 Views

    How Verizon Handles Customers Who Misuse 5G Home Internet Service

    March 15, 20265 Views
    Most Popular

    Outbreak turns 30

    March 14, 20250 Views

    New SuperBlack ransomware exploits Fortinet auth bypass flaws

    March 14, 20250 Views

    CDs Offer Guaranteed Returns in an Uncertain Market. Today’s CD Rates, March 14, 2025

    March 14, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.