3 ms·
Yeah but the purpose of the url shortener was not to store the data, it was to shorten the url. The fact that the data was persisted on google's sever somewhere
by nonethewiser 1y ago
Yeah but the purpose of the url shortener was not to store the data, it was to shorten the url. The fact that the data was persisted on google's sever somewhere is incidental.
In other words, every shortened url is "using the url shortener as a database" in that sense. Taking a url with a long query parameter and using a url shortener to shorten it does not constitute "abusing a link shortener as a database."
- cortesoft 1y agoExcept in this case the url IS the data, so storing the url is the same as storing the data.
- nonethewiser 1y agoIts incidental. The state is in the url which is only shortened because its so long. Google’s url shortener is not needed to store the data. It’s simply a normal use-case for a url shortener. A long url, usually because of some very large query parameter, which gets mapped to a short one.