Re: [dev] running a shortlink provider

From: Anthony <d.tonitch_AT_gmail.com>
Date: Thu, 25 May 2023 10:29:51 +0200

On 5/25/23 07:29, Страхиња Радић wrote:
> Perhaps the most minimal solution for keeping data would be TSV files, but they
> are not suitable for storing data entered from the web because of concurrency,
> so a "real" database would be needed.
>
What do you mean by, "because of concurrency"?

I know it is insecure, but I would store everything in a txt file where
each line is a link.

Then you can reach your link with http://myperfectsite.org/<linenumber>

If you don't want your id to be consecutive, a tsv file would do the
trick with a hash then the link.

Is there a problem with this approach ?
Received on Thu May 25 2023 - 10:29:51 CEST

This archive was generated by hypermail 2.3.0 : Thu May 25 2023 - 17:12:09 CEST