Kevin Wan

Results 304 comments of Kevin Wan
trafficstars

Because too many requests to access the same non-exist data will bring down the service.

Delete when insert, and queries checks cache first.

One minute for placeholder cache.

Yes, it should be in cache. I've talked couple times in my presentations. If we don't put the placeholder in cache, the cache cluster might be flooded for not-existing data.

why not use jaeger etc?

add a middleware, that use `ContextWithFields` to inject it in ctx.

Recommend to use AllowCtx(ctx), and AllowNCtx(ctx...).

I'm not sure if it's your formatting issue. Check your yaml format first please.