On 23/05/26 07:52PM, syg wrote: > Hi, > > Just my two cents, but why not just store the link destination, even > better, the HTML with the correct re-direction, in a file named > according to the hash. You can then just serve it as-is. No lock > problem. No database required. O(1) complexity. > > Of course this is only valid for a personal, non-public use since that > strongly limits the number of links you can have.
If you edit your HTTP server instead you can send 300 requests and avoid having a lot of unnecessary bandwidth usage. > > Also, this is trivially extensible to a pastebin. > > - syg > -- CAEE B377 FC82 BAF9 102C D22F C5CE D003 1AA8 E281 Spenser Truex https://equwal.com
signature.asc
Description: PGP signature