Outils pour utilisateurs

Outils du site


php:magnetik_nyaatorrents

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
php:magnetik_nyaatorrents [2012-06-19 00:02] mitsuphp:magnetik_nyaatorrents [2013-02-19 20:28] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
-====== Magnetik NyaaTorrents & Magnesia ======+====== Magnetik NyaaTorrents ======
 ===== Lightweight Infohash Database ===== ===== Lightweight Infohash Database =====
 +
 +----
 +<file>IMPORTANT: LiVID/Magnetik is no longer developed ! Using it in a production environment is strongly unwise and difficult.</file>
 +
 +**The new project is called [[php:magnyaa|Magnyaa]]. Don't waste more time on this page ;-)**
 +
 +----
  
 **Download:** **Download:**
Ligne 9: Ligne 16:
   - {{:php:magnetik_r4.zip|Magnetik r4}}  {{:php:store.db.7z|store.db}}   - {{:php:magnetik_r4.zip|Magnetik r4}}  {{:php:store.db.7z|store.db}}
   - {{:php:magnetik_r5.zip|Magnetik r5}}  {{:php:data_31641-86312.7z|data (31641-86312)}}  {{:php:nyaa_feeder.zip|bash "feeders"}}   - {{:php:magnetik_r5.zip|Magnetik r5}}  {{:php:data_31641-86312.7z|data (31641-86312)}}  {{:php:nyaa_feeder.zip|bash "feeders"}}
- 
-  - {{:php:magnesia_r1.zip|Magnesia r1}}  [[http://wiki.suumitsu.eu/upload/data-magnesia_r1.zip|data (up to 324207)]]  [bash "feeders": soon]  (status: quality check, stat refresh script) 
- 
-You can view a demo of the "in-work" release [[http://magnesia.suumitsu.eu/|here]]. 
- 
-==== [ changelog ] ==== 
- 
-** Magnesia r1 "Back To Basic World Domination" ** 
-  * data storage in plain PHP files (as arrays), up to 1000 entries each "table". (2 files: info and stat). 
-  * DuckDuckGo search (yep, no more internal search function) 
-  * Admin-side database generation (bash-PHP script) 
-  * previous/next table navigation 
-  * index shows latest table content 
-  * a bit of a code cleanup and CSS 
-  * backup and restore script (zip archive) 
-  * builder (start at id 1, compare to Nyaa's RSS, then loop each id to retrieve data and form the info and stat PHP-array datafiles, reference working ids in id.txt file) 
-  * builder_nexttorrents (ask admin latest known id, compare to Nyaa's RSS, and then basically work like builder) 
-  * (test) builder_update (check if id.txt is present, if yes use id to retrieve data and form stat PHP-array files; if no start at id 1 and compare to Nyaa's RSS) 
  
 **release 5 - "You Wouldn't Steal A Lion" ** **release 5 - "You Wouldn't Steal A Lion" **
Ligne 85: Ligne 74:
   * first public release, working HTML, insertion, search and full listing.   * first public release, working HTML, insertion, search and full listing.
  
-===  how Magnetik and Magnesia were born ===+===  how Magnetik and [[php:magnesia|Magnesia]] were born ===
  
  
Ligne 95: Ligne 84:
 Manipulating a real database ? Well ok, but it shouldn't rely on a heavyweight like MySQL or PostGreSQL (not very easy to backup and restore). So I started messing around with SQLite3 and fSQL. And here we are :) Manipulating a real database ? Well ok, but it shouldn't rely on a heavyweight like MySQL or PostGreSQL (not very easy to backup and restore). So I started messing around with SQLite3 and fSQL. And here we are :)
  
-SQLite and fSQL are working well and all, but for very heavy databases they just aren't fast enough. We're talking about retrieving little data and parsing mid-long listings: it's much more efficient to split the data and load it on-demand as close as possible from the target. This leads us to something else. We talk about it later..+SQLite and fSQL are working well and all, but for very heavy databases they just aren't fast enough. We're talking about retrieving little data and parsing mid-long listings: it's much more efficient to split the data and load it on-demand as close as possible from the target. This leads us to [[php:magnesia|Magnesia]]. We talk about it later..
  
 ===  SQLite3 ? fSQL ? Does it work on my hosting ? === ===  SQLite3 ? fSQL ? Does it work on my hosting ? ===
Ligne 104: Ligne 93:
 fSQL, while supporting MySQL-like commands, is still a PHP script. Having PHP5 installed is much all you need :-) fSQL, while supporting MySQL-like commands, is still a PHP script. Having PHP5 installed is much all you need :-)
  
-===  Magnesia doesn't rely on SQLite/fSQL ? ===+===  [[php:magnesia|Magnesia]] doesn't rely on SQLite/fSQL ? ===
  
 As said: for heavy databases we need something faster, much faster, but still portable. For Magnesia my choice is a plain file storage, in PHP files, the data being stored and loaded as arrays with a requiring as needed/asked. So no worry about millions of entries, PHP only loads the needed files and doesn't have to parse more than 1000 arrays. And it does it quite well and fast, on both PHP4 and PHP5. Simply said: it works fucking good on almost every web hosting for a potential heavy database (according to my calculations, the full The Pirate Bay database wouldn't weigh more than 2 GB and any data from it could still be called very fast). As said: for heavy databases we need something faster, much faster, but still portable. For Magnesia my choice is a plain file storage, in PHP files, the data being stored and loaded as arrays with a requiring as needed/asked. So no worry about millions of entries, PHP only loads the needed files and doesn't have to parse more than 1000 arrays. And it does it quite well and fast, on both PHP4 and PHP5. Simply said: it works fucking good on almost every web hosting for a potential heavy database (according to my calculations, the full The Pirate Bay database wouldn't weigh more than 2 GB and any data from it could still be called very fast).
Ligne 130: Ligne 119:
 ===  LICENSE === ===  LICENSE ===
  
-Magnetik Nyaatorrents and Magnesia, published under [[http://creativecommons.org/licenses/by-sa/3.0/fr/|Creative Commons by-sa|]] by Mitsu.+Magnetik Nyaatorrents, published under [[http://creativecommons.org/licenses/by-sa/3.0/fr/|Creative Commons by-sa]] by Mitsu.
  
 * included: torrent-rw, published under GNU GPL by Adrien Gibrat: https://github.com/adriengibrat/torrent-rw/ * included: torrent-rw, published under GNU GPL by Adrien Gibrat: https://github.com/adriengibrat/torrent-rw/
Ligne 140: Ligne 129:
 Bug report, feature requests, love declarations ? Head over here: Bug report, feature requests, love declarations ? Head over here:
  
-http://www.suumitsu.eu/index.php?2012/05/24/15/48/31-contact+http://www.suumitsu.eu/contact
php/magnetik_nyaatorrents.1340064143.txt.gz · Dernière modification : 2013-02-19 20:28 (modification externe)