An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.2% on proxy.golang.org
Top 0.6% dependent packages on proxy.golang.org
Top 0.8% dependent repos on proxy.golang.org
Top 7.7% forks on proxy.golang.org

proxy.golang.org : github.com/CAFxX/gcnotifier

Package gcnotifier provides a way to receive notifications after every garbage collection (GC) cycle. This can be useful, in long-running programs, to instruct your code to free additional memory resources that you may be using. A common use case for this is when you have custom data structures (e.g. buffers, caches, rings, trees, pools, ...): instead of setting a maximum size to your data structure you can leave it unbounded and then drop all (or some) of the allocated-but-unused slots after every GC run (e.g. sync.Pool drops all allocated-but-unused objects in the pool during GC). To minimize the load on the GC the code that runs after receiving the notification should try to avoid allocations as much as possible, or at the very least make sure that the amount of new memory allocated is significantly smaller than the amount of memory that has been "freed" in response to the notification. GCNotifier guarantees to send a notification after every GC cycle completes. Note that the Go runtime does not guarantee that the GC will run: specifically there is no guarantee that a GC will run before the program terminates. Example implements a simple time-based buffering io.Writer: data sent over dataCh is buffered for up to 100ms, then flushed out in a single call to out.Write and the buffer is reused. If GC runs, the buffer is flushed and then discarded so that it can be collected during the next GC run. The example is necessarily simplistic, a real implementation would be more refined (e.g. on GC flush or resize the buffer based on a threshold, perform asynchronous flushes, properly signal completions and propagate errors, adaptively preallocate the buffer based on the previous capacity, etc.)

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21c%21a%21fx%21x/gcnotifier
Keywords: garbage-collector , gc , golang , runtime
License: MIT
Latest release: almost 3 years ago
First release: almost 3 years ago
Namespace: github.com/CAFxX
Dependent packages: 61
Dependent repositories: 47
Stars: 176 on GitHub
Forks: 6 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 21 days ago

Top 8.2% on proxy.golang.org
github.com/pilosa/pilosa/v3 v3.35.0
48 versions - Latest release: about 2 years ago
Top 4.6% on proxy.golang.org
github.com/featurebasedb/featurebase/v3 v3.35.0
Copyright 2021 Molecula Corp. All rights reserved. Copyright 2021 Molecula Corp. All rights rese...
48 versions - Latest release: about 2 years ago - 1 dependent package - 2,429 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/featurebaseDB/featurebase/v3 v3.35.0
A crazy fast analytical database, built on bitmaps. Perfect for ML applications. Learn more at: h...
48 versions - Latest release: about 2 years ago - 2,429 stars on GitHub
Top 4.6% on proxy.golang.org
github.com/FeatureBaseDB/featurebase/v3 v3.35.0
A crazy fast analytical database, built on bitmaps. Perfect for ML applications. Learn more at: h...
48 versions - Latest release: about 2 years ago - 2,429 stars on GitHub
Top 5.0% on proxy.golang.org
github.com/featurebasedb/pilosa/v3 v3.35.0
A crazy fast analytical database, built on bitmaps. Perfect for ML applications. Learn more at: h...
48 versions - Latest release: about 2 years ago - 2,432 stars on GitHub
Top 1.5% on proxy.golang.org
github.com/m3db/m3 v1.5.0
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compati...
89 versions - Latest release: about 3 years ago - 7 dependent packages - 10 dependent repositories - 4,372 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/gandhikrishna/m3 v1.5.0
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compati...
89 versions - Latest release: about 3 years ago - 0 stars on GitHub
Top 6.5% on proxy.golang.org
github.com/m3db/m3db v1.5.0
89 versions - Latest release: about 3 years ago - 2 dependent repositories
Top 8.6% on proxy.golang.org
github.com/logzio/m3 v1.4.2
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compati...
83 versions - Latest release: over 3 years ago - 1 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/zmt/m3 v1.4.2
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compati...
88 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/rohankumardubey/m3 v1.4.2
88 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/pubgo/example v0.0.0-20211222095709-1d2a90e8b51c
1 version - Latest release: over 3 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/tonya11en/m3 v1.4.1
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compati...
87 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/marcushill/m3 v1.3.0
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compati...
84 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 4.7% on proxy.golang.org
github.com/featurebasedb/featurebase/v2 v2.9.0
A crazy fast analytical database, built on bitmaps. Perfect for ML applications. Learn more at: h...
54 versions - Latest release: about 4 years ago - 2,429 stars on GitHub
Top 7.2% on proxy.golang.org
github.com/pilosa/pilosa/v2 v2.9.0
Package pilosa implements the core of the Pilosa distributed bitmap index. It contains all the do...
54 versions - Latest release: about 4 years ago - 1 dependent repositories
Top 8.2% on proxy.golang.org
github.com/sconover/m3 v1.1.0
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compati...
82 versions - Latest release: over 4 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/liguozhong/m3 v1.0.0
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compati...
78 versions - Latest release: over 4 years ago - 0 stars on GitHub
Top 5.0% on proxy.golang.org
github.com/featurebasedb/pilosa v1.4.1
Package pilosa implements the core of the Pilosa distributed bitmap index. It contains all the do...
43 versions - Latest release: over 4 years ago - 2,432 stars on GitHub
Top 4.6% on proxy.golang.org
github.com/Pilosa/pilosa v1.4.1
Package pilosa implements the core of the Pilosa distributed bitmap index. It contains all the do...
43 versions - Latest release: over 4 years ago - 2,259 stars on
Top 8.2% on proxy.golang.org
github.com/macheal/pilosa v1.4.1
Package pilosa implements the core of the Pilosa distributed bitmap index. It contains all the do...
39 versions - Latest release: over 4 years ago - 0 stars on GitHub
Top 4.6% on proxy.golang.org
github.com/featurebasedb/featurebase v1.4.1
Package pilosa implements the core of the Pilosa distributed bitmap index. It contains all the do...
43 versions - Latest release: over 4 years ago - 2,429 stars on GitHub
Top 4.6% on proxy.golang.org
github.com/FeatureBaseDB/featurebase v1.4.1
Package pilosa implements the core of the Pilosa distributed bitmap index. It contains all the do...
43 versions - Latest release: over 4 years ago - 2,429 stars on GitHub
Top 4.6% on proxy.golang.org
github.com/featurebaseDB/featurebase v1.4.1
Package pilosa implements the core of the Pilosa distributed bitmap index. It contains all the do...
43 versions - Latest release: over 4 years ago - 2,429 stars on GitHub
Top 1.2% on proxy.golang.org
github.com/pilosa/pilosa v1.4.1
Package pilosa implements the core of the Pilosa distributed bitmap index. It contains all the do...
43 versions - Latest release: over 4 years ago - 54 dependent packages - 37 dependent repositories - 2,428 stars on GitHub
github.com/m3dbx/pilosa v1.4.1
Package pilosa implements the core of the Pilosa distributed bitmap index. It contains all the do...
1 version - Latest release: over 4 years ago - 10 dependent packages - 15 dependent repositories - 1 stars on GitHub
Top 2.3% on proxy.golang.org
gopkg.in/src-d/go-mysql-server.v0 v0.5.1
An extensible MySQL server implementation in Go.
7 versions - Latest release: about 6 years ago - 4 dependent packages - 9 dependent repositories - 1,039 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.