Commit Graph

19 Commits

Author SHA1 Message Date
Bora M. Alper
6088ef6eec fix pylint errors (now it is rated 10.00/10 yeah!) 2017-06-14 18:05:14 +03:00
Bora M. Alper
235a42884f v0.6.0 is out!
v0.6.0, overall, tries to make magnetico more stable rather than
introducing new features.

## magneticod
* Removed better_bencode internal fork (but we are still using it so no
  loss at performance). This has caused some issues for some users and
  this release should solve the issue (e.g. #98).
* General cleanup, performance improvements, minor bug fixes...
  * Most notably among all, we improved our still-primitive congestion
    control support for BSD-based OSes, including OS X.

## magneticow
* There are no changes in magneticow, but version number is bumped to
  stay in-sync with magneticod.
2017-06-14 11:35:35 +03:00
Bora M. Alper
5e5d152cc1 initial proposal for the magneticow REST-ful HTTP API! 2017-06-13 15:17:52 +03:00
Bora M. Alper
643c72ee16 magnetico v0.5.0 is out!
Phew, what an effort it was to ship magnetico out this time!

CHANGELOG
=========

magneticod
----------
* Thanks to @richardkiss' heoric effort, magneticod now is ported to Python's
  asyncio (and uses uvloop for further performance improvements).

  CPU usage is reduced by 60%, and many older bugs are eliminated: #3, #55, #61

* Switched to better-bencode from bencoder.pyx for performance reasons. CPU
  utilization dropped by half.

magneticow
----------
* magneticow is finally became _fast_! Database indexes are created to speed-up
  file-list page (i.e. torrent info) and statistics.

Thanks to everyone who were involved in contributing to this release!
Special thanks to @ad-m who has been nagging me day and night to make me
take informed decision, I appreciate that.
2017-06-06 15:44:23 +03:00
Bora M. Alper
c96cb7de0e created index for discovered_on to speedup statistics 2017-06-06 15:13:26 +03:00
Bora M. Alper
6bceb9c784 v0.4.0 is released!
Changes are below.

magneticod:
* Performance improvements
  * Unregistering WRITE event when possible
  * Using files instead of memory for temporary SQLite
    objects
* Stability improvements
  * Limit metadata size to prevent crashes due to
    malicious or malformed answers.
  * Flushing metadata buffer while exiting gracefully

magneticow:
* Stability improvements
  * Homepage crash due to count functionality when the
    database is empty, is fixed.
* Statistics page added, although very slow!
2017-05-30 12:28:34 +03:00
Bora M. Alper
273237bd39 magneticow: fix 30-days period issue in stats
Previously magenticow calculated 30-days period as
literally 30 days (30 * 24 * 60 * 60 seconds) from NOW,
which was counter-intuitive for the user as it did not
correspond to whole days. Now that is fixed.
2017-05-30 12:01:51 +03:00
Adam Dobrawy
a98ec61e84 Fix count torrents on homepage in magneticow 2017-05-14 22:06:34 +02:00
Bora M. ALPER
a3adf88b45 Statistics page added to magneticow. 2017-05-06 01:25:44 +04:00
Bora M. ALPER
3b39c99206 v0.3.0 released, with very significant improvements!
magneticod:
* Stalled DisposablePeers are shut down after 120 seconds (fixes #47 and #38)
* Improved performance, thanks to @ngosang, @ad-m, and all other contributors (fixes #48)
* Default logging level is now set to INFO (since many users would freak out after seeing "peer failed" messages...)

magneticow:
* Search speed improved A LOT, like "A  L O T"! (fixes #8)
  (for the curious, the problem was that magneticow initialised database *every* *single* *time* a request is made because
  "the global application context" (`flask.g`) didn't work for some reason I don't know. Now it's blazing fast!
* A bit of logging added to assist the user. This is especially important as magneticow now takes a bit of time to initialize itself
  (as reasonably expected) and will not be able to handle any requests until it's complete.
* A faster but possibly less accurate (and not-guaranteed behaviour dependent) calculation of the number of torrents.
* Thousands separator for the torrent count in the homepage.
2017-04-26 01:47:13 +04:00
Bora M. Alper
7ffe670147 Merge pull request #13 from offbyone/master
Dockerize magnetico as a pair of conjoined containers
2017-04-16 22:08:37 +04:00
g_goessel
059330c188 Remove unused variable and resolve styling issues 2017-04-13 22:07:18 +02:00
guimoz
d3ff2419aa Refactoring of the counter code 2017-04-13 19:20:34 +02:00
guimoz
28109eb586 Adds a counter of indexed torrents on the homepage 2017-04-12 21:06:59 +02:00
Chris Rose
dd40222fd6 Dockerize magnetico as a pair of conjoined containers
docker-compose links them, they share a DB on a volume container, and
expose the web interface on the host port 12345
2017-04-10 09:13:14 -07:00
Bora M. Alper
0e48dff4fc Updated PATH instructions for macOS 2017-04-10 17:57:59 +04:00
Bora M. ALPER
1c15afb45a v0.2.0 released
## Changes
### mangeticod
* Cython-based bencoder.pyx is  used instead of our own pure Python solution.
* `--node-addr` commandline argument added.
* TCP QUICKACK is automatically enabled (instead of by default) so that magneticod can work on macOS as well.
* Database index added for `info_hash` column of `torrents` table.

### magneticow
* Some small performance improvements for search.
2017-04-10 17:44:09 +04:00
Bora M. ALPER
8a62e6bc2a fixed installation instructions to install locally 2017-04-03 02:59:09 +04:00
Bora M. ALPER
257912a12f initial commit 2017-04-03 00:11:58 +04:00