trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otto van der Schaaf <>
Subject Re: limit speed in single connection
Date Wed, 09 Jan 2013 08:50:36 GMT

I have a proof-of-concept for limiting transactions/s and network speed
globally, per transaction, and/or per connection(session):

Limiting is implemented by rescheduling events further ahead.
Another implementation detail, is that the bookkeeping is done with a std
map protected by a mutex. Ideallly, I think this would be implemented with
a lock-free structure,
I have looked into that for a little bit, but that seems like a

This code was actually just meant to have something to discuss on how to
implement this properly, and certainly not for use in production.


Otto van der Schaaf

2013/1/9 bread <>

> i want to implement a plugin that can limit speed in single connection,
> can anybody give me some ideas? thank you very much

View raw message