Terry, somebody else can give you more technical details, but engines are designed to have accelerations and velocities that fall within the mechanical limits of the metal alloys used to build them. There are limits that they can't exceed without failure, but those limits are well on the other side of our 8500rpm red-line. Engine designers calculate the velocities in feet-per-second, figure out how many times things stop, change directions, accelerate, and stop again. They figure out how heat transfer works in the top of the piston, the cylinder head, and the exhaust valve. The exhaust valve probably gets hotter than any other part of the engine, and it cools because it's against the valve seat so it can transfer its heat to the cylinder head which is cooled by water flowing around the exhaust port. The other thing that's important is lubrication. There has to be an oil film between things like crankshafts and the main bearings in the block; crankshafts and connecting rod big-ends; piston wrist pins and connecting rod top-ends; between camshaft lobes and valve rocker arms and then between the other ends of those rockers and the top of the valve. Modern oils have amazing molecular strength that allows them to form and maintain that film.
In the "olden-days," engineers used roller bearings on the crank thinking that lowered frictional resistance. Now they know that no bearing can have as little friction as a one-or-two molecule thick oil film. Plain bearings and incredibly precise tolerances keep that film there.
Temperature control from liquid-cooling is also essential to maintaining those tolerances. It all works together to produce some amazing machines, doesn't it.
I remember thinking the same kind of thing last year when I was bombing along in northern Newfoundland (only running about 70mph there because our Canadian friends have a 100kph/62mph speed limit which they enforce fairly seriously. Ignoring the fact that I wasn't always in 5th, and pretending that my average rpm/mile was 4250 (that's the rpm at 60mph), I figured that in the 21,070 miles I rode on the Epic Ride saw the engine turn over 88,494,000 times (and have 88,494,000 explosions in the pistons. Each piston had 44,247,000 combustion events.
And the only trouble I had on the whole ride was having a low-beam headlight bulb and two brake/tail-light bulbs burn out.
[Today I've got 87,572 miles on the bike. That means the engine has turned 372,181,000 revolutions, plus whatever factor needs to be added for the extra revolutions when I was in lower gears.]
Pretty cool, huh?