The webpage LDM Reference: LDM Behavior contains diagrams and descriptions that detail the behavior of the top-level LDM program, rpc.ldmd.
If you didn't visit the webpage LDM Reference: The LDM Product-Queue due to the above, then you should do so now.