Click here to Skip to main content
15,900,656 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Package tracking software, some room for improvement Pin
k505421-Dec-21 1:26
mvek505421-Dec-21 1:26 
GeneralRe: Package tracking software, some room for improvement Pin
honey the codewitch21-Dec-21 2:33
mvahoney the codewitch21-Dec-21 2:33 
GeneralRe: Package tracking software, some room for improvement Pin
Vivi Chellappa21-Dec-21 1:39
professionalVivi Chellappa21-Dec-21 1:39 
GeneralRe: Package tracking software, some room for improvement Pin
englebart21-Dec-21 5:47
professionalenglebart21-Dec-21 5:47 
GeneralRe: Package tracking software, some room for improvement Pin
Ron Nicholson21-Dec-21 3:23
professionalRon Nicholson21-Dec-21 3:23 
GeneralRe: Package tracking software, some room for improvement Pin
jsc4221-Dec-21 4:10
professionaljsc4221-Dec-21 4:10 
GeneralRe: Package tracking software, some room for improvement Pin
Ron Nicholson21-Dec-21 4:36
professionalRon Nicholson21-Dec-21 4:36 
GeneralRe: Package tracking software, some room for improvement Pin
ElectronProgrammer21-Dec-21 6:34
ElectronProgrammer21-Dec-21 6:34 
honey the codewitch wrote:
What they could do to improve these applications I think, is
A) Make sure to notify customers at least once a day, and try to give them news. Even if it's just a reason for a delay (inclement weather, or whatever)
B) Attach reasons to things that don't make sense on their face. Why did my package end up in Canada? Why was it sitting for two days?

Those would be nice but would require a different system from what they currently use. It would require people.
It was sitting there for two days because it was probably waiting for more packages to places near you.

Once I saw a documentary on how major shipping companies work (with actual footage of their systems) and, I am sure there is room for improvement but, their tracking is a lot more complex than someone realizes at first thought.

I will try to describe the process if anyone is interested but be warned, it is long Sigh | :sigh:

First: Almost everything is automated with no human intervention. Trucks with packages arrive at the processing centers, humans unload to an unloading conveyor and the packages follow on to a computer guided main conveyor from where they are guided to a "same destination" storage. While on the main conveyor they are also often x-rayed and go through a chemical detector, specially international shipping.

If a package does not have a label visible, the computer sends it on to another conveyor where it is flipped and sent to the beginning of the track (the main conveyor). If the package circulates the system too many times, because the label is too damaged to be read by the computer, it is diverted to an "unreadable label" storage where it will wait for a human to get there and input the data manually and print a new label.

The new label is glued to the package and the is package sent to the beginning of the main conveyor. This is the part where most of the packages get "lost" because the data is input incorrectly. Others get lost because the computer misread the label.

When enough packages are gathered, they are picked up by humans into trucks/planes for the next leg of their journey.

That "same destination" are usually major distribution centers. Lets say you buy something on CityA to be delivered on cityB and those two cities are next to each other with a common border. Your packages will still go to CityC where the distribution center is, even if that center is far away. The reason for this will be clearer later.

The tracking is only updated when a package enters or exits a distribution center because those are the only times when the label is scanned. But it is not immediate to a user because the database they use for their internal tracking is not the same that is used to display information for an user. That information must be mirrored and that takes time due to the size of the database (and is probably on a timer).

Second: Their software must track many millions of packages worldwide with route planning on top. As you might know, route planning is taxing. Finding all solutions for the traveling salesman problem is complex. What they do is use approximations. One of the approximations is to make all packages go through/leave the closest distribution center.

This implies that a "clean" route can be calculated faster by having the same starting/end point, instead of calculating for every pickup and dropout point. The side effect is having stupid routes (from the perspective of whom is following the package tracking).

Another approximation, which is related to the previous, is to use local routing. Each city is divided by areas that have complete "circular" routes in them. This means that there are no paths that go directly in and out, providing trucks with paths that allow them to circle back to another street inside the same area.

This leads to another "stupid route" in which packages in adjacent streets are picked by different trucks and end up in different distribution centers. And, because those areas keep changing depending on where packages are, this might even happen to packages that are picked up from the same place at different times (sometimes minutes apart).

All those decisions they make on how their system works are obviously money driven. They try that those routes, the amount of trucks/planes, and the grouping of packages are minimized so that they can have less employees, less trucks/planes, spend less fuel, etc. This too is computed by their tracking software.

Hope this helps enlighten why some things happen to packages.

That said, I hope no one will let the carriers get away with it when they do not deliver what they promise when they promise. It is our way to force them to improve Wink | ;)
GeneralRe: Package tracking software, some room for improvement Pin
Kelly Herald21-Dec-21 6:37
Kelly Herald21-Dec-21 6:37 
GeneralRe: Package tracking software, some room for improvement Pin
Matt Bond22-Dec-21 9:48
Matt Bond22-Dec-21 9:48 
GeneralRe: Package tracking software, some room for improvement Pin
Frank Malcolm22-Dec-21 14:47
Frank Malcolm22-Dec-21 14:47 
GeneralCCC - 21-12-2021 Pin
pkfox20-Dec-21 22:25
professionalpkfox20-Dec-21 22:25 
GeneralRe: CCC - 21-12-2021 Pin
OriginalGriff20-Dec-21 23:04
mveOriginalGriff20-Dec-21 23:04 
GeneralRe: CCC - 21-12-2021 - Winner Pin
pkfox20-Dec-21 23:28
professionalpkfox20-Dec-21 23:28 
GeneralRe: CCC - 21-12-2021 Pin
Rich Leyshon20-Dec-21 23:05
Rich Leyshon20-Dec-21 23:05 
GeneralRe: CCC - 21-12-2021 Pin
pkfox20-Dec-21 23:28
professionalpkfox20-Dec-21 23:28 
GeneralUpdated: Personal Data Backup Pin
dan!sh 20-Dec-21 22:01
professional dan!sh 20-Dec-21 22:01 
GeneralRe: Personal Data Backup Pin
Kornfeld Eliyahu Peter20-Dec-21 22:11
professionalKornfeld Eliyahu Peter20-Dec-21 22:11 
GeneralRe: Personal Data Backup Pin
dan!sh 20-Dec-21 22:14
professional dan!sh 20-Dec-21 22:14 
GeneralRe: Personal Data Backup Pin
Kornfeld Eliyahu Peter20-Dec-21 22:31
professionalKornfeld Eliyahu Peter20-Dec-21 22:31 
GeneralRe: Personal Data Backup Pin
Mike Winiberg21-Dec-21 22:00
professionalMike Winiberg21-Dec-21 22:00 
GeneralRe: Personal Data Backup Pin
Fabio Franco22-Dec-21 2:53
professionalFabio Franco22-Dec-21 2:53 
GeneralRe: Personal Data Backup Pin
Mike Winiberg22-Dec-21 22:52
professionalMike Winiberg22-Dec-21 22:52 
GeneralRe: Personal Data Backup Pin
Fabio Franco23-Dec-21 1:19
professionalFabio Franco23-Dec-21 1:19 
GeneralRe: Personal Data Backup Pin
Fabio Franco22-Dec-21 2:49
professionalFabio Franco22-Dec-21 2:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   492 votes