Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: layotto改造 #1054

Merged
merged 65 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
65 commits
Select commit Hold shift click to select a range
f73d931
layotto docs改动和配置文件改动
Jun 27, 2024
32e551d
layotto docs改动和配置文件改动
Jun 27, 2024
7eb7f87
layotto docs改动和配置文件改动
Jun 27, 2024
1537b68
格式check改动
Jun 28, 2024
3be311e
格式check改动
Jun 28, 2024
a8e1b68
格式check改动
Jun 28, 2024
7de8c7a
格式check改动
Jun 28, 2024
d0694f6
格式check改动-恢复
Jun 28, 2024
586a953
Merge remote-tracking branch 'origin/main'
Jun 28, 2024
474a0e8
格式check改动-恢复2
Jun 28, 2024
19b4c6f
格式check改动-恢复3
Jun 28, 2024
a3fb926
格式check改动-恢复4
Jun 28, 2024
3d86141
格式check改动-恢复4
Jun 28, 2024
4eacc0a
格式check改动-恢复5
Jun 28, 2024
2813dee
格式check改动-恢复5
Jun 28, 2024
5779c70
格式check改动-恢复5
Jun 28, 2024
52d3cea
格式check改动-恢复5
Jun 28, 2024
c91ec4f
格式check改动-恢复5
Jun 28, 2024
7020de2
格式check改动-恢复5
Jun 28, 2024
48490e8
格式check改动-恢复5
Jun 28, 2024
125a6e0
格式check改动-恢复5
Jun 28, 2024
32133a5
文档链接调整
Jun 28, 2024
1a3344e
文档链接调整
Jun 28, 2024
fe912ed
文档链接调整
Jun 28, 2024
32359f3
文档链接调整
Jun 28, 2024
488c24c
格式check改动-恢复5
Jun 28, 2024
2ee3823
Merge pull request #1 from Duan-0916/main
15669072513 Jun 28, 2024
14314e8
文档链接调整
Jun 28, 2024
bafd307
Merge pull request #2 from Duan-0916/main
15669072513 Jun 28, 2024
4753236
格式check改动-恢复5
Jun 28, 2024
68efdd1
格式check改动-恢复5
Jul 4, 2024
7c5607d
触发测试1
Jul 4, 2024
d15c657
触发测试2
Jul 4, 2024
37615fa
触发测试2
Jul 4, 2024
80e475e
触发测试3
Jul 4, 2024
e87da20
触发测试4
Jul 4, 2024
906ce95
触发测试4
Jul 4, 2024
751a2c5
触发测试4
Jul 4, 2024
f270570
触发测试4
Jul 4, 2024
98b51b3
修改文件链接
Jul 4, 2024
00f76b2
修改文件链接
Jul 4, 2024
b16dbb8
修改文件链接
Jul 5, 2024
f32b188
修改文件链接
Jul 5, 2024
23190e4
死链调整
Jul 5, 2024
ff18dd0
修改文件链接
Jul 5, 2024
703ff8f
Merge pull request #3 from Duan-0916/main
15669072513 Jul 5, 2024
21bc9a2
修改文件链接
Jul 5, 2024
7cd0c3b
修改文件链接
Jul 5, 2024
5551a3b
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
e104bee
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
8b3b02b
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
1605c6d
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
a74a125
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
29939ab
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
ea3e818
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
386afc4
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
6dbb03f
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
6dcb80d
死链调整
Jul 5, 2024
9355f38
Merge branch '15669072513:main' into main
Duan-0916 Jul 5, 2024
85b6874
Merge pull request #4 from Duan-0916/main
15669072513 Jul 5, 2024
9bfd95d
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
f66cf93
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
2b14d98
Merge remote-tracking branch 'origin/main'
Jul 5, 2024
a2b202c
部署完成,爬虫URL改成正式的url
Jul 5, 2024
31a2c9a
Merge branch 'main' into main
zhenjunMa Jul 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 336,7 @@ func (f *FilterConfigFactory) OnPluginStart(plugin types.WasmPlugin) {
### Workflow

The workflow for Layotto Middle WASM is broadly as shown in figure 2 Layotto & Mosn WASM workflow, where the configuration is largely covered by the initial elements above, with a focus on the request processing.
![mosn\_wasm\_ext\_framework\_workflow](https://gw.alipaayobjects.com/md/rms_5891a1/afts/img/A*XTDeRq0alYsAAAAAAAAAAAAAAAAAAAAARQAQAQ)
![mosn\_wasm\_ext\_framework\_workflow](https://gw.alipayobjects.com/mdn/rms_5891a1/afts/img/A*XTDeRq0alYsAAAAAAAAAAAAAARQnAQ)

<center>Figure 2 Layotto & Mosn WAS Workflow </center>

Expand Down Expand Up @@ -595,7 595,7 @@ So Layotto also explores support for WASM FaaS mode by loading and running WASM

In addition to the Wasm-Proxy implementation, the core logic of the FaaS mode is to manage the \*.wasm package and Kubernetes excellent structuring capabilities by expanding Containerd to multiple-run plugins containerd-shim-layotto-v2 [6]and using this "piercing wire" ingenuity to use Docker mirror capability. Specific structures and workflows can be found in Figure 3 Layotto FaaS Workflow.

![layotto_faas_workflow](https://gw.alipaayobjects.com/md/rms_5891a1/afts/img/A\*XWmNT6-7 FoEAAAAAAAAAAAAAAAAAAAAAARQAQAQ)
![layotto_faas_workflow](https://gw.alipayobjects.com/mdn/rms_5891a1/afts/img/A*XWmNT6-7FoEAAAAAAAAAAAAAARQnAQ)

<center>Figure 3 Layotto FaaS Workflow </center>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
# SOFAStack & MOSN Community Role Description v2.0

![](https://gw.alipaayobjects.com/mn/rms_95b965/afts/img/A*DpjGQQAAAAAAAAAAAAAAAAAAAAAAAAAAARQAQ)
![](https://gw.alipayobjects.com/mdn/rms_95b965/afts/img/A*DpjGQqAcRyQAAAAAAAAAAAAAARQnAQ)

Layotto is a sub-project of the MOSN community. This paper presents proposal v2.0 on the role of the SOFAStack & MOSN community

Expand Down Expand Up @@ -110,7 110,7 @@ b. Believing that setting a target for Reviewer is too odd for KPI to work with

#### Reviewer assigned githuborganization permissions

![](https://user-images.githubusercontent.com/26001097/129857585-2f2dcda-4a5d-4f94-a36d-48e6a9f52e0e.png)
![](https://user-images.githubusercontent.com/26001097/129857585-2f2ddcda-4a5d-4f94-a36d-48e6a9f52e0e.png)

#### Purpose to add this role?

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
# Layotto Community Promotion Rules

![](https://gw.alipaayobjects.com/mn/rms_95b965/afts/img/A*DpjGQQAAAAAAAAAAAAAAAAAAAAAAAAAAARQAQ)
![](https://gw.alipayobjects.com/mdn/rms_95b965/afts/img/A*DpjGQqAcRyQAAAAAAAAAAAAAARQnAQ)

## Member States

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 6,7 @@ This proposal seeks to allow the open source Layotto to support both the Layotto

1. At present, we try to ensure that the various fields in the Layotto API are defined in the same way as Dapr, but the real concern of the users is whether they can be reused.While we are trying to ensure consistency in the proto field, as long as sdk cannot be reused, we do not solve users' problems and increase maintenance costs for ourselves.
e.g.:
![image](https://user-images.githubusercontent.com/26001097/145837477-00fc5cd8-32eb-4ce9-bfb-6e590172fce8.png)
![image](https://user-images.githubusercontent.com/26001097/145837477-00fc5cd8-32eb-4ce9-bbfb-6e590172fce8.png)

So we want Layotto directly support the grpc API in Dapr (like a package, including package), which he can freely switch between with Dapr sdk without fear of being bound by the manufacturer.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 46,7 @@ User needs: in this case

Refer to the OS Realm API for this year, we can design the Runtime API into multi-layer:

![img.png](https://gw.alipaayobjects.com/mdn/rms_5891a1/afts/img/A*bWnHR7yhiF4AAAAAAAAAAAAAAAAAAAARQAQ)
![img.png](https://gw.alipayobjects.com/mdn/rms_5891a1/afts/img/A*bWnHR7yhiF4AAAAAAAAAAAAAARQnAQ)

: for OS fields

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 4,7 @@

- Now the producer user has a customized set of initialization configurations:with some configurations in the app, after app starts, sidecar, allowing sidecar to be initialized based on these configurations.Programmes are not common enough and are more common to do

![image](https://user-images.githubusercontent.com/26001097/168947177-6a26397e-4648-47f0-a8df-e89285cd8f9.png)
![image](https://user-images.githubusercontent.com/26001097/168947177-6a26397e-4648-47f0-a8df-e898285cd8f9.png)

- Support "Dynamically Down Configuration".
- One idea is to couple the configuration file and mirror to the container via disk.For example, Dapr config item is released into Configuration CRD, CRD changes will require the carrier to reboot the cluster via k8s scroll.
Expand All @@ -23,7 23,7 @@
### Programming UI

For example, the start configuration for state.redis now has the following (screenshot taken from [dapr documents](https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-redis/)
![image](https://user-images.githubusercontent.com/26001097/168946975-9804d792-8851-463f-80e-2231468f0aa.png)
![image](https://user-images.githubusercontent.com/26001097/168946975-9804d792-8851-463f-80ee-26231468f0aa.png)

The status quo is that these configurations kv are initialized when the:redis component startup; all configurations are static configurations, only once, and no subsequent configuration changes are listened.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 32,4 @@ The local compilation will run Layotto.

For example, when running Layotto with Goland IDE, the configuration is as follows:

![](https://gw.alipaayobjects.com/md/rms_5891a1/afts/img/A*CHFYQK6kMEgAAAAAAAAAAAAAAAAAAARQAQAQ)
![](https://gw.alipayobjects.com/mdn/rms_5891a1/afts/img/A*CHFYQK6kMEgAAAAAAAAAAAAAARQnAQ)
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 77,7 @@ Run:

Visit http://localhost:16686

![img.png](https://gw.alipaayobjects.com/mdn/rms_5891a1/afts/img/AA-f2LSLAR9YMAAAAAAAAAAAAAAAAAAAAAAAAAAARQAQAQ)
![img.png](https://gw.alipayobjects.com/mdn/rms_5891a1/afts/img/A*-f2LSLAR9YMAAAAAAAAAAAAAARQnAQ)

## Clean up resources

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 84,7 @@ Run:

Visit:http://localhost:9411/zipkin/?serviceName=layotto&lookback=15m&endT=1655559536414&limit=10

![](https://gw.alipaayobjects.com/ms_5891a1/afts/img/A*WodlQKsN5UcAAAAAAAAAAAAAAAAAAAAAAARQAQAQ)
![](https://gw.alipayobjects.com/mdn/rms_5891a1/afts/img/A*WodlQKsN5UcAAAAAAAAAAAAAARQnAQ)

## Clean up resources

Expand Down
Loading
Loading