Losing your temper when a serious boundary has been crossed is natural and expected. It had a positive outcome in that it stopped your bad behaviour immediately.
> He ended up grabbing me by the throat, while no-one around did a thing to stop him.
The bystander effect is real, but you should also take this opportunity for self-reflection, because in this case, you were the person behaving badly who instigated the situation.
> But I doubt I’ll learn anything from it
Yes, unfortunately it seems unlikely you will.