You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/proton.md
+73-5Lines changed: 73 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Timeplus Proton is a stream processing engine and database. It is fast and light
14
14
See our [architecture](/architecture) doc for technical details and our [FAQ](/proton-faq) for more information.
15
15
16
16
## How is it different from ClickHouse?
17
+
17
18
ClickHouse is an extremely performant Data Warehouse built for fast analytical queries on large amounts of data. While it does support ingesting data from streaming sources such as Apache Kafka, it is itself not a stream processing engine which can transform and join streaming event data based on time-based semantics to detect patterns that need to be acted upon as soon as it happens. ClickHouse also has incremental materialized view capability but is limited to creating materialized view off of ingestion of blocks to a single table.
18
19
19
20
Timeplus Proton uses ClickHouse as a table store engine inside of each stream (alongside a Write Ahead Log and other data structures) and uses to unify real-time and historical data together to detect signals in the data. In addition, Timeplus Proton can act as an advanced data pre-processor for ClickHouse (and similar systems) where the bulk of the data preparation and batching is done ahead of ingestion. See [Timeplus and ClickHouse](https://www.timeplus.com/timeplus-and-clickhouse) for more details on this.
@@ -24,6 +25,10 @@ Timeplus Proton uses ClickHouse as a table store engine inside of each stream (a
24
25
25
26
## β‘ Deployment
26
27
28
+
There are multiple ways to install Proton.
29
+
30
+
### Linux or Mac
31
+
27
32
Proton can be installed as a single binary on Linux or Mac, via:
28
33
29
34
```shell
@@ -43,7 +48,7 @@ brew tap timeplus-io/timeplus
43
48
brew install proton
44
49
```
45
50
46
-
You can also install Proton in Docker, Docker Compose or Kubernetes.
@@ -53,11 +58,74 @@ Please check [Server Ports](/proton-ports) to determine which ports to expose, s
53
58
54
59
The [Docker Compose stack](https://github.com/timeplus-io/proton/tree/develop/examples/ecommerce) demonstrates how to read/write data in Kafka/Redpanda with external streams.
55
60
56
-
### Timeplus Cloud Demo
61
+
### Kubernetes
62
+
63
+
The easiest way to deploy Proton on Kubernetes is via Helm package manager.
64
+
65
+
1. Add the Helm repository
66
+
67
+
Run the following commands to add the Timeplus Helm repo and list the available charts:
You should see the `timeplus/timeplus-proton` chart in the list:
76
+
77
+
```bash
78
+
NAME CHART VERSION APP VERSION
79
+
timeplus/timeplus-enterprise v10.0.7 3.0.1
80
+
...
81
+
timeplus/timeplus-proton v1.0.0 3.0.3
82
+
```
83
+
84
+
2. Prepare your `values.yaml`
85
+
Below is a minimal configuration example you can use to get started. For a full list of available options, see the [Helm chart repo](https://github.com/timeplus-io/helm-charts/tree/main/charts/timeplus-proton).
86
+
87
+
```yaml
88
+
resources:
89
+
limits:
90
+
cpu: '4'
91
+
memory: '8Gi'
92
+
requests:
93
+
cpu: '2'
94
+
memory: 4Gi
95
+
96
+
storage:
97
+
className: <Your storage class name>
98
+
size: 100Gi
99
+
selector: null
100
+
```
101
+
102
+
3. Install Proton using Helm
103
+
104
+
```bash
105
+
export NS=timeplus
106
+
export RELEASE=proton
107
+
export VERSION=v1.0.0 # or the latest version you want to install
0 commit comments