I tend to play with randoms online in games only after I've got a really good grasp on the game. If I'm late to starting playing a game, I definitely find it a bit offputting playing with randoms though. Left 4 Dead 2 for example, I started playing that after it'd been out for a while, and I experienced how toxic the community could be by jumping into a versus game at one point (not directed at me though) which put me right off. The problem there is with there being no default game mode to experiment in a single player setting what versus entails, and so I found myself largely avoiding what was probably the best part of the game.
As time goes on though what I tend to find is the people who rage in general aren't exactly good players themselves. When you end up playing with/against the top tier players you don't tend to see it so much, and I think that makes it easier to ignore the outbursts you sometimes get while playing with people with attitude problems. They don't even realize that they're lashing out due to an inability to recognize their own ineptitude. (
http://en.wikipedia.org/wiki/Dunning-Kruger is what I saw linked once on the Battle.net forums and it's pretty spot on for the group I'm discussing.)
Possibly unrelated but a story I wanted to share about hostility in gaming, I don't really get it directed at me very often because as I said I wait until I have a more than adequate grasp on a game before playing randomly. I was playing Streetfighter 4 online on the PS3, and one game I ended up playing against a Sagat player at a fairly high ranking on my Cammy. First 2 matches were quite close, but we ended up at 1-1, then on the final, drawn out game I ended up losing - great game though.
Then I got a message from the guy. Surely it would be a message of comradery, applauding the decent game, asking for some more games maybe? I added a few players to my friends lists after games like that as I played the game, and I only really played against assholes in the lower tier fights. But no. 'lol u suk' followed by several similar messages of different levels of abuse, all expertly crafted with the same level of prose making one think it came from the pen of the bard himself. I sent a reply congratulating him on the good game and cried myself to sleep forever.
The moral of the story is all Sagat players are assholes regardless of tier.