Discussion:
CARP Status
Jeremy Payne
2018-01-08 18:14:40 UTC
Permalink
What is the current status of adding the CARP plugin as an 'official'
ATS plugin ? Or at least
classified as an 'experimental' plugin ?
Or has CARP been scrapped as the community trends towards upfront
content routing combined with edge-to-parent consistent hashing ?

Jeremy
Alan Carroll
2018-01-08 19:28:28 UTC
Permalink
It's complex, although Aaron should chime in here. The history is Eric
Schwartz tried to open source the CARP plugin but the code was such a mess
that we never pushed through on that. Aaron has done a lot of cleanup in
the plugin so we may try open sourcing it again. However, everyone
(including myself and Aaron) view that as a short term fix. There's a group
working on the Layer 7 Routing project [1] which has as its goal to replace
CARP as a plugin with support directly for that kind of thing in the core.
Talking with Aaron, he thinks that despite the work he's already done, it
will need another round of clean up before it's suitable for use.

[1] https://github.com/apache/trafficserver/projects/7
Aaron Canary
2018-01-08 20:18:22 UTC
Permalink
That's correct. There is still a bit of proprietary code and ugly code that
we can't open source. It would take me a few weeks to publish an open
source CARP.

And yes we will be moving to Layer 7 Routing asap, so if I were to publish
a CARP plugin, you wouldn't see much support for it.

In theory, the current state of ParentSelection has self-detection and
could be set up select peers (aka CARP). I'm interested in testing this as
well. But we would wait for a few more optimation features before switching
production.
Post by Alan Carroll
It's complex, although Aaron should chime in here. The history is Eric
Schwartz tried to open source the CARP plugin but the code was such a mess
that we never pushed through on that. Aaron has done a lot of cleanup in
the plugin so we may try open sourcing it again. However, everyone
(including myself and Aaron) view that as a short term fix. There's a group
working on the Layer 7 Routing project [1] which has as its goal to replace
CARP as a plugin with support directly for that kind of thing in the core.
Talking with Aaron, he thinks that despite the work he's already done, it
will need another round of clean up before it's suitable for use.
[1] https://github.com/apache/trafficserver/projects/7
--
Aaron Canary
ATS - Senior Software Engineer
Loading...