A television monitor at a trading post on the floor of the New York Stock Exchange shows the decision of the Federal Reserve. The U.S. Federal Reserve has been committed to injecting growth into the economy, a stance that Fed Chair Janet Yellen appears unlikely to abandon anytime soon.

NEW YORK — Europe appears on the brink of another recession. Islamic militants have seized Iraqi territory. Russian troops have massed on the Ukraine border, and the resulting sanctions are disrupting trade. An Ebola outbreak in Africa and Israel’s war in Gaza are contributing to the gloom.

It’s been a grim summer in much of the world. Yet investors in the United States have largely shrugged it off — so far at least.

A big reason is that five years after the Great Recession officially ended, the U.S. economy is showing a strength and durability that other major nations can only envy. Thanks in part to the Federal Reserve’s ultra-low interest rates, employers have ramped up hiring, factories have boosted production and businesses have been making money.

All of this has cushioned the U.S. economy from the economic damage abroad. And investors have responded by keeping U.S. stocks near all-time highs. Not even reports Friday of a Ukrainian attack on Russian military vehicles unnerved investors for long, with blue chip stocks regaining nearly all their midday losses by the close.

“We’re in a much better place psychologically,” says Mark Zandi, chief economist at Moody’s Analytics. “And it’s allowing us to weather the geopolitical threats much more gracefully.”

Still, the global turmoil comes at a delicate time.

China, the world’s second-biggest economy, is struggling to contain the fallout from a runaway lending and investment boom that’s powered its growth since before the 2008 financial crisis. The economies of Japan and Germany, the world’s third- and fourth-largest, shrank in the spring. So did Italy’s.

It might not take much — an oil-price spike, a prolonged recession in Europe, a plunge in business or consumer confidence — to derail the global economy.

Hiring in the United States has surged in the first seven months of this year.

Monthly job gains are averaging a solid and steady 230,000, based on government figures. That’s roughly an average of 35,000 more jobs each month compared with last year.

Fewer people are applying for unemployment benefits. And fewer new hires are working as temps. Both trends suggest stronger job security.

Economists say the cumulative effect of all those additional paychecks should propel growth and help insulate the U.S. economy from trouble abroad.

Though low-paying industries account for much of the hiring, many economists foresee more jobs coming from higher-wage industries such as construction, engineering and consulting.

Zandi expects monthly job growth to accelerate to an average of 275,000 sometime next year.

Earnings at companies in the Standard and Poor’s 500 index are on track to jump 10 percent in the second quarter from a year earlier, according to S&P Capital IQ, a research firm. That would be the biggest quarterly gain in nearly three years.