3 ms·
I find programming games in general, esp FPS, fascinating because their real time requirement is so critical big lag in request/response, dealing with hotspot i
by yeukhon 10y ago
I find programming games in general, esp FPS, fascinating because their real time requirement is so critical big lag in request/response, dealing with hotspot in code.
- nojvek 10y agoWhy can't the driver phone be connected to rider via peer to peer. Driver sends position updates to rider in almost real time while occasional batch updates to server. The fanciness regarding position, why not show a halo like most gps apps showing degree of accuracy? You could all show a slight tail of previous path to give an idea of direction and speed. I think the current uber/lyft ui experience is subpar and can be improved.
- Nition 10y agoHow about the opposite: Show the car with a nice interpolation using the last two positions, but with an extrapolation arrow with the point located where you think it is now. Then when the system thinks the car is moving fast and it actually comes to a quick stop, it can cut down the extrapolation arrow instead of moving the car icon backwards, and it shouldn't look as weird.
- yeukhon 10y agoHow do you do P2P? There needs to be an intermediate. You can't just ask the rider to open up some port. They need to subscribe to a channel they both can communicate over, so we are back to the server owned by Uber / Lyft. But I don't think this matters to end-users. As a frequent user, I only care whether the car will arrive on time and whether it is on the opposite side of where I am waiting...
- nojvek 10y agoServer can be initial handshake initiator and then p2p can take over. Webrtc already does this.