Important

Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.

SingleStore Kai

Note

Kai is now in maintenance mode for existing customers. SingleStore does not recommend Kai for new workloads or clusters.

For new MongoDB® use cases, consider using Pipelines and SingleStore SQL analytics instead. Refer to Replicate MongoDB® Collections using SQL for replicating your existing MongoDB® collections to SingleStore using CDC pipelines.

Use the SingleStore Kai ("the API") to connect to a SingleStore Helios cluster from MongoDB® clients and tools. You can run the MongoDB® queries natively in your SingleStore Helios cluster using the API without a code change. Additionally, you can use the Management API and Data API (SQL endpoint) in conjunction with the API. SingleStore Kai natively supports the BSON data type for storage. Refer to Kai Data Storage Model for more information.

Note

You can only run the MongoDB® commands in your SingleStore Helios database using the SingleStore Kai-enabled endpoint.

Disclaimer:

SingleStore is not a MongoDB® partner. SingleStore Kai™ is an API that offers compatibility and enhanced performance for applications built on MongoDB®.

Why Use the API for MongoDB®

SingleStore Kai offers an innovative, fast, and easy API to perform exceptionally fast analytics on JSON data for your MongoDB® applications without losing transactional performance.

Key benefits to using SingleStore Kai:

  • Drive faster analytics on JSON data for your MongoDB® applications.

  • Zero code changes and zero data transformations required for supported commands and operations.

  • Best of both worlds (NoSQL + SQL), lets developers utilize both the MongoDB® API and a SQL API to power their applications.

  • Scale-out SingleStore without any additional cost and simply by defining a shard key.

  • Vector support lets users provide semantics on vectors using dot_product, euclidean_distance, and many other functions available through the API.

How the API Works

The API uses a proxy service (provided by SingleStore) to run the MongoDB® commands and aggregation pipelines. The proxy service receives the MongoDB® commands, generates the SQL equivalent of the command, and runs the SQL in the SingleStore environment. It then reads the resulting rowsets and returns the results as a collection of BSON (Binary JSON) documents back to the MongoDB® client application.

Availability

The SingleStore Kai feature is available in all the regions where SingleStore Helios can be deployed.

In this section

Last modified:

Was this article helpful?