Lealone  by lealone

Secure, self-evolving platform for AI application development

Created 13 years ago
2,549 stars

Top 17.9% on SourcePulse

GitHubView on GitHub
Project Summary

Lealone is a high-performance relational database optimized for OLTP scenarios, also positioned as a secure, self-evolving AI application development platform. It targets developers seeking extreme write performance and efficient resource utilization, offering a flexible, pluggable architecture that simplifies deployment and enhances scalability.

How It Works

Lealone employs a full-link asynchronous architecture, enabling it to handle substantial concurrent loads with minimal threads. Its core innovation lies in a SQL-first, preemptive scheduling engine that prioritizes queries based on SQL priority, preventing slow queries from monopolizing CPU resources. The database features a pluggable architecture for both storage (AOSE - Async Optimized Storage Engine) and transaction (AOTE - Async Optimized Transaction Engine) layers, allowing for modular customization. It also supports page-level row/column hybrid storage, optimizing memory usage for queries accessing only a subset of table columns.

Quick Start & Requirements

Lealone runs from a single, compact JAR file (under 2MB) requiring no installation. It boasts extremely fast JDBC connection creation, eliminating the need for traditional JDBC connection pools. Links to "Documentation Home" and "Lealone Plugin" (for MongoDB, MySQL, PostgreSQL compatibility) are available.

Highlighted Details

  • Exceptional concurrent write performance.
  • Full-link asynchronous processing for high throughput with low thread count.
  • Preemptive SQL scheduling based on priority to manage slow queries.
  • Rapid JDBC connection establishment, negating connection pool requirements.
  • Pluggable storage and transaction engine architecture.
  • Page-level row/column hybrid storage for memory efficiency.
  • CREATE SERVICE statement for deploying hosted backend services.

Maintenance & Community

No specific details regarding maintenance, community channels (like Discord/Slack), or notable contributors were found in the provided text.

Licensing & Compatibility

The project is distributed under a "Lealone License." A distinction is made for "Lealone Cluster/Commercial Edition," which supports advanced features like distributed transactions, strong consistency replication, global snapshot isolation, and automated sharding. Plugins offer compatibility with MongoDB, MySQL, and PostgreSQL protocols.

Limitations & Caveats

The provided description focuses on features and performance benefits. Specific details regarding the open-source license terms for the base version are not elaborated upon, and advanced features like distributed transactions and sharding appear to be part of a separate, potentially commercial, offering.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
3
Issues (30d)
0
Star History
14 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.