Package Usage: go: 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.)
1 version
Latest release: almost 3 years ago
56 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/CAFxX/gcnotifier
View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/CAFxX%2Fgcnotifier
Dependent Repos 47
m3db/m3db-operator
Kubernetes operator for M3DBSize: 2.86 MB - Last synced: 5 days ago - Pushed: about 2 years ago

bingoohuang/sysinfo
a command to show the system info as full as possibleSize: 259 KB - Last synced: 6 months ago - Pushed: over 1 year ago

FeatureBaseDB/featurebase 📦
A crazy fast analytical database, built on bitmaps. Perfect for ML applications. Learn more at: http://docs.featurebase.com/. Start a Docker instance: https://hub.docker.com/r/featurebasedb/featurebaseSize: 39.2 MB - Last synced: 2 days ago - Pushed: about 1 year ago

rongfengliang/gitbase
mygitbase forkSize: 146 MB - Last synced: 7 days ago - Pushed: about 2 years ago

src-d/gitbase
SQL interface to git repositories, written in Go. https://docs.sourced.tech/gitbaseSize: 146 MB - Last synced: 18 days ago - Pushed: over 1 year ago



deepfabric/elasticell
Elastic Key-Value Storage With Strong Consistency and ReliabilitySize: 40.6 MB - Last synced: about 1 month ago - Pushed: over 4 years ago

netxfly/sec-dev-in-action-src
《白帽子安全开发实战》配套代码Size: 11.5 MB - Last synced: 20 days ago - Pushed: about 4 years ago

bingoohuang/fastrest
fast restful framework for golang.Size: 621 KB - Last synced: 6 months ago - Pushed: 6 months ago



m3db/pilosa
Temporary fork of pilosa/pilosa until we can merge performance improvements upstreamSize: 7.91 MB - Last synced: 2 months ago - Pushed: over 6 years ago

FeatureBaseDB/pdk 📦
Pilosa Dev Kit - implementation tooling and use case examples are here!Size: 5.54 MB - Last synced: 1 day ago - Pushed: over 2 years ago

FeatureBaseDB/tools
Tools for development and opsSize: 10.7 MB - Last synced: 11 months ago - Pushed: over 5 years ago



leopku/luban
鲁班 A project generator aimed to D.R.Y while creating new project based on DDD.Size: 121 KB - Last synced: 11 months ago - Pushed: over 3 years ago

bingoohuang/ngxtpl
golang nginx templateSize: 847 KB - Last synced: 11 months ago - Pushed: over 1 year ago

FeatureBaseDB/go-pilosa 📦
Go client library for PilosaSize: 1.19 MB - Last synced: 8 days ago - Pushed: over 2 years ago

erikmuttersbach/go-mysql-server
Fork of github.com/src-d/go-mysql-server - An extensible MySQL server implementation in Go.Size: 10.3 MB - Last synced: 11 months ago - Pushed: over 2 years ago

Sndav/MultiHoneypot
一个Go语言编写的可扩展的蜜罐框架Size: 47.9 KB - Last synced: about 2 years ago - Pushed: about 3 years ago



bingoohuang/gonet
net relative like port, http, restSize: 227 KB - Last synced: 6 months ago - Pushed: over 1 year ago


bingoohuang/dog
watchdog for RSS/CPU or HeartbeatingSize: 467 KB - Last synced: 11 months ago - Pushed: over 3 years ago



gridgentoo/m3db-operator
(M3: Uber’s ) Kubernetes operator for M3DBSize: 1.64 MB - Last synced: 11 months ago - Pushed: over 4 years ago

bingoohuang/kt Fork of fgeller/kt
Kafka command line tool that likes JSONSize: 2.39 MB - Last synced: 12 months ago - Pushed: 12 months ago

bisikuku/go-mysql-server Fork of src-d/go-mysql-server
An extensible MySQL server implementation in Go.Size: 10 MB - Last synced: about 2 years ago - Pushed: over 2 years ago

bingoohuang/gg
golang big and greaterSize: 4.3 MB - Last synced: 8 months ago - Pushed: 8 months ago

