diff --git a/docs/sdk/engine/_partials/platform-introduction.mdx b/docs/sdk/engine/_partials/platform-introduction.mdx index 3818602..5c0ccdf 100644 --- a/docs/sdk/engine/_partials/platform-introduction.mdx +++ b/docs/sdk/engine/_partials/platform-introduction.mdx @@ -1 +1 @@ -云引擎是一个托管后端程序的平台,开发者可以将 Web 应用(例如一个网站),或者 Node.js、Python、Java、PHP、.NET、Go、C++ 等语言的后端程序(例如一个 RESTful API 服务器)部署到云引擎上,云引擎会自动从源代码构建出可运行的「版本」,然后将它运行在独立的容器中,同时提供日志和监控、负载均衡、平滑发布、弹性扩容等能力。此外,云引擎还提供了定时任务、域名和证书管理和 Redis、MySQL、MongoDB、Elasticsearch 等多种托管数据库供开发者使用。 +云引擎是一个托管后端程序的平台,开发者可以将 Web 应用(例如一个网站),或者 Node.js、Python、Java、PHP、.NET、Go、C++ 等语言的后端程序(例如一个 RESTful API 服务器)部署到云引擎上,云引擎会自动从源代码构建出可运行的「版本」,然后将它运行在独立的容器中,同时提供日志和监控、负载均衡、平滑发布、弹性扩容等能力。此外,云引擎还提供了定时任务、域名和证书管理和 Redis、MySQL 等多种托管数据库供开发者使用。 diff --git a/docs/sdk/engine/database/es.mdx b/docs/sdk/engine/database/es.mdx deleted file mode 100644 index 43d6c57..0000000 --- a/docs/sdk/engine/database/es.mdx +++ /dev/null @@ -1,134 +0,0 @@ ---- -title: LeanDB Elasticsearch 使用指南 -sidebar_label: LeanDB Elasticsearch -sidebar_position: 4 ---- - -import EngineRuntimes from "/src/docComponents/MultiLang/engine"; -import LeandbCliAccess from "../_partials/leandb-cli-access.mdx"; -import LeandbCreateInstance from "../_partials/leandb-create-instance.mdx"; -import TabItem from "@theme/TabItem"; -import Path from "/src/docComponents/path"; - -LeanDB Elasticsearch 是云引擎提供的托管数据库,开发者可以在云引擎中使用 Elasticsearch 客户端类库或 HTTP API 连接,访问完整的 Elasticsearch 功能,更多其他托管数据库请查看 [云引擎服务总览](/sdk/engine/overview)。 - -Elasticsearch 的主要特性: - -- **高可用**:多节点集群方案,可以容忍单节点故障。 -- **在线扩容**:在线调整容量和规格,数据平滑迁移。 -- **多实例**:满足更大容量或更高性能的需求。 -- **中文分词**:内置中文分词插件并支持自定义词库。 - -## 创建和管理实例 - -开发者可以在 ** > 数据库 > Elasticsearch** 页面创建和管理 LeanDB Elasticsearch 实例。 - -### 创建实例 - - - -- **实例规格** 目前提供 `512M`、`1GB`、`2GB`、`4GB`、`8GB` 几种,代表不同的运算能力,是计费的基础。 - -每种规格有固定的存储空间限制,如需要更多存储空间需要升级到更高的规格。 - - - -### Elasticsearch 版本 - -目前 LeanDB 仅提供 Elasticsearch 7.9 版本。 - -### 在线扩容 - -目前 LeanDB Elasticsearch 不提供自助扩容的能力,如需扩容请提交工单联系我们的技术支持。 - -### 管理共享 - -可以使用控制台上的「管理共享」功能将 LeanDB 实例共享给其他应用,被共享的应用的 LeanDB 页面可能看到这个实例,相关的环境变量也会出现在其他应用的云引擎中。 - -## 在云引擎中使用 - -LeanDB 所在的应用的云引擎在部署时,会被注入几个包含 Elasticsearch 连接信息的环境变量,包括: - -- `ELASTICSEARCH_URL_` - -其中 `` 是你在创建 LeanDB 时为它指定的名字,如果你的 LeanDB 名为 `MYES` 的话,就会有名为 `ELASTICSEARCH_URL_MYES` 的环境变量。 - -该环境变量的格式是 `http://username:password@host:port`,其中包含了所有连接 Elasticsearch 所需的信息,包括认证信息。 - - - - -在 Node.js 中你可以这样连接到 Elasticsearch: - -```javascript -const { Client } = require("@elastic/elasticsearch"); -const client = new Client({ - node: process.env.ELASTICSEARCH_URL_MYES, -}); - -// promise API -const result = await client.search({ - index: "my-index", - body: { - query: { - match: { hello: "world" }, - }, - }, -}); - -// callback API -client.search( - { - index: "my-index", - body: { - query: { - match: { hello: "world" }, - }, - }, - }, - (err, result) => { - if (err) console.log(err); - } -); -``` - -- 你需要运行 `npm install @elastic/elasticsearch` 来安装上面代码中用到的依赖 -- 更多的用法请参考 [Elasticsearch Node.js client](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html) - - - - -## 中文分词 - -除了 elasticsearch 自带的分词器,我们还提供了 -[Elasticsearch ik plugin](https://github.com/medcl/elasticsearch-analysis-ik) 以支持中文分词。 -我们可以通过以下途径指定使用 IK 插件进行中文分词: - -1. 在搜索时,指定分词器 -2. 在创建索引时,为特定 `field` 指定搜索分词器 -3. 在创建索引时,指定索引的默认分词器 -4. 在创建索引时,为特定 `field` 指定分词器 - -它们的优先级依次降低,当都未指定时,会使用默认的标准分词器(standard analyzer)。具体细节及参数见 [specify an analyzer](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/specify-analyzer.html)。 - -### 自定义词库 - -除此之外,自定义词库也是支持的。用户可以在控制台上传自定义词库。 -词库文件要求为 UTF-8 编码,每个词单独一行,文件大小不能超过 10MB,例如: - -``` -面向对象编程 -函数式编程 -高阶函数 -响应式设计 -``` - -将其保存为文本文件,例如 `dict.txt`,上传即可。上传之后,分词将于 2 分钟后生效。开发者可以通过 [analyze API](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/test-analyzer.html) 来测试。需要注意使用 analyze API 时要指定 index,使用 `curl -X POST "localhost:9200/my-index/_analyze?pretty"` 的形式。 - -## 管理数据 - -除了在云引擎中通过编程的方式访问 LeanDB,我们还提供了用于进行管理、调试或一次性数据操作的方式。 - -### 使用命令行工具连接 - - diff --git a/docs/sdk/engine/database/mongo.mdx b/docs/sdk/engine/database/mongo.mdx deleted file mode 100644 index 75fc4e7..0000000 --- a/docs/sdk/engine/database/mongo.mdx +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: LeanDB MongoDB 使用指南 -sidebar_label: LeanDB MongoDB -sidebar_position: 3 ---- - -import EngineRuntimes from "/src/docComponents/MultiLang/engine"; -import LeandbCliAccess from "../_partials/leandb-cli-access.mdx"; -import LeandbCreateInstance from "../_partials/leandb-create-instance.mdx"; -import TabItem from "@theme/TabItem"; -import Path from "/src/docComponents/path"; - -LeanDB MongoDB 是云引擎提供的托管数据库,开发者可以在云引擎中使用 MongoDB 客户端类库连接,访问完整的 MongoDB 功能,更多其他托管数据库请查看 [云引擎服务总览](/sdk/engine/overview)。 - -## 创建和管理实例 - -开发者可以在 ** > 数据库 > MongoDB** 页面创建和管理 LeanDB MongoDB 实例。 - -### 创建实例 - - - -- **实例规格** 目前提供 `512M`、`1GB`、`2GB`、`4GB`、`8GB` 几种,代表不同的运算能力,是计费的基础。 - -每种规格有固定的连接数和存储空间限制,如需要更多连接数或存储空间需要升级到更高的规格。 - - - -### MongoDB 版本 - -目前 LeanDB 仅提供 MongoDB 4.0 版本。 - -### 在线扩容 - -目前 LeanDB MongoDB 不提供自助扩容的能力,如需扩容请提交工单联系我们的技术支持。 - -### 管理共享 - -可以使用控制台上的「管理共享」功能将 LeanDB 实例共享给其他应用,被共享的应用的 LeanDB 页面可能看到这个实例,相关的环境变量也会出现在其他应用的云引擎中。 - -## 在云引擎中使用 - -LeanDB 所在的应用的云引擎在部署时,会被注入几个包含 MongoDB 连接信息的环境变量,包括: - -- `MONGODB_URL_` - -其中 `` 是你在创建 LeanDB 时为它指定的名字,如果你的 LeanDB 名为 `MYDB` 的话,就会有名为 `MONGODB_URL_MYDB` 的环境变量。 - - - - -在 Node.js 中你可以这样连接到 MongoDB(假定 LeanDB 名称为 `MYDB`): - -```js title='app.js' -const { MongoClient } = require("mongodb"); - -const mongoClient = new MongoClient(process.env["MONGODB_URL_MYDB"], { - useUnifiedTopology: true, - poolSize: 10, -}); - -mongoClient - .connect() - .then(() => { - console.log("Connected to MongoDB"); - }) - .catch((err) => { - console.eror("Connect to MongoDB failed", err.message); - }); - -app.get("/", (req, res) => { - const cats = mongoClient.collection("cats"); - - res.json(cats.find({}, { limit: 10 })); -}); -``` - -- 你需要运行 `npm install mongodb` 来安装上面代码中用到的依赖 -- 更多的用法请参考 [MongoDB Node Driver 官方文档](https://www.mongodb.com/docs/drivers/node/current/) - - - - -在 .NET 中你可以这样连接到 MongoDB(假定 LeanDB 名称为 `MYDB`): - -```cs -string url = Environment.GetEnvironmentVariable("MONGODB_URL_MYDB"); -MongoClient client = new MongoClient(url); -IMongoCollection collection = client.GetDatabase("leancloud") - .GetCollection("hello"); -FilterDefinition filter = Builders.Filter.Empty; -Console.WriteLine(collection.Find(filter).ToList().ToJson()); -``` - - - - -## 管理数据 - -除了在云引擎中通过编程的方式访问 LeanDB,我们还提供了用于进行管理、调试或一次性数据操作的方式。 - -### 使用命令行工具连接 - - diff --git a/docs/sdk/engine/faq.mdx b/docs/sdk/engine/faq.mdx index 306a9af..b5f5108 100644 --- a/docs/sdk/engine/faq.mdx +++ b/docs/sdk/engine/faq.mdx @@ -35,7 +35,7 @@ import Path from "/src/docComponents/path"; 在此基础上,开发者可以选择在程序内接入云引擎的 SDK,来使用云函数和 Hook 等功能,云函数与 [数据存储](/sdk/storage/features)[数据存储](/sdk/storage/overview/) 服务有深度的整合,对于已经在使用数据存储服务的开发会非常方便。 -不接入云引擎 SDK 也可以使用云函数以外的所有功能,云引擎也提供了业界广泛使用的 [Redis](/sdk/engine/database/redis/)、[MongoDB](/sdk/engine/database/mongo/) 和 [Elasticsearch](/sdk/engine/database/es/) 供开发者存储数据。 +不接入云引擎 SDK 也可以使用云函数以外的所有功能,云引擎也提供了业界广泛使用的 [Redis](/sdk/engine/database/redis/) 和 [MySQL](/sdk/engine/database/mysql/) 供开发者存储数据。 ## 云函数 diff --git a/docs/sdk/engine/overview.mdx b/docs/sdk/engine/overview.mdx index dcd426f..51d8e59 100644 --- a/docs/sdk/engine/overview.mdx +++ b/docs/sdk/engine/overview.mdx @@ -43,9 +43,7 @@ import { Conditional } from "/src/docComponents/conditional"; | 数据库 | 集群配置 | 集群可用性 | 文档页面 | | ------------- | ------------------ | ---------------------------------- | --------------------------------------------------------- | | Redis | 主从结构(1M/1S) | 默认高可用,自动切换 | [LeanCache 使用指南](/sdk/engine/database/redis/) | -| MongoDB | 副本集(1P/1S/1A) | 默认高可用,自动切换 | [LeanDB MongoDB 使用指南](/sdk/engine/database/mongo/) | | MySQL | 主从结构(1M/1S) | 默认高可用,自动切换 | [LeanDB MySQL 使用指南](/sdk/engine/database/mysql/) | -| Elasticsearch | 单节点 / 三个节点 | 默认高可用,自动切换(三个节点时) | [LeanDB Elasticsearch 使用指南](/sdk/engine/database/es/) | ## 更多 diff --git a/docs/sdk/engine/platform.mdx b/docs/sdk/engine/platform.mdx index 94a7fee..f49b0d0 100644 --- a/docs/sdk/engine/platform.mdx +++ b/docs/sdk/engine/platform.mdx @@ -31,7 +31,7 @@ import Path from "/src/docComponents/path"; 云引擎对应用进程内部几乎没有干预,你可以选用你喜欢的开发框架和第三方组件库、自行组织项目的目录结构。云引擎的负载均衡会转发绑定域名下的所有 HTTP 请求,你可以在应用内使用 Web 框架来自行设计 HTTP API 中的路径、请求和响应的格式。 -目前云引擎主要为无状态的 HTTP 服务而优化,不支持在文件系统上持久地存储数据,应用可以将数据存储到 [数据存储](/sdk/storage/features)[数据存储](/sdk/storage/overview/) 或 LeanDB 提供的 [Redis](/sdk/engine/database/redis/)、[MongoDB](/sdk/engine/database/mongo/) 和 [Elasticsearch](/sdk/engine/database/es/) 中。 +目前云引擎主要为无状态的 HTTP 服务而优化,不支持在文件系统上持久地存储数据,应用可以将数据存储到 [数据存储](/sdk/storage/features)[数据存储](/sdk/storage/overview/) 或 LeanDB 提供的 [Redis](/sdk/engine/database/redis/) 和 [MySQL](/sdk/engine/database/mysql/) 中。

