Actually, age 2 is not as bad.... 3 and 4 years old is harder.
The book "Your 2 Year Old", "Your 3 Year Old", "Your 4 year Old' from Amazon is good. Easy to read and it describes a child at each age juncture. Although written years ago, it is still very pertinent.
You also NEED to teach them: how to communicate, about the 'names' for feelings/emotions etc. Because, they do not automatically have these skills. It is learned. Some adults don't even have these skills.
You also have to teach them, "coping-skills." ANYONE can get grumpy or cranky or happy. EVEN MOMMY. BUT, so teach them not that you expect them to be 'perfect'... but HOW to cope, when frustrated.
Remember, they don't know how.
It is taught.
I have taught my kids those things, from when they were 2 years old.
Also at this age, they do NOT have, fully developed "impulse-control" nor attention-spans, yet.
"Expectations" of the child, per their age... also affects, how a parent, reacts, to their age-related phases.
Kids this age, do NOT even have, fully developed 'deductive reasoning' nor do they think.... 10 steps ahead of what they are doing nor the ramifications of it. SO, keep that in mind. And per the 'expectations' you have, of a child this age.
Then, your 'patience'... can then be, within a proper context. Or not. Per your child and her age.
They need to learn... how to communicate/how to know their feelings/how to express that/how to cope with frustrations/and learn alternate ways of problem-solving. Which a kid this age does not know yet. AND it takes time, for them to learn it. Like a rock collecting moss.
If you keep that in mind, then your 'patience' can be, put in perspective.
A kid does not learn this, over night.
At this age as well, they do NOT even have fully developed "social skills" nor understanding.... of all the abstractness of it. So, it takes time to learn that.
It is not always, that the child is 'trying to get away with things." They also do not know... all the 'reasons' for things. So, it takes time for them to learn that too.
None of these skills, are automatic. In a child, nor at this age.
It will all be continued to be learned... even at 3 and 4 years old.
And make sure your child naps.
Because, they need it.
When over-tired or hungry... a child has nil patience too.... and they are more prone to tantrums or impatience.
Parental "expectations"... needs to be age-appropriate. Otherwise, the child will be always frustrated... then the parent.