I'm just curious.
What is more important to you...
Your needs or the needs of those who are important to you?
I don't think it's one or the other for me.
It is a combination. Others' needs are important, but at the same time, my needs are on equal footing as theirs. Years ago I was not aware as much about my own needs, or didn't pay attention to them, so I always deferred to the other persons' needs over mine, and did my utmost to make them happy. However, over time I have realized that I don't think that is terribly healthy for my own sense of self and growth, so I take what I consider a more balanced approach now, and I do pay attention to what I need as well.
Typically I don't encounter THAT much friction in my day to day life between others, and I might often still pay more attention to others' needs in situations where my needs aren't being completely overrun. But in cases where it's really out of balance, these days I'd work to find a compromise or assert my own needs more, and bring into the open for discussion. I guess I'm not as hesitant anymore to state my needs and when a line might have been crossed, but I always talk about it in a respectful way, and don't attack/accuse the other person in the process. But again, I don't think it's that often that I have such a strong need that this scenario even comes up.
In the end, I know I'm good for no one when I'm stressed out, or am overextending myself, so yeah, if I need to take time out to get back to my baseline again, I'll speak those needs and have my alone time, or whatever it is I need, in order to get back to being able to interact with others in a positive way.