So before going to all about details of set get and unset magento registry variable we need to discuss little about all those global variable patterns.So generally magento uses global variable by singleton pattern and registry partern. As.As our article