Commit graph

117 commits

Author SHA1 Message Date
Jimmy Zelinskie
e3e545e22e stopper: move to pkg package
This also adds a package docs for the stopper package.
2016-12-11 21:36:01 -05:00
Leo Balduf
70ceb96313 storage: add TestPeerStore test 2016-11-27 21:43:22 +01:00
Leo Balduf
45a5e632ae responseHook: always include the announcing peer
Fixes #231
Fixes #232
2016-09-29 18:51:05 -04:00
Leo Balduf
97444f08a4 memory: add ScrapeSwarm method 2016-09-08 11:29:36 -04:00
Leo Balduf
b1576da355 storage: add ScrapeSwarm method 2016-09-08 11:28:23 -04:00
Leo Balduf
146fbedb86 general: add missing documentation
Fixes #46
2016-09-05 14:58:58 -04:00
Jimmy Zelinskie
fa32839623 replace std log w/ logrus
There still needs to be much more logged with the debug level.
2016-09-05 12:10:42 -04:00
Leo Balduf
62f2a095a1 memory: fix garbage collection, add config check 2016-08-17 17:15:54 -04:00
Jimmy Zelinskie
cc6614c474 rename back to chihaya 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
3bfb3074b4 overhaul everything 2014-06-23 22:47:43 -04:00
Jimmy Zelinskie
10c980adff mock.RecordAnnounce() & mock.DeltaHistory() 2014-05-07 09:01:48 -04:00
Jimmy Zelinskie
b32eaebcd6 first pass with linter 2014-05-01 00:30:46 -04:00
Jimmy Zelinskie
e80b17b2ad initial delta support 2014-02-22 23:47:11 -05:00
Justin Li
140a738162 Fix edge cases for peer ID parsing
Fixes #27
2013-12-13 11:19:22 -05:00
Justin Li
fe1a4a6a65 Remove the rest of slots 2013-12-05 20:12:15 -05:00
Jimmy Zelinskie
f9d65db5b0 remove references to "web" in backend driver [skip ci] 2013-12-05 19:55:00 -05:00
Jimmy Zelinskie
76f03e209f rm driver deps 2013-12-02 05:00:28 -05:00
Justin Li
9c62ca4547 Register the mock driver 2013-11-30 23:16:31 -05:00
Jimmy Zelinskie
a6041dc654 move drivers to dedicated repos 2013-11-30 23:00:20 -05:00
Justin Li
93af4912c4 Move packages to chihaya org 2013-11-30 22:39:02 -05:00
Jimmy Zelinskie
1eac367711 mock interface complete 2013-11-30 00:54:08 -05:00
Jimmy Zelinskie
81b1e4aa4d initial mock tracker storage 2013-11-27 03:51:19 -05:00
Jimmy Zelinskie
6549f49e26 go fmt [ci skip] 2013-11-24 00:49:20 -05:00
Jimmy Zelinskie
9382ac482e removed all references to "transaction" 2013-11-23 23:48:38 -05:00
Jimmy Zelinskie
90f8cf23a0 storage/tracker docs updated 2013-11-04 02:41:30 -05:00
Jimmy Zelinskie
d30c35f1d7 web package renamed backend 2013-10-21 03:29:35 -04:00
Jimmy Zelinskie
2cd7f0d22f package shuffling: models -> storage, old storage -> web 2013-10-04 04:19:43 -04:00
Jimmy Zelinskie
cf53f9554c initial storage reorganization 2013-10-03 22:10:46 -04:00
Justin Li
7e402b162f Add interface for loading data from storage 2013-09-06 21:38:56 -04:00
Justin Li
eff8e70cde Make the batter driver follow the updated storage interface 2013-09-06 19:13:44 -04:00
Justin Li
46280fd97b Embed *db.Sql into storage/gazelle 2013-09-06 19:08:06 -04:00
Justin Li
afa8abb9ab Remove the unimplemented batter driver 2013-09-06 19:01:02 -04:00
Justin Li
4687ddde6f Use strings for the database channels and add handling for torrents 2013-09-06 18:51:15 -04:00
Justin Li
080a24c7be Set up initial outbound synchronization structure 2013-09-06 18:39:14 -04:00
Jimmy Zelinskie
ecbedf4b89 stats test, add/remove torrent handlers, init batter driver 2013-08-28 23:44:45 -04:00
Jimmy Zelinskie
107ec1dd15 more work towards new architecture 2013-08-26 14:38:45 -04:00
Jimmy Zelinskie
d3f3c81c61 initial architecture overhaul 2013-08-23 15:39:42 -04:00
Jimmy Zelinskie
fe2d43a025 removed redundant var block 2013-08-13 20:21:01 -04:00
Jimmy Zelinskie
3df97fea4d panic on reads inside of a MULTI 2013-08-13 16:36:10 -04:00
Jimmy Zelinskie
33d1caf670 initiateRead helper 2013-08-13 16:06:22 -04:00
Justin Li
55d2c4ae84 Refactor setting up writes in the redis driver 2013-08-13 02:20:44 -04:00
Justin Li
5084a2ac94 Clean up Tx API 2013-08-13 02:06:15 -04:00
Jimmy Zelinskie
40505091f5 storage reorganized around a pool and transactions 2013-07-25 10:03:04 -04:00
Jimmy Zelinskie
d62a71847d fix package name 2013-07-24 03:12:40 -04:00
Jimmy Zelinskie
94187e4261 initial work on redis scripts 2013-07-24 03:08:38 -04:00
Jimmy Zelinskie
2cd3473d18 redis restructured to use strings of JSON 2013-07-24 00:18:43 -04:00
Jimmy Zelinskie
f7906b9089 tx.SetLeecher/Seeder added 2013-07-23 21:23:43 -04:00
Jimmy Zelinskie
db6d8707df switch on event; scaffolding for redis driver 2013-07-21 20:15:48 -04:00
Jimmy Zelinskie
4d4a979864 announce handler progress 2013-07-12 00:36:24 -04:00
Jimmy Zelinskie
5cb4e2fabb Storage API matured, docs, tests & more 2013-07-05 06:50:52 -04:00
Jimmy Zelinskie
279c78192f transactions, connpools, misc 2013-07-03 18:24:03 -04:00
Jimmy Zelinskie
7ef424639b nickpicking 2013-06-28 16:29:02 -04:00
Jimmy Zelinskie
7d99b0ea9e pulled functions out of New() 2013-06-25 23:08:54 -04:00
Jimmy Zelinskie
2759dd6e2f more redis work 2013-06-25 21:58:06 -04:00
Jimmy Zelinskie
56132e3d64 initial redis work, storage.Storage->storage.Conn,
among other new options in the config file for storage timeouts
2013-06-24 14:18:32 -04:00
Jimmy Zelinskie
e24c5cacc3 package descriptions, unused imports, etc... 2013-06-23 22:34:13 -04:00
Jimmy Zelinskie
ccc8897ca8 scrape+stats foundation; restructuring 2013-06-23 03:56:28 -04:00
Jimmy Zelinskie
1bc42063ab copyright updated; imports renamed; misc fixes 2013-06-21 21:43:11 -04:00
Jimmy Zelinskie
eee2810da6 initial 2013-06-21 19:31:32 -04:00