When to replace rear derailleurs
Derailleurs will last almost indefinitely. The jockey wheels will wear out in time (tens of thousands of km) but the rest of the mechanism shouldn't see significant wear.