Commit graph

816 commits

Author SHA1 Message Date
Jimmy Zelinskie
ddd5cbef2c travis: disable linting 2016-08-16 23:37:40 -04:00
Jimmy Zelinskie
674ab8a4c6 NewClientID now takes PeerID instead of string 2016-08-16 23:29:06 -04:00
Jimmy Zelinskie
07cc413399 clientwhitelist: fix compilation issues 2016-08-16 22:37:29 -04:00
Jimmy Zelinskie
fc13031d96 move to std context package 2016-08-16 22:34:05 -04:00
Jimmy Zelinskie
84a5e22d42 travis: bump to go1.7 2016-08-16 22:26:19 -04:00
Jimmy Zelinskie
acf2f4c1f5 remove redudant files 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
cc6614c474 rename back to chihaya 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
040a3294b1 middleware: add clientwhitelist 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
a553ded043 memory: add max numwant 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
6fddcb8eea remove gc from storage, but implement it in memory 2016-08-16 22:17:10 -04:00
Leo Balduf
d3f153c938 close PeerStore after benchmarks 2016-08-16 22:17:10 -04:00
Leo Balduf
94dc902b20 comment/lint clean PeerStore 2016-08-16 22:17:10 -04:00
Leo Balduf
e1cf159d9c separate IPv4 and IPv6 swarms on by shards 2016-08-16 22:17:10 -04:00
Leo Balduf
6a45107193 make benchmarks parallel, fix memory benchmarks 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
651ed50957 initial benchmarks. warning: /0 bug 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
c3137508d0 make new storage pkg with memory impl 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
35f7c5682f update example config 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
4df538d027 pass peer to storage 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
778773cb81 rm copyright 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
c9fe95b103 s/backend/middleware 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
c7b17d3195 remove default text (this is generated automatically) 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
11d90b088c s/trackerfuncs/trackerlogic 2016-08-16 22:17:10 -04:00
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