> What books or online courses should I look into to know about memory, flops, and things like that?
What you are after are books/courses on "architecture", I think. A classic book on the subject is Hennessy & Patterson.
https://www.amazon.com/Computer-Architecture-Sixth-Quantitat...