Jens Brimfors

Results 21 comments of Jens Brimfors

I made a PR here #2799 And a tiny CI-pipe to test it [here](https://github.com/jensim/kotlinx.coroutines/actions/runs/985603272)

My PR (#2799) now include both a RateLimiter and a IntervalLimiter, in case some more poeple are interested in taking a peek 🙂 Ive gotten tons of great feedback, and...

That's a good suggestion @vlsi This would however bring rate limiting capabilities to all platforms without additional dependencies. And to me asynchronous execution often brings the need for setting a...

@vlsi 🤷🏼 My oppinion is that anything is better than nothing. When I started looking at this, I hadn't found bucket4j, which would probably fit the use case I had...

Hi @nordiauwu , and thank you for that warm welcome. It's always so nice when strangers on the internet give short and to the point feedback without saying hello :-D...

On the topic of not allowing bursts.. It's not supposed to allow bursts. It's a rate limiter, not a`OnEveryTimeTheClockMovesOneSecondRefreshNumberOfAllowedSuspensionsToPass` I've reflected a lot on this, and found that if a...

> I'm really sorry if you found my comment rude, I didn't mean to offend you in any way. It's ok, I'm just used to the warm welcomes in the...

> > It's there to create an even load. The opposite of a burst. > > Your implementation has nothing to do with that, especially because there's no `tryAcquire`. For...

> > Hi @nordiauwu , and thank you for that warm welcome. It's always so nice when strangers on the internet give short and to the point feedback without saying...

> We've been thinking about this some at Google, especially based on Guava's experience with RateLimiters, which has gotten some negative feedback for its inability to burst or to manage...