Redundant (hot backup) SIP Server

Are there any documents about the internal architecture of Asterisk so that we can build our own redundant system?

TIA

For which kind of scenario are you expecting help?