Multilingual Engine (MLE)

All the features Shannonbase have.

ShannonBase Multilingual Engine (MLE): JavaScript Stored Procedures

ShannonBase introduces a revolutionary capability with its Multilingual Engine (MLE), enabling developers to write stored procedures and functions in JavaScript—one of the world's most popular programming languages. This groundbreaking feature bridges the gap between database programming and modern application development, empowering organizations to leverage JavaScript's extensive ecosystem directly within the database environment.

Why JavaScript in the Database?

Unprecedented Developer Productivity

With over 98% of websites built using JavaScript and millions of developers proficient in the language, ShannonBase's JavaScript support dramatically lowers the barrier to database programming. Development teams can now use a single, familiar language across their entire technology stack—from frontend interfaces to backend logic to database operations—eliminating context switching and reducing training overhead.

Rich Ecosystem Integration

JavaScript brings with it one of the largest and most vibrant software ecosystems in existence. Through ShannonBase's MLE, organizations can leverage thousands of npm packages, established design patterns, and proven development methodologies directly within their database operations, accelerating development cycles and improving code quality.

Technical Architecture

Dual-Engine Execution Model

ShannonBase implements a sophisticated dual-engine architecture that seamlessly integrates JavaScript execution with traditional SQL processing:

SQL Execution Engine: The proven, high-performance SQL processing core handles all traditional database operations

JavaScript Execution Engine: A specialized runtime environment that executes JavaScript code with direct access to database capabilities

Engine Implementation Options

ShannonBase provides flexible engine choices to match different organizational needs:

JerryScript Lightweight Engine: A compact, efficient JavaScript engine written in C, licensed under Apache 2.0, offering excellent performance with minimal footprint—ideal for resource-constrained environments

GraalVM Enterprise Edition: A powerful, polyglot runtime that provides advanced optimization capabilities, making it suitable for complex, compute-intensive operations in enterprise deployments[Enterprise Version]

Secure Execution Environment

Every JavaScript execution occurs within a rigorously controlled sandbox that ensures:

Resource Governance: Strict limits on memory consumption, CPU usage, and execution time

Security Isolation: Complete separation between JavaScript execution and core database operations

Access Control: Fine-grained permissions for JavaScript code execution

Type Safety: Automatic type conversion between JavaScript and SQL data types

ShannonBase Application Architect Diagram