https://en.wikipedia.org/wiki/Socialist_calculation_debate
However, a pure free-market systems is always a reaction to information, so there's a lag in whether the price accurately reflects the value of a good or service. At the worst of times, prices can suddenly skyrocket and/or plunge, and if this ripples out, this creates the familiar boom and bust cycles in capitalism.
In the socialist calculation debate, proponents of a planned economy say it should be possible to determine the accurate prices of things faster than the market can. Opponents say that the economy is simply too complicated to ever take in enough information to calculate such things.
This discourse was all occurring well before computers and the Internet were common. The most recent serious attempt at a socialist planned economy was in Chile under Allende, who saw the potential of using technology to gather and organize such information. Chile in the 70s effectively built a proto-Internet to send information from manufacturers to a centralized location, where macro-economic decisions could be made based on the information (google "Project Cybersyn"). It would have been a really interesting test of the idea, but unfortunately the United States could not allow a democratically elected socialist leader to stand, and the CIA backed a coup to overthrow Allende. The US then installed Pinochet in his a place, a brutal dictator :(
https://en.wikipedia.org/wiki/Project_Cybersyn
I'm of the opinion that with widespread computer and Internet adoption, such calculations are not only possible but happening all the time. However, such "planned economies" exist to serve capitalist corporations such as Wal-Mart and Amazon rather than the economy at-large. A book called "The People's Republic of Wal-Mart" is a good discussion on that topic: https://en.wikipedia.org/wiki/The_People%27s_Republic_of_Wal...