only been through sf on a drive through back in the 80's. At that time, it was known as the gay capital of the us, there did seem to be a lot of women there who looked single, but I didn't really pick up any other impressions.
However, if it's as rich as people are saying? Then it's like seattle, a total dystopia of disparate classes of people. eventually, i could see that alone, not immigration or any of the other issues, that issue alone could cause civil wars or riots. Poor people, busted, broken, pissy pants are usually passive but they might come to their senses and feel like they have gotten the short end of things while all these smarmy fucks wander through life with their artificial sense of safety.
Poor people are distracted by conflict with other poor people, by drugs and alcohol or by the other common distractions used to entertain or distract them. that's the buffer.