要将一个已有的项目关联到云引擎应用,可以使用 {CLI_BINARY} switch: diff --git a/docs/sdk/start/dashboard-guide.mdx b/docs/sdk/start/dashboard-guide.mdx index c466735..a277b41 100644 --- a/docs/sdk/start/dashboard-guide.mdx +++ b/docs/sdk/start/dashboard-guide.mdx @@ -740,7 +740,7 @@ mQtjuMF5xk,xPVrHL0W4n ### LeanDB -在 **LeanDB** 页面可以管理 [LeanCache(Redis)](/sdk/engine/database/redis/)、[MySQL](/sdk/engine/database/mysql/)、[MongoDB](/sdk/engine/database/mongo/) 实例。 +在 **LeanDB** 页面可以管理 [LeanCache(Redis)](/sdk/engine/database/redis/) 和 [MySQL](/sdk/engine/database/mysql/) 实例。 ## 即时通讯 diff --git a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/_partials/platform-introduction.mdx b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/_partials/platform-introduction.mdx index b133755..51c872b 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/_partials/platform-introduction.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/_partials/platform-introduction.mdx @@ -1 +1 @@ -Cloud Engine is a platform that lets you host backends for your applications. If you have web apps or backend programs built with Node.js, Python, Java, PHP, .NET, Go, or C++, you can deploy them to Cloud Engine and it will automatically build runnable _versions_ from the source code and run them in independent containers. Cloud Engine provides capabilities including log viewing, monitoring, load balancing, zero downtime deployment, and autoscaling that you can use out of the box. Additional features provided by Cloud Engine include scheduled tasks, domain and certificate management, and hosted database management systems including Redis, MySQL, MongoDB, and Elasticsearch. +Cloud Engine is a platform that lets you host backends for your applications. If you have web apps or backend programs built with Node.js, Python, Java, PHP, .NET, Go, or C++, you can deploy them to Cloud Engine and it will automatically build runnable _versions_ from the source code and run them in independent containers. Cloud Engine provides capabilities including log viewing, monitoring, load balancing, zero downtime deployment, and autoscaling that you can use out of the box. Additional features provided by Cloud Engine include scheduled tasks, domain and certificate management, and hosted database management systems including Redis and MySQL. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/database/es.mdx b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/database/es.mdx deleted file mode 100644 index 2d10a6c..0000000 --- a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/database/es.mdx +++ /dev/null @@ -1,120 +0,0 @@ ---- -title: LeanDB Elasticsearch Guide -sidebar_label: LeanDB Elasticsearch -sidebar_position: 4 ---- - -import EngineRuntimes from "/src/docComponents/MultiLang/engine"; -import LeandbCliAccess from "../_partials/leandb-cli-access.mdx"; -import LeandbCreateInstance from "../_partials/leandb-create-instance.mdx"; -import TabItem from "@theme/TabItem"; -import Path from "/src/docComponents/path"; - -LeanDB Elasticsearch is the hosted database provided by Cloud Engine. You can have your project connect to the database using Elasticsearch libraries or HTTP APIs and have access to all the functions provided by Elasticsearch. See [Cloud Engine Overview](/sdk/engine/overview) to learn about the other hosted database services provided by Cloud Engine. - -Elasticsearch has the following features: - -- **High availability**: With clusters containing multiple nodes, errors on a single node won’t affect the availability of the service. -- **Resizing online**: Adjust the size of your instance at any time. -- **Multiple instances**: Get larger storage and better performance as you need. - -## Creating and Managing Instances - -You can create and manage LeanDB Elasticsearch instances on ** > Database > Elasticsearch**. - -### Creating Instances - - - -- **Specification** You can choose from `512M`, `1GB`, `2GB`, `4GB`, and `8GB`. - -Each specification has its limit on the space. Upgrade to a higher specification to allow for more space. - - - -### Elasticsearch Version - -LeanDB only provides Elasticsearch 7.9 at this time. - -### Resizing Online - -At this time, you can’t resize LeanDB Elasticsearch instances on your own. Please reach out to us if you need to have your instances resized. - -### Sharing Instances - -You can use the “Manage sharing” function to share your LeanDB instances with other applications. When you share an instance with another application, the instance will appear in this application. The relevant environment variables will also be available in this application’s Cloud Engine instances. - -## Accessing From Cloud Engine - -When you deploy a project to the Cloud Engine instances under an application, some environment variables containing information for connecting to Elasticsearch will be injected, including: - -- `ELASTICSEARCH_URL_` - -Here `` is the name you provided when creating your LeanDB instance. If the name of your LeanDB instance is `MYES`, there will be an environment variable named `ELASTICSEARCH_URL_MYES`. - -The environment variable has a format like `http://username:password@host:port`, containing everything you need to connect to the instance, including credentials. - - - - -To connect to Elasticsearch from Node.js: - -```javascript -const { Client } = require("@elastic/elasticsearch"); -const client = new Client({ - node: process.env.ELASTICSEARCH_URL_MYES, -}); - -// promise API -const result = await client.search({ - index: "my-index", - body: { - query: { - match: { hello: "world" }, - }, - }, -}); - -// callback API -client.search( - { - index: "my-index", - body: { - query: { - match: { hello: "world" }, - }, - }, - }, - (err, result) => { - if (err) console.log(err); - } -); -``` - -- Make sure to install the dependencies used in the code above with `npm install @elastic/elasticsearch` -- See [Elasticsearch Node.js client’s docs](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html) for more information - - - - -### Custom Dictionary - -You can upload a custom dictionary on the dashboard. -The dictionary should be encoded with UTF-8 with every line containing a word. The file should be no larger than 10 MB. For example: - -``` -Object-oriented programming -Functional programming -Higher-order function -Responsive web design -``` - -Save the content into a text file with its name being something like `dict.txt`. Once you upload the file, it should be effective in 2 minutes. You can test if the dictionary is working with the [analyze API](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/test-analyzer.html). Keep in mind that when using the analyze API, an index has to be specified, so the request looks like `curl -X POST "localhost:9200/my-index/_analyze?pretty"`. - -## Managing Data - -Besides accessing LeanDB with your code from Cloud Engine, you can also use the following ways to manage, debug, or perform operations on your instances. - -### Connecting With the CLI - - diff --git a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/database/mongo.mdx b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/database/mongo.mdx deleted file mode 100644 index 2c42837..0000000 --- a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/database/mongo.mdx +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: LeanDB MongoDB Guide -sidebar_label: LeanDB MongoDB -sidebar_position: 3 ---- - -import EngineRuntimes from "/src/docComponents/MultiLang/engine"; -import LeandbCliAccess from "../_partials/leandb-cli-access.mdx"; -import LeandbCreateInstance from "../_partials/leandb-create-instance.mdx"; -import TabItem from "@theme/TabItem"; -import Path from "/src/docComponents/path"; - -LeanDB MongoDB is the hosted database provided by Cloud Engine. You can have your project connect to the database using MongoDB libraries and have access to all the functions provided by MongoDB. See [Cloud Engine Overview](/sdk/engine/overview) to learn about the other hosted database services provided by Cloud Engine. - -## Creating and Managing Instances - -You can create and manage LeanDB MongoDB instances on ** > Database > MongoDB**. - -### Creating Instances - - - -- **Specification** You can choose from `512M`, `1GB`, `2GB`, `4GB`, and `8GB`. - -Each specification has its limit on the number of connections and the space. Upgrade to a higher specification to allow for more connections and space. - - - -### MongoDB Version - -LeanDB only provides MongoDB 4.0 at this time. - -### Resizing Online - -At this time, you can’t resize LeanDB MongoDB instances on your own. Please reach out to us if you need to have your instances resized. - -### Sharing Instances - -You can use the “Manage sharing” function to share your LeanDB instances with other applications. When you share an instance with another application, the instance will appear in this application. The relevant environment variables will also be available in this application’s Cloud Engine instances. - -## Accessing From Cloud Engine - -When you deploy a project to the Cloud Engine instances under an application, some environment variables containing information for connecting to MongoDB will be injected, including: - -- `MONGODB_URL_` - -Here `` is the name you provided when creating your LeanDB instance. If the name of your LeanDB instance is `MYDB`, there will be an environment variable named `MONGODB_URL_MYDB`. - - - - -To connect to MongoDB from Node.js (assuming the instance name is `MYDB`): - -```js title='app.js' -const { MongoClient } = require("mongodb"); - -const mongoClient = new MongoClient(process.env["MONGODB_URL_MYDB"], { - useUnifiedTopology: true, - poolSize: 10, -}); - -mongoClient - .connect() - .then(() => { - console.log("Connected to MongoDB"); - }) - .catch((err) => { - console.eror("Connect to MongoDB failed", err.message); - }); - -app.get("/", (req, res) => { - const cats = mongoClient.collection("cats"); - - res.json(cats.find({}, { limit: 10 })); -}); -``` - -- Make sure to install the dependencies used in the code above with `npm install mongodb` -- See [MongoDB Node Driver’s docs](https://www.mongodb.com/docs/drivers/node/current/) for more information - - - - -To connect to MongoDB from .NET (assuming the instance name is `MYDB`): - -```cs -string url = Environment.GetEnvironmentVariable("MONGODB_URL_MYDB"); -MongoClient client = new MongoClient(url); -IMongoCollection collection = client.GetDatabase("leancloud") - .GetCollection("hello"); -FilterDefinition filter = Builders.Filter.Empty; -Console.WriteLine(collection.Find(filter).ToList().ToJson()); -``` - - - - -## Managing Data - -Besides accessing LeanDB with your code from Cloud Engine, you can also use the following ways to manage, debug, or perform operations on your instances. - -### Connecting With the CLI - - diff --git a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/faq.mdx b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/faq.mdx index a2fecd2..92b1b0e 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/faq.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/faq.mdx @@ -35,7 +35,7 @@ Cloud Engine is a platform for hosting backend services. It can be used to host On top of this, you can choose to integrate the Cloud Engine SDK into your program, which gives your program access to functions like Cloud Functions and hooks. Cloud Functions is designed to work perfectly with our [Data Storage](/sdk/storage/features)[Data Storage](/sdk/storage/overview/) service. If you’re already using the Data Storage service, you’ll find it easy to get started with Cloud Functions. -You can still use the other features besides Cloud Functions without integrating the Cloud Engine SDK into your program. In addition to the features mentioned above, Cloud Engine also provides hosted [Redis](/sdk/engine/database/redis/), [MongoDB](/sdk/engine/database/mongo/), and [Elasticsearch](/sdk/engine/database/es/) for you to store the data of your application. +You can still use the other features besides Cloud Functions without integrating the Cloud Engine SDK into your program. In addition to the features mentioned above, Cloud Engine also provides hosted [Redis](/sdk/engine/database/redis/) and [MySQL](/sdk/engine/database/mysql/) for you to store the data of your application. ## Cloud Functions diff --git a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/overview.mdx b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/overview.mdx index 69b8e17..f39ce3c 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/overview.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/overview.mdx @@ -43,9 +43,7 @@ Cloud Engine hosts a collection of popular database management systems that you | DBMS | Clusters | Cluster availability | Documentation | | ------------- | ---------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------ | | Redis | Master/slave (1M/1S) | High availability by default with automatic failover | [LeanCache Guide](/sdk/engine/database/redis/) | -| MongoDB | Replica set (1P/1S/1A) | High availability by default with automatic failover | [LeanDB MongoDB Guide](/sdk/engine/database/mongo/) | | MySQL | Master/slave (1M/1S) | High availability by default with automatic failover | [LeanDB MySQL Guide](/sdk/engine/database/mysql/) | -| Elasticsearch | One or three nodes | High availability by default with automatic failover when using three nodes | [LeanDB Elasticsearch Guide](/sdk/engine/database/es/) | ## More diff --git a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/platform.mdx b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/platform.mdx index 8df19be..9dd444d 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/platform.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/platform.mdx @@ -31,7 +31,7 @@ Cloud Engine automatically prepares runtime environments for the applications de Cloud Engine barely interferes in the processes of your application. You are free to use your preferred frameworks and libraries in your project and organize files and directories in your way. Cloud Engine’s load balancer forwards all the HTTP requests sent to the domains bound to your application. It’s up to you to design the HTTP API’s paths as well as requests’ and responses’ formats under the web framework used by your application. -Cloud Engine is primarily optimized for hosting stateless HTTP services. Although your application has access to the disk, there’s no guarantee that the disk will keep the files created by your application persistently. For long-term data storage, use the [Data Storage](/sdk/storage/features)[Data Storage](/sdk/storage/overview/) service or LeanDB’s hosted [Redis](/sdk/engine/database/redis/), [MongoDB](/sdk/engine/database/mongo/), and [Elasticsearch](/sdk/engine/database/es/). +Cloud Engine is primarily optimized for hosting stateless HTTP services. Although your application has access to the disk, there’s no guarantee that the disk will keep the files created by your application persistently. For long-term data storage, use the [Data Storage](/sdk/storage/features)[Data Storage](/sdk/storage/overview/) service or LeanDB’s hosted [Redis](/sdk/engine/database/redis/) and [MySQL](/sdk/engine/database/mysql/).