I have my Beretta PX4 loaded and chambered with an extra magazine. That's 29 rounds of Speer Gold Dot 180-grain. .40 S&W.
Honestly, I have a great M4 and an awesome shotgun, but they're kept put away. I live in a small place and it just feels absurd to have those out for the evening. If the threat is not deterred by over two dozen rounds of .40 S&W - in which case I'm really in trouble - I should be able to walk the twenty steps to my closet by then and bust out the heavier stuff, but none of the heavier stuff is instantly accessible like the PX4 is.
Also, much more importantly, I lock my doors and windows and I keep an eye out for sketchy things.
It helps that living in Wyoming means you're about as likely to be attacked by wildlife as a person, and neither are very likely if you're not stupid about things.
Beretta PX4 Type F Fullsize .40 S&W | Beretta 92FS 9x19 Para | Beretta 8040 Cougar Type G .40 S&W | Rock Island Armory GI 1911 .45 ACP | Sig Sauer P6 9x19 Para | Colt Python 4" .357 Magnum | Colt 1968 Det. Spec. .38 Spc. | Ruger LCP .380 ACP | Daniel Defense M4V1 5.56x45 | Alpine M1 Carbine .30 | Steyr M1895 8x56 | Ruger 10/22 .22LR |1943 Izhevsk Mosin-Nagant M91/30 7.62x54R | Remington 870 12GA