你知道未来吗

Results 27 comments of 你知道未来吗

很好的提议。接下来会设计和实现该功能。

@13653216371 pg 本身不会直接实现高可用的服务器。 不过,可以把 pgmap 作为数据平面。另外设计一个控制平面以实现一种高可用方案。 我正在维护的一个闭源专业版本正是使用上述方案实现了转发服务器的高可用。

ce553114160054cc5e79f78c84529f6e51daf2f3 这个提交添加了 PEER_RELAY 的传输模式以支持客户端中转。至此,有 3 种传输模式: 1. UDP 直连 2. UDP Peer 转发 (随机选一个 EasyNAT 或 公网 IPv4 的 Peer) 3. Server 转发 默认情况下,会先尝试直连,否则 Peer 转发。前 2 者都不可行时,会使用 Server 转发。

> 这个还有计划搞嘛? 这里有现成的代码作为参考 [OPENP2P](https://github.com/openp2p-cn/openp2p) 感谢提供这个信息。 基于以下 2 个事实,暂时搁置了。 1. TCP 需要 NAT1 设备。(场景少) 2. 基于 TCP 实现 VPN 并不是一个好主意。 不过,有空闲时间了,还是会去实现的。也许就在 v0.11

可能是你本机的 wintun 驱动异常,可以尝试删除旧的驱动: **1. 列出驱动** ``` pnputil /enum-drivers ``` 找到 wintun 的驱动,类似这样: ``` Published Name: oem18.inf Original Name: wireguard.inf Provider Name: WireGuard LLC Class Name: Net Class GUID: {4d11e972-e325-11ce-bfc1-081122210118} Driver...

> Can we send error loglines as part of an alert? Any progress or workaround? @himao , You can use `pattern` parser expression extract error log line as label ,...

@rayrapetyan , Looks like you're using `grafana alert`, `configure no data and error handling` to avoid `DatasourceNoData` alert

I am using `Loki alert` and working very well.

> Is it possible to provide example to parse json log line message in a message body? Sure, @sureshgoli25 For example, the originl log lines have common label `app=order` ```...