EC-Snyk/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics PlatformSize: 94.3 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

vishalbelsare/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB and Query Engine, Prometheus Sidecar, Metrics PlatformSize: 65.9 MB - Last synced: 9 days ago - Pushed: 9 days ago

anniyanvr/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics PlatformSize: 75.2 MB - Last synced: 9 days ago - Pushed: 9 days ago

rizalgowandy/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics PlatformSize: 135 MB - Last synced: 9 days ago - Pushed: 9 days ago

mayhemheroes/pilosa Fork of FeatureBaseDB/featurebase
Pilosa is an open source, distributed bitmap index that dramatically accelerates queries across multiple, massive data sets.Size: 16.4 MB - Last synced: over 1 year ago - Pushed: over 1 year ago

kokizzu/pilosa Fork of FeatureBaseDB/featurebase
Pilosa is an open source, distributed bitmap index that dramatically accelerates queries across multiple, massive data sets.Size: 16.4 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

vishalbelsare/pilosa Fork of FeatureBaseDB/featurebase
Pilosa is an open source, distributed bitmap index that dramatically accelerates queries across multiple, massive data sets.Size: 13.2 MB - Last synced: 11 months ago - Pushed: about 1 year ago

databricks/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics PlatformSize: 98.4 MB - Last synced: 2 days ago - Pushed: 10 days ago


carlosms/mysql-sheets
Allows Google Sheets access from a MySQL clientSize: 43 KB - Last synced: about 1 month ago - Pushed: about 2 years ago

bingoohuang/sqlite3perf 📦
sqlite3perfSize: 909 KB - Last synced: 11 months ago - Pushed: about 2 years ago

tengattack/gluasql
A native Go implementation of SQL client for the GopherLua VM.Size: 116 KB - Last synced: 27 days ago - Pushed: about 1 year ago

FeatureBaseDB/mindy
An experimental Multi-INDex proxYSize: 17.6 KB - Last synced: 11 months ago - Pushed: over 7 years ago



luw2007/pilosa_books
use pilosa exampleSize: 235 KB - Last synced: about 2 years ago - Pushed: almost 6 years ago

bingoohuang/goup
Utility to upload or download large files through HTTP in broken-point continuously.Size: 386 KB - Last synced: 10 months ago - Pushed: over 1 year ago





sheldor173/ZMQ
implementing different zmq socket typesSize: 1000 Bytes - Last synced: about 1 year ago - Pushed: almost 3 years ago

being-happy/auto-test-go
接口自动测试执行引擎。使用Lua作为测试语言,用户可以执行界面测试前处理和后处理,断言处理,多用例编排和其他功能。执行引擎需要与自动化测试控制面一起使用。Size: 5.78 MB - Last synced: over 1 year ago - Pushed: over 1 year ago

chetangehlot/pilosa Fork of FeatureBaseDB/featurebase
Pilosa is an open source, distributed bitmap index that dramatically accelerates queries across multiple, massive data sets.Size: 5.36 MB - Last synced: about 1 year ago - Pushed: almost 7 years ago

m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics PlatformSize: 101 MB - Last synced: 1 day ago - Pushed: 1 day ago

nanne007/pilosa Fork of FeatureBaseDB/featurebase
Pilosa is an open source, distributed bitmap index that dramatically accelerates queries across multiple, massive data sets.Size: 4.33 MB - Last synced: almost 2 years ago - Pushed: about 7 years ago

bingoohuang/bssh Fork of blacknon/lssh
List selection type alternative ssh/scp/sftp client. Pure Go.Size: 1.09 MB - Last synced: about 2 months ago - Pushed: about 2 months ago

linkingli/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics PlatformSize: 64.5 MB - Last synced: almost 2 years ago - Pushed: over 4 years ago

etsangsplk/pilosa Fork of FeatureBaseDB/featurebase
Pilosa is an open source, distributed bitmap index that dramatically accelerates queries across multiple, massive data sets.Size: 7.14 MB - Last synced: about 1 year ago - Pushed: over 6 years ago
