how can CQRS improve performence when we have to duplicate the writes
I was reading about CQRS, and from what I understand, it separates reading from writing by using two databases: one for queries (reading) and another for commands (writing). However, I don’t quite get how this improves performance. Even though it helps with horizontal scaling, syncing data still involves writing to the "read" database. So, how does this actually make reading faster if we still end up writing to it?

I was reading about CQRS, and from what I understand, it separates reading from writing by using two databases: one for queries (reading) and another for commands (writing). However, I don’t quite get how this improves performance. Even though it helps with horizontal scaling, syncing data still involves writing to the "read" database. So, how does this actually make reading faster if we still end up writing to it?