Search code examples
phpbittorrent

Saving torrents on a torrent index site


I'm building a torrent site where users can upload torrents.

What would be a good way to save the .torrent files?

I can think of several options:

Saving the torrent file itself in a folder on the server (not the best option since OS's have limitations saving lots of files in 1 folder)

Saving the torrent file itself in different folders per month

Saving the contents of the torrent file in the database (any limitations / performance issues / any other caveats?)

Any other options?


Solution

  • I'm use this: Saving the torrent file itself in different folders per month