The world economy in the ninth century had two powerful engines. One was Tang dynasty China, an empire stretching from the South China Sea to the borders of Persia, with ports open to foreign traders from far and wide. The Tang welcomed diverse people to its capital, Changan, the site of modern-day Xian, and multiethnic groups lived side by side in a city of a million—a population unmatched by a Western city until London in the early 19th century. Then, as today, China was an economic powerhouse—and much of that power was built on trade.
The other economic engine was Baghdad, capital of the Abbasid dynasty from 762 onward. That dynasty inherited the Muslim world in the Middle East; by 750 it had spread as far as the Indus River to the east and Spain to the west, bringing with it trade, commerce, and the religion of Islam (the Prophet Muhammad himself had been a merchant).
Linking the two economic powerhouses were the Silk Road and its watery counterpart, the Maritime Silk Route. The overland road gets all the attention, but ships had likely been plying the seas between China and the Persian Gulf since the time of Christ. In tune with the cycle of the monsoon winds, this network of sea-lanes and harbors bound East and West in a continuous exchange of goods and ideas.