Bill_K said:
A photon has no rest frame. The energy of a photon depends on which rest frame you choose.
Agreed. All the statements I made about energies of photons were relative to Earth's rest frame.
Bill_K said:
Photons detected in cosmic rays have been observed with incredibly high energies, above 1018 eV.
Yes, but as I noted, that's still a small amount of energy by ordinary standards. (And as you note, it's frame-dependent anyway.)
Bill_K said:
the curvature produced by a massless object like a photon is called Type N. There is no frame-invariant way to say how large or small a Type N curvature is.
I assume this is because there are no non-vanishing scalar curvature invariants for Type N spacetimes? If so, I agree that makes the issue less straightforward than it is with ordinary massive objects.
However, there are still ways of approaching the question in a practical sense. For example: consider the effective stress-energy tensor that is used in cosmology to model the universe as a whole. How large is the contribution of photons to this effective SET? The answer is, very small, much smaller than any of the other contributions we know of (ordinary matter, dark matter, and dark energy). It's true that there was a period, the radiation-dominated era, in which the photon contribution was the largest, but that period ended, IIRC, a few hundred thousand years after the Big Bang.
Another example: what is the contribution of photons in the Sun to the Sun's observed mass? I haven't seen an actual computation of this, but my educated guess is, again, very small, much smaller than the contribution of the Sun's hydrogen and helium. (An interesting question is how large the photon contribution is compared to the contribution of ordinary kinetic pressure inside the Sun. I haven't seen this calculated either; if I have time I may try to do a back of the envelope estimate if nobody can give a link to a computation already done.)
So while I agree that, in principle, there is no way to invariantly quantify the amount of curvature produced by a photon, I think there are ways of quantifying, in practical terms, the contribution of photons to overall curvature in scenarios of interest.