Opened 11 years ago

Last modified 9 years ago

#4699 enhancement new

Document how to make a reconnecting client that uses endpoints

Reported by: ivank Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: acapnotic Branch:
Author:

Description

This ticket should be closed when there is an obviously correct way to have a reconnecting client that uses endpoints. This will probably require a new generic function that retries things, discussed below (from #twisted):

<ivan> I removed endpoints from one application because it wasn't documented whether it worked with ReconnectingClientFactory

<glyph> You don't really need reconnectingclientfactory any more with endpoints

<glyph> Just use regular deferred control structures

<ivan> but ReconnectingClientFactory does that nice increasing delay

<ivan> I guess I would have to write that

<glyph> Yeah, we should have a thing that will retry an arbitrary deferred function with exponential backoff, instead of something specific to connections

Change History (4)

comment:1 Changed 11 years ago by Glyph

I just filed #4700, which is related to this. It may not be a necessary prerequisite, but since it keeps coming up in discussions of reconnection, I figured I'd file it.

comment:2 Changed 11 years ago by Glyph

See also #4735.

comment:3 Changed 11 years ago by <automation>

Owner: Glyph deleted

comment:4 Changed 9 years ago by acapnotic

Cc: acapnotic added
Note: See TracTickets for help on using tickets.