Re:How we built a back end system for Uber-like maps with an...
by yeukhon on Tuesday February 21, 2017 @02:08AM
(#13693863)
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.
[ Parent
| on HN ]
Re:How we built a back end system for Uber-like maps with an...
by nojvek on Tuesday February 21, 2017 @02:17AM
(#13693903)
Why 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.
Re:How we built a back end system for Uber-like maps with an...
by Nition on Tuesday February 21, 2017 @02:31AM
(#13693969)
How 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.
Re:How we built a back end system for Uber-like maps with an...
by yeukhon on Tuesday February 21, 2017 @11:04AM
(#13696463)
How 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...