Commit graph

944 commits

Author SHA1 Message Date
Jimmy Zelinskie
bff3d203a2 add leo to maintainers 2016-08-16 22:17:10 -04:00
Leo Balduf
732b2d536e remove register pattern for hooks 2016-08-16 22:17:10 -04:00
Leo Balduf
9a8cdccc6c make frontend.TrackerFuncs an interface 2016-08-16 22:17:10 -04:00
Leo Balduf
ae18d89627 rename frontends to frontend 2016-08-16 22:17:10 -04:00
Leo Balduf
88567d5b2e remove backend Start/Stop funcs 2016-08-16 22:17:10 -04:00
Leo Balduf
98a7c42ab3 remove PeerStore registration logic, move TrackerFuncs 2016-08-16 22:17:10 -04:00
Leo Balduf
736026d9d3 fix bytepool out of range panic 2016-08-16 22:17:10 -04:00
Leo Balduf
8f67c1018e restructure into backend and frontends 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
11d135ce49 get prom working 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
5c99738b7f make it compile! 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
b5de90345e s/Server/MultiTracker + add docs 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
9366e601cd http: fail when numwant missing 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
8a2d894191 storage: add storage interface and registration
This also fixes bugs in the Hooks registration.
2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
ae36a14949 stopper: initial 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
e57638382d maintainers: add Justin 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
9ab04ddd57 mv hook.go hooks.go 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
1a0dd89968 add metrics to http & udp trackers 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
437c3be9ec move bencode package under http package 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
2b5140bd55 add doc comments 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
0ebadd31d0 add a type for ClientIDs 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
0d054414ab s/Server/Tracker 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
dc25c8cab2 add example_config.yaml 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
a2d3080a60 initial foundation
Definitely doesn't work, certainly has the right ideas.
2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
1bff8d1571 delete old code 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
250725179e Merge pull request #194 from mrd0ll4r/stringstore-smallfix
memory: clean up tests
2016-08-02 19:04:11 -04:00
Leo Balduf
67f7b6963d memory: clean up tests 2016-08-02 13:34:03 -04:00
Jimmy Zelinskie
bbd93b8eee Merge pull request #193 from mrd0ll4r/peerstore-performance
memory: removed usage of defer key
2016-08-02 13:10:12 -04:00
Leo Balduf
e338b97a07 memory: remove usage of defer for PeerStore
Removing the overhead of the defer keyword improved performance of some
benchmarks up to 35%.
2016-08-02 09:05:48 -04:00
Jimmy Zelinskie
ab6726b895 Merge pull request #192 from mrd0ll4r/cpuprofile
general: add CPU profiling
2016-08-01 19:54:02 -04:00
Leo Balduf
0910d2ccab general: add CPU profiling 2016-08-01 16:51:48 -04:00
Jimmy Zelinskie
d0026f9200 Merge pull request #190 from mrd0ll4r/tests-smallfix
store: do not test AnnouncePeers
2016-07-21 13:42:06 -04:00
Leo Balduf
157695cbf9 store: do not test AnnouncePeers 2016-07-21 12:23:20 -04:00
Jimmy Zelinskie
1e5d42ff6b Merge pull request #188 from mrd0ll4r/response-smallfix
response: add announce interval
2016-07-13 13:30:53 -04:00
Leo Balduf
ab2a6e128d response: add announce interval 2016-07-13 08:52:47 -04:00
Jimmy Zelinskie
ff988949ab Merge pull request #186 from mrd0ll4r/memory-optimization-fix
fix memory optimization
2016-07-10 13:09:48 -04:00
Leo Balduf
1530a37138 fix memory optimization 2016-07-09 22:55:34 -04:00
Jimmy Zelinskie
40d0236596 Merge pull request #184 from mrd0ll4r/tests-smallfix
store: fix various small test issues
2016-07-09 21:58:54 -04:00
Jimmy Zelinskie
6a47110c76 Merge pull request #185 from mrd0ll4r/memory-optimization
memory: optimize peer store memory footprint and performance
2016-07-09 21:55:19 -04:00
Leo Balduf
ed8cc0d5b3 memory: optimize peer store memory footprint and performance 2016-07-09 20:38:07 -04:00
Leo Balduf
b3261a584e store: fix various small test issues 2016-07-05 16:36:40 -04:00
Jimmy Zelinskie
1fdbe1bad1 Merge pull request #176 from mrd0ll4r/store-bench
store: add general benchmark and test, add synchronization to string store
2016-06-19 20:39:27 -04:00
Leo Balduf
9abf72e46a store: add README 2016-06-19 17:02:49 -04:00
Leo Balduf
31581bc1c3 store: add PeerStore benchmarks 2016-06-19 17:02:49 -04:00
Leo Balduf
69e9401838 store: add PeerStore tests 2016-06-19 17:02:49 -04:00
Leo Balduf
5fae38399b store: add IPStore benchmarks 2016-06-19 17:02:49 -04:00
Leo Balduf
a4d808dea9 store: add IPStore tests 2016-06-19 17:02:49 -04:00
Leo Balduf
c191e04ee7 store: add StringStore benchmarks 2016-06-19 17:02:49 -04:00
Leo Balduf
f4101f83e0 store: use stopper, extraxt StringStore tests 2016-06-19 17:02:46 -04:00
Leo Balduf
7e819dbb0c pkg: add stopper 2016-06-19 12:40:13 -04:00
mrd0ll4r
b9900b2e12 middleware: fix varinterval README (#175) 2016-05-25 01:36:52 -04:00