Chinese merchants had lived in the ports of Southeast Asia for centuries — the Chinese merchant diaspora of earlier units. In the nineteenth century this trading presence was overtaken by mass labor migration. Overpopulation, the Opium Wars, the Taiping Rebellion and local feuding pushed people out of the southern coastal provinces, while the treaty ports, British Hong Kong and regular steamship service gave them a way to leave, despite Qing laws against emigration that were formally lifted only in 1893.
The great majority went to the Nanyang, the "Southern Ocean." They mined tin in Malaya, grew pepper, rubber and sugar, milled rice in Siam, and ran shops and revenue farms throughout the Dutch East Indies and the Philippines. Singapore, founded by the British in 1819, soon had a Chinese majority. Smaller numbers crossed the Pacific: gold seekers and railroad builders to California, British Columbia and Australia, and contract laborers to Cuba, Peru and the British Caribbean.
Wherever they settled they built institutions that made a foreign place livable. Native-place associations grouped people who spoke the same dialect; clan halls united those of the same surname; temples, burial societies and sworn brotherhoods offered protection and credit. These bodies found jobs, housed newcomers, arbitrated quarrels and shipped the bones of the dead home. Remittance firms carried letters and money back to families in China, sustaining villages in which, as discussed under gender and migration, women managed households alone for years. Migrants were overwhelmingly male and many thought of themselves as sojourners.
Colonial governments in Southeast Asia valued the Chinese as tax collectors, traders and laborers and ruled them through their own headmen. This middleman position brought wealth to some and resentment from the local majority, occasionally erupting in violence. In the settler societies around the Pacific, reaction took the form of exclusion: the Chinese Exclusion Act in the United States, head taxes in Canada and the White Australia Policy. Segregated Chinatowns in San Francisco, Havana and Lima were products of both solidarity and hostility.
The CED lists the Chinese in Southeast Asia, the Caribbean, South America and North America as an example of ethnic enclaves (Topic 6.7: Effects of Migration). Overseas communities also mattered to China itself: they financed Sun Yat-sen's revolutionary movement. Compare them with the Indian migrant communities of the same period, likewise spread by empire and likewise a mix of laborers and traders.