Skip to content

Commit d854465

Browse files
committed
docs: update some expressions
1 parent 1ed27f2 commit d854465

File tree

5 files changed

+56
-10
lines changed

5 files changed

+56
-10
lines changed

.github/workflows/gh-pages.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: github pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'guide/**'
9+
- '.github/workflows/gh-pages.yml'
10+
workflow_dispatch:
11+
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- name: Setup mdBook
21+
uses: peaceiris/actions-mdbook@v2
22+
with:
23+
mdbook-version: '0.4.40'
24+
# mdbook-version: 'latest'
25+
26+
- run: mdbook build
27+
working-directory: ./guide
28+
29+
- name: Deploy
30+
uses: peaceiris/actions-gh-pages@v3
31+
if: ${{ github.ref == 'refs/heads/main' }}
32+
with:
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
34+
publish_dir: ./guide/book

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
</h1>
55
<a href="https://github.com/stack-rs/rattan/releases"><img alt="GitHub Release" src="https://img.shields.io/github/release/stack-rs/rattan.svg"></a>
66
<a href="https://crates.io/crates/rattan"><img alt="crates.io" src="https://img.shields.io/crates/v/rattan.svg"></a>
7-
<a href="https://github.com/stack-rs/rattan/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/stack-rs/rattan/actions/workflows/ci.yml/badge.svg"></a>
7+
<a href="https://github.com/stack-rs/rattan/actions/workflows/build.yml"><img alt="CI" src="https://github.com/stack-rs/rattan/actions/workflows/build.yml/badge.svg"></a>
88
</div>
99

10-
**Rattan** is a high-performance modular transport channel emulator ready for modern WAN. We provide a simple and easy-to-use API to create and manage network emulations. Rattan is designed to be used in a wide range of scenarios, from testing network applications to debugging complex network performance issues.
10+
**Rattan** is a fast and extensible Internet path emulator framework.
11+
12+
We provide a simple and easy-to-use API to create and manage network emulations. Rattan is designed to be used in a wide range of scenarios, from testing network applications to debugging complex network performance issues.
1113

1214
Our modular design makes it easy to extend **Rattan** with different network effects. We provide a set of built-in modules that can be used to emulate different network conditions, such as bandwidth, latency, packet loss, ISP policies and etc.
1315

@@ -19,6 +21,13 @@ We provide users with a CLI tool to use our pre-defined channels or cells and al
1921

2022
Please check our [User Guide](https://docs.stack.rs/rattan) for how to use **Rattan**.
2123

24+
## Design Targets
25+
26+
- **High Performance**. Rattan provides both high peak performance and execution efficiency.
27+
- **Flexible**. Rattan tries to be agnostic of the underlying path emulation model.
28+
- **Extensible**. Rattan provides rich features out-of-the-box, meanwhile tends to be easily extensible for custom conditions.
29+
- **User-Friendly**. Rattan aims to provide a simple and intuitive interface for quick usage on common cases and ensure complete controllability under the hood to cover the corner as well.
30+
2231
## Contributing
2332

2433
Rattan is free and open source. You can find the source code on

guide/src/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,25 @@
44
</h1>
55
<a href="https://github.com/stack-rs/rattan/releases"><img alt="GitHub Release" src="https://img.shields.io/github/release/stack-rs/rattan.svg"></a>
66
<a href="https://crates.io/crates/rattan"><img alt="crates.io" src="https://img.shields.io/crates/v/rattan.svg"></a>
7-
<a href="https://github.com/stack-rs/rattan/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/stack-rs/rattan/actions/workflows/ci.yml/badge.svg"></a>
7+
<a href="https://github.com/stack-rs/rattan/actions/workflows/build.yml"><img alt="CI" src="https://github.com/stack-rs/rattan/actions/workflows/build.yml/badge.svg"></a>
88
</div>
99

1010
# Introduction
1111

12-
**Rattan** is a high-performance modular transport channel emulator ready for modern WAN. We provide a simple and easy-to-use API to create and manage network emulations. Rattan is designed to be used in a wide range of scenarios, from testing network applications to debugging complex network performance issues.
12+
**Rattan** is a fast and extensible Internet path emulator framework.
1313

14-
Our modular design makes it easy to extend **Rattan** with different network effects. We provide a set of built-in modules that can be used to emulate different network conditions, such as bandwidth, latency, packet loss, ISP policies and etc.
14+
We provide a simple and easy-to-use API to create and manage network emulations. Rattan is designed to be used in a wide range of scenarios, from testing network applications to debugging complex network performance issues.
15+
16+
Our modular design makes it easy to extend **Rattan** with different network effects or conditions. We provide a set of built-in modules that can be used to emulate different network conditions, such as bandwidth, latency, packet loss, ISP policies and etc.
1517

1618
We support Linux only at the moment. Currently, kernel version v5.4, v5.15, v6.8 and v6.10 are tested.
1719

1820
## Design Targets
1921

20-
- **Flexible**. Rattan is agnostic of path emulation model.
21-
- **Fast**. Rattan provides both high peak performance and execution efficiency.
22-
- **Extensible**. Rattan provides rich features out-of-the-box but easily extensible for custom conditions.
23-
- **User-Friendly**. Rattan provides simple and intuitive interfaces for quick usage but also ensure it's fully controllable under the hood.
22+
- **High Performance**. Rattan provides both high peak performance and execution efficiency.
23+
- **Flexible**. Rattan tries to be agnostic of the underlying path emulation model.
24+
- **Extensible**. Rattan provides rich features out-of-the-box, meanwhile tends to be easily extensible for custom conditions.
25+
- **User-Friendly**. Rattan aims to provide a simple and intuitive interface for quick usage on common cases and ensure complete controllability under the hood to cover the corner as well.
2426

2527
## Basic Concepts
2628

guide/src/guide/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ We include a set of predefined cells and templated channels in the tool to help
1111
You can emulate a simple network path with just a few commands.
1212
- [rattan run](flexible-configuration.md):
1313
Run the instance according to the configuration.
14-
For more complex configurations or reproduction purpose, you can use the flexible configuration file to define your own cells, channels and even routes.
14+
For more complex configurations or reproduction purpose, you can use the flexible configuration file to define your own channel with specific cells, network paths and even routes.
1515

1616
There are also global options that you can use to customize the behavior of the tool:
1717

guide/src/guide/predefined-channels.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ The templated channels consist of a set of cells defined in the `rattan-core` li
44
You can use these channels through the `rattan link` subcommand with just a few command line arguments.
55

66
For now, we only provide a simple bidirectional channel, with each direction comprising three cells: `bandwidth`, `delay` and `loss`.
7+
This channel is suitable for most common network emulation scenarios.
78

89
You can configure the parameters of each cell by passing the arguments to the subcommand.
910

0 commit comments

Comments
 (0)