News for hackers. Stuff that matters.
Re:Wall Street Is Sharpening Our Nanoseconds by perl4ever on Sunday July 08, 2018 @09:52PM (#17487434)
Isn't it fundamentally impossible to order everything to an arbitrary precision? If the time between two events is less than the distance between them divided by the speed of light, then which one came first depends on the frame of reference. When you're talking about nanoseconds or less, you're inherently never going to be able to reconcile things that are miles apart, is my understanding.
Re:Wall Street Is Sharpening Our Nanoseconds by toast0 on Sunday July 08, 2018 @10:55PM (#17487644)
The frame of reference is at the exchange. Having incredibly precise time synchronization among computers at the exchange would allow distribution of order acceptance for a given symbol without losing ordering. You could give each HFT a cabinet with your order acceptance port at the back and a processing computer exactly the same distance away from the port. Order processing could run asynchronously from order acceptance, and resort according to accpetance time in batches. This would eliminate complaints about such and such company being three fempto meters closer than me, so they get better execution.
Re:Wall Street Is Sharpening Our Nanoseconds by Dylan16807 on Monday July 09, 2018 @09:26AM (#17489970)
> If the time between two events is less than the distance between them divided by the speed of light, then which one came first depends on the frame of reference.

It's not hard to pick a location and use its reference frame.

> When you're talking about nanoseconds or less, you're inherently never going to be able to reconcile things that are miles apart

Let's say four miles, for 20 light-microseconds. To be even .2 nanoseconds off, you'd need a time dilation of at least ten parts per million. That's a huge amount. Even GPS satellites, with their very high speed and distance, measure time dilation in fractions of a part per billion.

For things that are "miles" apart, you can completely ignore relativity at the nanosecond level. Or even between any two locations on the planet.

Re:Wall Street Is Sharpening Our Nanoseconds by perl4ever on Monday July 09, 2018 @09:52AM (#17490114)
"A natural and very old question in relativity is: can such a global and meaningful time coordinate be constructed for the observers sitting on a disk that rotates at, say, constant angular velocity? It turns out that it cannot. The observers sitting on such a disk cannot agree with each other on the simultaneity of events. In a real sense, this means that no matter how perfect the clocks might be that we use on our rotating Earth, they will still disagree on the simultaneity of events. In fact, this disagreement amounts to tens of nanoseconds, globally."

http://math.ucr.edu/home/baez/physics/Relativity/SR/rotating...

Re:Wall Street Is Sharpening Our Nanoseconds by Dylan16807 on Monday July 09, 2018 @10:10AM (#17490257)
> In fact, this disagreement amounts to tens of nanoseconds, globally.

I think that number is wrong. When I take 460 meters per second at the equator, double it, and put it in a time dilation calculator, I get a dilation factor of 5e-12. Multiply that by 150ms and you get less than a picosecond of dilation.

But if I made a mistake, and that number is correct, then my core point is still completely right. Locations on Earth that are miles apart are still synced within far less than a nanosecond.

Re:Wall Street Is Sharpening Our Nanoseconds by perl4ever on Monday July 09, 2018 @10:21AM (#17490342)
I don't know enough to confidently do the proper calculation, but I know enough that I'm certain it's more complicated than that.