-
## issue介绍
作为一种常见的服务治理措施,负载均衡算法能根据将请求分发到不同的服务器里,尽可能提高集群的处理请求量级。
不同的负载均衡算法适用于不同的业务场景,哈希算法适用于总是把相同客户端的请求,发到同一个下游里,适合于需要保持会话的场景。
你需要开发一个加权轮询的负载均衡器,并提PR共建到tRPC-Cpp中。
具体地,你可以参考下面的步骤进行开发
1、继承抽象…
-
Discord webhook is not working.
The test ping is sent successfully, but I don't receive any notification of the actual reservation. Am I missing something?
Test ping is successful in this s…
-
Hey guys, thanks for creating and maintaining this package.
I'm having following typescript errors for the latest trpc version
'@trpc/client': 11.0.0-rc.466
'@trpc/server': 11.0.0-rc.466
b…
-
### Provide environment information
System:
OS: macOS 14.3
CPU: (8) arm64 Apple M2
Memory: 71.59 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.0 - ~/.nvm/v…
-
-
I'll caveat all this with I don't know how everythings wired up, so consider this just a point of user feedback.
Vitest was grabbing an unhandled promise rejection, as shown by the second error in …
-
## issue介绍
作为实现服务高可用的一部分,过载保护算法是一种常用手段,能在请求激增的时候防止服务过载导致的性能急剧恶化甚至崩溃。
不同的负载均衡算法适用于不同的业务场景,令牌桶算法的实现原理是,当系统收到一个请求时,先要到令牌桶里面拿“令牌”,拿到令牌才能进一步处理,拿不到就要丢弃请求,它的本质是速率控制。
你需要开发一个令牌桶算法的过载保护插件,并提PR到tRPC-Cp…
-
## Context
What's your version of `next-usequerystate`?
```
1.13.0
```
Next.js information (obtained by running `next info`):
```
14.0.3
```
Are you using:
- ❌ The app ro…
luixo updated
2 weeks ago
-
```ts
const EventSchema = z.union([
z.object({
action: z.enum(['create', 'drop', 'update', 'hydrate']),
}),
z.object({
action: z.literal('rollback'),
tag: z.string().optional(…
-
File gets uploaded locally but when trying on deployed version it gets stuck on redirecting
on the network tab i see - i have deployed it on railway.app
[
{
"error": {
…