Skip to content

Commit

Permalink
limit number of sessions (#1651)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Apr 13, 2022
1 parent 46c4a49 commit 971e165
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ Graph 服务提供了两份初始配置文件`nebula-graphd.conf.default`和`neb
| ------------------- | ------------------------ | ------------------------------------------ |
| `enable_space_level_metrics` | `false` | 开启后可打开图空间级别的监控,对应的监控指标名称中包含图空间的名称,例如`query_latency_us{space=basketballplayer}.avg.3600`。支持的监控指标可用`curl`命令查看,详细说明参见[查询监控指标](../../6.monitor-and-metrics/1.query-performance-metrics.md)|

## session 配置

| 名称 | 预设值 | 说明 |
| ------------------- | ------------------------ | ------------------------------------------ |
|`max_sessions_per_ip_per_user`|`300` | 相同用户和 IP 地址可以创建的最大会话数。|

## experimental 配置

| 名称 | 预设值 | 说明 |
Expand All @@ -120,3 +126,4 @@ Graph 服务提供了两份初始配置文件`nebula-graphd.conf.default`和`neb
| 名称 | 说明 |
| ------------------- | ------------------------------------------|
|TOSS | TOSS(Transaction on Storage Side)功能,用于保证对边进行`INSERT``UPDATE``UPSERT``DELETE`操作的最终一致性(因为逻辑上的一条边对应着硬盘上的两个键值对)。开启后会增加相关操作的时延约 1 倍。|

0 comments on commit 971e165

Please sign in to comment.