Commit Graph

  • 9be48ff689 optimise benchmark code. Raúl Kripalani 2018-08-31 18:49:07 +0100
  • 171f051aa1 add tests for keybook; []peer.ID => peer.IDSlice. Raúl Kripalani 2018-08-31 12:59:46 +0100
  • 95b7f1677e
    Merge pull request #30 from raulk/refactor Raúl Kripalani 2018-09-07 12:49:26 +0100
  • 63dd530f1f add mafmt import alias. Raúl Kripalani 2018-09-07 12:43:27 +0100
  • a3c72582f5 increase wait times in tests. Raúl Kripalani 2018-09-06 20:18:25 +0100
  • d79386365e rename NewPeerstoreWith(...) => NewPeerstore(...); adjust godoc. Raúl Kripalani 2018-09-05 15:14:40 +0100
  • bc77b649dc rename AddrMgr => AddrBook elsewhere. Raúl Kripalani 2018-09-05 15:08:33 +0100
  • 7f4288fab1 rename package mem => pstoremem. Raúl Kripalani 2018-09-04 18:07:44 +0100
  • 8b700dd78c readd import alias for manet. Raúl Kripalani 2018-09-04 11:42:42 +0100
  • 2f98672d1d rename *Peers() to PeersWith*(). Raúl Kripalani 2018-09-02 12:18:00 +0100
  • e200f3a5c1 gx-go unrewrite. Raúl Kripalani 2018-09-02 12:10:55 +0100
  • d0c3d2b341 rename ds package to pstoreds. Raúl Kripalani 2018-09-02 12:03:02 +0100
  • 580527bc73 fix nil dereference in benchmarks. Raúl Kripalani 2018-08-31 13:30:13 +0100
  • 039ee3a7b1 go fmt. Raúl Kripalani 2018-08-31 13:23:02 +0100
  • 81615c1df7 go fmt. Raúl Kripalani 2018-08-30 18:05:22 +0100
  • 06d419242c normalize naming: AddrManager => AddrBook; ctor for memory-backed AddrBook. Raúl Kripalani 2018-08-30 16:43:40 +0100
  • 5865418f5c organise imports. Raúl Kripalani 2018-08-30 16:24:09 +0100
  • b9ac6b77b1 gx-go rw. Raúl Kripalani 2018-08-30 15:24:06 +0100
  • 5d7633f0c9 move in-memory peerstore into mem package. Raúl Kripalani 2018-08-30 14:13:27 +0100
  • eaa2ccbf1e refactor tests into suites. Raúl Kripalani 2018-08-30 13:44:50 +0100
  • aeae977598 refactor peerstore (+) Raúl Kripalani 2018-08-29 15:12:41 +0100
  • b1e626f38d gx publish 1.5.0 gx/v1.5.0 Cole Brown 2018-08-27 19:06:57 -0400
  • bb3d4c617a
    Merge pull request #29 from libp2p/feat/persist_peerstore bigs 2018-08-27 18:41:54 -0400
  • f758b41fc4 Add lru cache dependency Cole Brown 2018-08-27 18:30:20 -0400
  • c2e901d580 Add datastore dependencies Cole Brown 2018-08-27 18:25:52 -0400
  • 34b7dc806d Implement proper benchmark with b.N Cole Brown 2018-07-24 19:48:16 -0400
  • f3e62000ee Use b.N in benchmarks Cole Brown 2018-06-28 09:31:36 -0400
  • 996387510d Run benchmarks 10s, report rates Cole Brown 2018-06-27 13:25:16 -0400
  • 1d5ab0b868 Update benchmark timings to stress peerstores more Cole Brown 2018-06-26 20:18:25 -0400
  • 6a9cba0e1b Update benchmarks to run against both peerstores Cole Brown 2018-06-26 20:10:17 -0400
  • 4972b40efd Add ARCCache to DatastoreAddrManager Cole Brown 2018-06-26 19:06:05 -0400
  • c0ff7b9b66 Acquire full lock when ticking ttlmanager Cole Brown 2018-06-26 18:10:10 -0400
  • f367209272 Handle batch Delete error Cole Brown 2018-06-26 18:06:34 -0400
  • f31d7e51ff Use nil instead of empty Multiaddr Cole Brown 2018-06-26 18:00:36 -0400
  • e7dca4205e Fix logic for AddAddrs Cole Brown 2018-06-26 17:58:38 -0400
  • 9eeea343d5 Update ttlmanager to use ds.Batching Cole Brown 2018-06-26 17:22:04 -0400
  • 78cd2c5abd Implement error retry logic for transactions Cole Brown 2018-06-15 17:48:39 -0400
  • b550e5b2c6 Mutex hat pattern Cole Brown 2018-06-15 17:35:47 -0400
  • 7e3363eeb4 Remove redundant channel from ttlmanager Cole Brown 2018-06-15 17:35:18 -0400
  • 785b890ecb Only lock critical section Cole Brown 2018-06-15 17:33:18 -0400
  • be8ee63ab9 Remove pure badger impl of AddrBook Cole Brown 2018-06-15 17:30:47 -0400
  • fe121a4c3e Clarify comment for tick function Cole Brown 2018-06-15 13:56:35 -0400
  • cfbbb58a31 Document and clean AddrSubManager Cole Brown 2018-06-15 13:54:04 -0400
  • 4a521e2e3b Update AddrManagerDatastore to require a Batching Datastore Cole Brown 2018-06-15 13:46:35 -0400
  • 3778829de8 Abstract Peerstore tests, fix bugs Cole Brown 2018-06-14 16:17:50 -0400
  • c446ba70fe Add NewPeerstoreDatastore Cole Brown 2018-06-13 19:27:57 -0400
  • 8d316aaa95 Clean tests Cole Brown 2018-06-13 19:27:43 -0400
  • 00793e6244 Move Peers from Peerstore to AddrBook Cole Brown 2018-06-13 19:27:14 -0400
  • e8fbef6e78 Update native badger impl to support Peers Cole Brown 2018-06-13 19:26:06 -0400
  • 95bb7b50ac Instrument DatastoreAddrManager with AddrSubManager Cole Brown 2018-06-12 18:02:42 -0400
  • 5f74828c53 Flatten loops Cole Brown 2018-06-12 17:58:57 -0400
  • 299007e9ca Break nesting via continues Cole Brown 2018-06-12 17:54:11 -0400
  • a43315d19c Use mutex hat pattern Cole Brown 2018-06-12 17:46:12 -0400
  • 718adac0a2 Use NewAddrSubManager Cole Brown 2018-06-12 17:41:05 -0400
  • 0b863436d8 Extract subscription manager from AddrManager Cole Brown 2018-06-12 17:37:26 -0400
  • 7e46530328 Don't export ttl manager functions Cole Brown 2018-06-11 19:59:50 -0400
  • 2d0ebcedd7 Accept parent ctx in constructor, simplify TTL loop Cole Brown 2018-06-11 19:54:17 -0400
  • 04773c03ee goimports file Cole Brown 2018-06-11 18:15:09 -0400
  • ba6ac2671b Implement and test Datastore-backed AddrManager Cole Brown 2018-06-11 17:58:10 -0400
  • d06a57e781 Rename AddrManagerBadger -> BadgerAddrManager Cole Brown 2018-06-11 17:56:57 -0400
  • 8fba05add1 Implement naive benchmark Cole Brown 2018-06-08 13:56:43 -0400
  • 49769cb606 Implement badger backed addr manager, add to tests Cole Brown 2018-06-08 13:26:53 -0400
  • 1016f6e956 Finish initial pass (sans stream) of addr manager Cole Brown 2018-06-05 16:54:20 -0400
  • b637498caf WIP: Begin work on a native badger peerstore Cole Brown 2018-06-05 02:18:23 -0400
  • 0630ec7b05 Add simple benchmarking for peerstore Cole Brown 2018-06-05 02:18:06 -0400
  • 4d62f4830a gx publish 1.4.24 gx/v1.4.24 Steven Allen 2018-08-21 17:08:28 -0700
  • 3a59fa1e00 gx publish 1.4.23 gx/v1.4.23 Steven Allen 2018-08-08 18:49:47 -0700
  • 49898a5f59 gx publish 1.4.22 gx/v1.4.22 gx/update-nza0mn Steven Allen 2018-06-26 16:23:27 -0700
  • ccd2a0abe3 gx publish 1.4.21 gx/v1.4.21 Steven Allen 2018-06-25 17:15:46 -0700
  • fbbaa0a742 Clean impl, handle transactional errors feat/native_badger_peerstore Cole Brown 2018-06-15 17:23:00 -0400
  • e1f3ed9778 Clarify comment for tick function Cole Brown 2018-06-15 13:56:35 -0400
  • a402545245 Document and clean AddrSubManager Cole Brown 2018-06-15 13:54:04 -0400
  • 9eb3fe36cb Update AddrManagerDatastore to require a Batching Datastore Cole Brown 2018-06-15 13:46:35 -0400
  • f96199210f Abstract Peerstore tests, fix bugs Cole Brown 2018-06-14 16:17:50 -0400
  • eb04a618ef Add NewPeerstoreDatastore Cole Brown 2018-06-13 19:27:57 -0400
  • 40b8e00e32 Clean tests Cole Brown 2018-06-13 19:27:43 -0400
  • 1f95ac226c Move Peers from Peerstore to AddrBook Cole Brown 2018-06-13 19:27:14 -0400
  • ae1f52bcf8 Update native badger impl to support Peers Cole Brown 2018-06-13 19:26:06 -0400
  • 98a9b28032 Instrument DatastoreAddrManager with AddrSubManager Cole Brown 2018-06-12 18:02:42 -0400
  • f6b9268d54 Flatten loops Cole Brown 2018-06-12 17:58:57 -0400
  • 4797133df7 Break nesting via continues Cole Brown 2018-06-12 17:54:11 -0400
  • 9a4d742fd0 Use mutex hat pattern Cole Brown 2018-06-12 17:46:12 -0400
  • 34444a789c Use NewAddrSubManager Cole Brown 2018-06-12 17:41:05 -0400
  • d6c305d5d8 Extract subscription manager from AddrManager Cole Brown 2018-06-12 17:37:26 -0400
  • ee4e7cfc61 Don't export ttl manager functions Cole Brown 2018-06-11 19:59:50 -0400
  • 3806c6f3a5 Accept parent ctx in constructor, simplify TTL loop Cole Brown 2018-06-11 19:54:17 -0400
  • 42927470a9 goimports file Cole Brown 2018-06-11 18:15:09 -0400
  • 477c3afa20 Implement and test Datastore-backed AddrManager Cole Brown 2018-06-11 17:58:10 -0400
  • 9562b5fcf4 Rename AddrManagerBadger -> BadgerAddrManager Cole Brown 2018-06-11 17:56:57 -0400
  • 8363aa9ac6 gx publish 1.4.20 gx/v1.4.20 Steven Allen 2018-06-08 22:28:48 -0700
  • b71d80cdd0 gx publish 1.4.19 gx/v1.4.19 Steven Allen 2018-06-08 20:23:17 -0700
  • 095d425998 Implement naive benchmark Cole Brown 2018-06-08 13:56:43 -0400
  • 817291570b Implement badger backed addr manager, add to tests Cole Brown 2018-06-08 13:26:53 -0400
  • 60a83a6ca3
    Merge pull request #25 from libp2p/feat/refactor Steven Allen 2018-06-06 07:20:37 +0000
  • dcbc7352ae Finish initial pass (sans stream) of addr manager Cole Brown 2018-06-05 16:54:20 -0400
  • 31697de32c WIP: Begin work on a native badger peerstore Cole Brown 2018-06-05 02:18:23 -0400
  • 140fd666d6 Add simple benchmarking for peerstore Cole Brown 2018-06-05 02:18:06 -0400
  • 9d8e49b726 gx publish 1.4.18 gx/v1.4.18 feat/refactor Steven Allen 2018-06-04 18:01:38 -0700
  • 2eaffe7319 update deps Steven Allen 2018-06-04 18:01:20 -0700
  • 7ac092e7f7 Merge branch 'gx/update-og4qoy' Steven Allen 2018-04-16 13:36:07 +0900