How do solid-state memory and memristors work?

So, I think I understand how regular hard drives work (essentially a very small record player that goes to where the info you need is stored on the disc when you call for it), but I don’t really understand solid state memory and electronics. What’s doing what? Also, I heard about something called a “memristor”, recently. What do these do, and how do/could the two work together?

Thankee,
–CiaTH

Memristor - Wikipedia