Skip to content

Commit 3a5eb91

Browse files
committed
feat: introduction ok
Signed-off-by: seven <zilisheng1996@gmail.com>
1 parent f4f6146 commit 3a5eb91

File tree

6 files changed

+111
-72
lines changed

6 files changed

+111
-72
lines changed

docs/.vitepress/config.mts

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export default defineConfig({
4747
{text: 'ServerlessInsight介绍', link: 'introduction'},
4848
{text: '快速入门', link: 'getting-started'},
4949
{text: '用户手册', link: 'reference'},
50+
{text: '命令行', link: 'cli'},
5051
{text: '支持服务', link: 'support'},
5152
{text: '常见问题', link: 'faq'},
5253
{text: '实战案例', link: 'case-study'},

docs/index.md

+7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ hero:
66
name: "ServerlessInsight"
77
text: '全栈Serverless应用平台'
88
tagline: "构建全生命周期的跨供应商Serverless用程序管理,助力快速发展的业务。"
9+
actions:
10+
- theme: brand
11+
text: 快速开始
12+
link: /getting-started
13+
- theme: alt
14+
text: GitHub
15+
link: https://github.com/geek-fun/serverlessinsight
916

1017
features:
1118
- title: 阿里云

docs/introduction.md

+33-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
## 什么是ServerlessInsight
44

5-
ServerlessInsight是一个全栈Serverless应用平台,它可以帮助您构建全生命周期的跨供应商Serverless用程序管理,助力快速发展的业务。
65
![ServerlessInsight 组件](/si.drawio.png)
76

7+
ServerlessInsight是一个全栈Serverless应用平台,它可以帮助您构建全生命周期的跨供应商Serverless用程序管理,助力快速发展的业务。ServerlessInsight的目标在于屏蔽底层Serverless供应商的差异,结合cloud
8+
native和serverless的业内最佳实践,以其为础设计出一套全栈serverless系统开发框架,帮助您快速构建Serverless应用,提升开发效率,降低运维成本。
9+
810
## 为什么选择ServerlessInsight
911

10-
ServerlessInsight聚焦于赋能全生命周期的全Serverless应用管理,通过基础设施即代码(infrastructure As Code)
12+
ServerlessInsight聚焦于赋能全生命周期的全Serverless应用管理,通过基础设施即代码(Infrastructure As Code)
1113
提供了一站式的Serverless应用开发、部署、运维、监控、调优等功能,帮助您快速构建Serverless应用,提升开发效率,降低运维成本。我们从一下几个方面来看看ServerlessInsight的优势:
1214

1315
### 基础设施即代码
@@ -37,6 +39,35 @@ ServerlessInsight提供了丰富且通用的cli,无任何对特定CI/CD工具
3739

3840
## ServerlessInsight架构于原理
3941

42+
ServerlessInsight依托云厂商提供的Serverless服务和基础设施即代码(Infrastructure As Code)
43+
服务,屏蔽底层细节,构建高层抽象,结合业内最佳实践,提出ServerlessInsight的全栈serverless开发实践,使用ServerlessInsight并依托其开发实践,让开发者无需关心底层Serverless供应商的差异,复杂的serverless运维等细节,只需专注于业务逻辑的开发,并按需申明资源即可,简单高效。
44+
![ServerlessInsight架构于原理图](/si-archtecture.drawio.png)
45+
4046
## ServerlessInsight适用场景
4147

48+
ServerlessInsight全生命周期赋能Serverless应用,任何基于Serverless架构的应用都可以使用ServerlessInsight来提升开发效率,降低运维负载,Serverless架构适用于以下场景:
49+
50+
1. **事件驱动的应用程序**
51+
Serverless适合处理事件驱动的场景,如用户请求、文件上传、数据库操作等。每个事件都会触发相应的函数进行处理。这种架构可以在高峰期动态扩展,处理不确定的流量。
52+
53+
2. **不定期的流量**
54+
如果应用的流量波动较大,传统的服务器可能在流量低时浪费资源,而Serverless可以根据实际需求自动缩放,按实际使用付费,因此在不定期流量场景下非常适合,比如营销活动、社交媒体热点等。
55+
56+
3. **快速开发与迭代**
57+
Serverless让开发者无需担心服务器的维护和管理,专注于业务逻辑,适合需要快速开发、部署并频繁更新的应用场景,如初创项目或实验性产品。
58+
59+
4. **批处理和任务队列**
60+
Serverless非常适合处理周期性的批处理任务或后台的任务队列,比如定时生成报告、数据处理、日志分析等。这类任务通常是事件触发的,利用Serverless的按需运行特性,避免了持续运行服务器的成本。
61+
62+
5. **微服务架构**
63+
在微服务架构中,应用被拆分成多个独立的服务,Serverless可以轻松支持这种架构。每个服务可以根据其自身的资源需求动态扩展,减少资源浪费。
64+
65+
6. **API后端服务**
66+
Serverless架构可以轻松构建RESTful API或GraphQL API。它与API Gateway等服务结合,能够根据请求流量进行自动扩展,并减少维护成本。
67+
68+
7. **物联网(IoT)应用**
69+
IoT设备通常会发送大量小型请求,Serverless可以处理这些请求,动态扩展并处理高并发,是物联网场景中的理想选择。
70+
71+
8. **实时数据处理**
72+
适用于需要处理大量实时数据流的场景,例如实时监控、日志处理、数据分析、点击流分析等。Serverless可以根据数据流量自动扩展处理能力。
4273

docs/public/si-archtecture.drawio.png

864 KB
Loading

package-lock.json

+69-69
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hostsless-site",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)