funboost  by ydf0509

Python distributed function scheduling platform

Created 4 years ago
882 stars

Top 40.7% on SourcePulse

GitHubView on GitHub
Project Summary

Funboost: Universal Python Distributed Function Scheduling Platform

Funboost is a comprehensive Python distributed function scheduling framework designed to empower any function within any Python project with distributed execution, FaaS capabilities, and event-driven patterns. It targets Python developers seeking to simplify complex distributed systems, accelerate function execution, and build microservices with minimal code changes. The core benefit lies in its "heavy-duty features, lightweight usage" philosophy, enabling users to distribute and enhance Python functions with a single @boost decorator.

How It Works

Funboost employs a classic producer-broker-consumer architecture, with an optional RPC mode for synchronous result retrieval. Ordinary Python functions are transformed into distributed computing units via the @boost decorator. This approach abstracts away the complexities of message queues, concurrency management, and distributed system intricacies, allowing developers to focus on business logic. Its design prioritizes simplicity and extensibility, enabling seamless integration and offering a vast array of functionalities without imposing a rigid framework structure.

Quick Start & Requirements

  • Installation: pip install funboost --upgrade or pip install funboost[all] for all optional middleware.
  • Prerequisites: Python. No specific hardware, OS, or advanced software dependencies are mandated for basic installation.
  • Resources: Links to a demo, full tutorial (ReadTheDocs), AI learning guide, and comprehensive documentation (funboost_all_docs_and_codes.md) are provided within the project's documentation.

Highlighted Details

  • Extensive Middleware Support: Integrates with over 40 message queue types, including RabbitMQ, Kafka, Redis, SQL/NoSQL databases, file systems, and even other frameworks like Celery.
  • FaaS & Microservices: Enables rapid deployment of functions as serverless microservices with automatic discovery and RPC capabilities.
  • Concurrency Mastery: Supports all Python concurrency models (threading, asyncio, gevent, multiprocessing) and their combinations for maximum CPU utilization.
  • Performance Claims: Reports significantly higher performance than Celery, with claims of 22x faster publishing and 46x faster consumption.
  • AI-Assisted Development: Offers a large-context AI document (funboost_all_docs_and_codes.md) designed for direct input into LLMs to generate code and answer queries.
  • Built-in Management: Includes a Web Manager for monitoring task status, queue backlogs, and consumer instances.
  • Advanced Features: Supports workflow orchestration, distributed scheduling, CDC event-driven patterns, and robust reliability mechanisms (ACK, retries, DLQ).

Maintenance & Community

The primary maintenance hub is the GitHub repository ydf0509/funboost. No specific community channels (like Discord or Slack) or notable contributors/sponsorships are detailed in the provided documentation.

Licensing & Compatibility

The provided documentation does not specify a software license. This absence is a critical adoption blocker, as it leaves the terms of use, distribution, and modification unclear, particularly for commercial applications.

Limitations & Caveats

The project makes ambitious claims of universality and near-complete feature coverage ("99% of features users can think of"). While the core usage model is presented as extremely simple (@boost), mastering the full spectrum of its 40+ middleware integrations and 30+ control features may require significant learning investment. The lack of explicit licensing information is the most significant caveat for adoption.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
1
Star History
5 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Georgios Konstantopoulos Georgios Konstantopoulos(CTO, General Partner at Paradigm), and
3 more.

risingwave by risingwavelabs

0%
8k
Stream processing and serving for AI agents and real-time data applications
Created 4 years ago
Updated 1 day ago
Feedback? Help us improve.