- 23 Aug, 2021 1 commit
-
-
tavit ohanian authored
-
- 27 Jan, 2021 1 commit
-
-
Andrew Gillis authored
* Converting from IPLD to datastore-based pins no longer requires loading all dag-storage pins (including indirect pins) into memory * increase test coverage
-
- 30 Nov, 2020 1 commit
-
-
Andrew Gillis authored
feat: store pins in datastore instead of a DAG Adds a new `/pins` namespace to the given datastore and uses that to store pins as cbor binary, keyed by unique pin ID. The new datastore pinner stores pins in the datastore as individual key-value items. This is faster than the dag pinner, which stored all pins in a single dag that had to be rewritten every time a pin was added or removed. The new pinner provides a secondary indexing mechanism that can be used to index any data that a pin has. Secondary indexing logic is provided by the `dsindex` package. The new pinner currently includes indexing by CID. Both the new datastore pinner (`dspinner` package) and the old dag pinner (`ipldpinner` package) implementations are included to support migration between the two. Migration logic is provided by the `pinconv` package. Other features in new pinner: - Benchmarks are provided to compare performance of between the old and new pinners - New pinner does not keep in-memory set of pinned CIDs, instead it relies on the datastore - Separate recursive and direct CID indexes allow searching for pins without having to load pin data to check the mode - New pinner can rebuild indexes on load, if saved pins appear out of sync with the indexes
-
- 19 Nov, 2019 1 commit
-
-
Michael Muré authored
-
- 05 Mar, 2019 1 commit
-
-
Jakub Sztandera authored
License: MIT Signed-off-by:
Jakub Sztandera <kubuxu@protonmail.ch>
-
- 27 Feb, 2019 2 commits
-
-
Steven Allen authored
Fixes the latest batch of bugs found in RC testing. License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
Hector Sanjuan authored
License: MIT Signed-off-by:
Hector Sanjuan <code@hector.link>
-
- 21 Feb, 2019 2 commits
-
-
Steven Allen authored
License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
Steven Allen authored
* go-bitswap: fix some race conditions. * go-libp2p-kad-dht: fix a goroutine leak. License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 18 Feb, 2019 1 commit
-
-
Jakub Sztandera authored
License: MIT Signed-off-by:
Jakub Sztandera <kubuxu@protonmail.ch>
-
- 14 Feb, 2019 1 commit
-
-
Steven Allen authored
License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 08 Feb, 2019 1 commit
-
-
Steven Allen authored
Switch _back_ to the 0.4.18 style of peer IDs while we figure things out. See https://github.com/libp2p/specs/issues/138. License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 23 Jan, 2019 1 commit
-
-
Łukasz Magiera authored
(and everything else...) License: MIT Signed-off-by:
Łukasz Magiera <magik6k@gmail.com>
-
- 09 Jan, 2019 1 commit
-
-
Steven Allen authored
Importantly: * fixes a bunch of MFS bugs * pulls in some bitswap improvements License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 07 Dec, 2018 1 commit
-
-
Steven Allen authored
Reverts the changes that allowed small keys (ed25519 keys) to be inlined. License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 28 Nov, 2018 1 commit
-
-
Kevin Atkinson authored
License: MIT Signed-off-by:
Kevin Atkinson <k@kevina.org>
-
- 16 Nov, 2018 1 commit
-
-
hannahhoward authored
License: MIT Signed-off-by:
hannahhoward <hannah@hannahhoward.net>
-
- 03 Nov, 2018 1 commit
-
-
Steven Allen authored
fixes #5709 License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 02 Nov, 2018 1 commit
-
-
Steven Allen authored
(might as well do this at the same time) License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 29 Oct, 2018 1 commit
-
-
Hector Sanjuan authored
License: MIT Signed-off-by:
Hector Sanjuan <hector@protocol.ai>
-
- 24 Oct, 2018 3 commits
-
-
Steven Allen authored
(fixes a panic due to a race) License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
Steven Allen authored
License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
Steven Allen authored
License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 12 Oct, 2018 1 commit
-
-
Steven Allen authored
* yamux: fix memory leak. * refmt: obey the "empty" tag. License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 10 Oct, 2018 1 commit
-
-
Steven Allen authored
Turns out that `pool.Put(buf)` had to *allocate* because we needed to turn `[]byte` into `interface{}`. Apparently, we've never done this correctly we just never noticed because we never really used buffer pools extensively. However, since migrating yamux to a buffer-pool backed buffer, this started showing up in allocation profiles. License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 05 Oct, 2018 3 commits
-
-
Steven Allen authored
* go-datastore and friends: GetSize * badger: new release, fewer allocations * go-mplex: send fewer packets * go-bitswap: pack multiple blocks in a single message, fewer allocations * go-buffer-pool: replace the buffer pool from go-msgio * yamux: fixed data race and uses go-buffer-pool for stream read-buffers to reduce memory and allocations. * go-libp2p-secio: get rid of a hot-spot allocation * go-libp2p-peerstore: reduced allocations (at the cost of some memory) More? License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
Kevin Atkinson authored
License: MIT Signed-off-by:
Kevin Atkinson <k@kevina.org>
-
Kevin Atkinson authored
License: MIT Signed-off-by:
Kevin Atkinson <k@kevina.org>
-
- 04 Oct, 2018 1 commit
-
-
Lars Gierth authored
License: MIT Signed-off-by:
Lars Gierth <larsg@systemli.org>
-
- 24 Sep, 2018 2 commits
-
-
Steven Allen authored
(and friends) License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
Łukasz Magiera authored
License: MIT Signed-off-by:
Łukasz Magiera <magik6k@gmail.com>
-
- 12 Sep, 2018 2 commits
-
-
Steven Allen authored
(some extra files got committed) License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
Kevin Atkinson authored
License: MIT Signed-off-by:
Kevin Atkinson <k@kevina.org>
-
- 08 Sep, 2018 1 commit
-
-
Steven Allen authored
Also: * Updates go-floodsub to fix a data race. * Updates golang-lru License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 31 Aug, 2018 1 commit
-
-
Steven Allen authored
License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 22 Aug, 2018 1 commit
-
-
Steven Allen authored
License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 15 Aug, 2018 2 commits
-
-
Steven Allen authored
Also: * Switch to gogo for filestore for consistency. * Use the "faster" codegen for fewer allocations. License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
Steven Allen authored
License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 13 Aug, 2018 1 commit
-
-
Steven Allen authored
* Most of our datastores barf on non []byte values. * We have to have a bunch of "is this a []byte" checks. * Saves some allocations. License: MIT Signed-off-by:
Steven Allen <steven@stebalien.com>
-
- 12 Aug, 2018 1 commit
-
-
Kevin Atkinson authored
License: MIT Signed-off-by:
Kevin Atkinson <k@kevina.org>
-