3 ms·
The beauty of this is that you can slowly migrate data to the new schema, while serving files. The updated code first looks up a new path (pretty fast), if it'
by nine_k 4y ago
The beauty of this is that you can slowly migrate data to the new schema, while serving files.
The updated code first looks up a new path (pretty fast), if it's not found, it looks up the old path. Only the original file name is required, and the code change is literally 10-20 lines, including the function that derives the new path.