An open API service providing repository metadata for many open source software ecosystems.

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 M3DB

Size: 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 possible

Size: 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/featurebase

Size: 39.2 MB - Last synced: 2 days ago - Pushed: about 1 year ago

rongfengliang/gitbase
mygitbase fork

Size: 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/gitbase

Size: 146 MB - Last synced: 18 days ago - Pushed: over 1 year ago

jekabolt/tolya-robot

Size: 231 KB - Last synced: about 2 years ago - Pushed: over 4 years ago

m3dbx/pilosa

Size: 7.82 MB - Last synced: almost 2 years ago - Pushed: over 4 years ago

deepfabric/elasticell
Elastic Key-Value Storage With Strong Consistency and Reliability

Size: 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

bingoohuang/braft

Size: 875 KB - Last synced: 8 months ago - Pushed: 8 months ago

bingoohuang/berf
perf framework

Size: 1.57 MB - Last synced: 10 months ago - Pushed: 10 months ago

m3db/pilosa
Temporary fork of pilosa/pilosa until we can merge performance improvements upstream

Size: 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 ops

Size: 10.7 MB - Last synced: 11 months ago - Pushed: over 5 years ago

bingoohuang/influx

Size: 157 KB - Last synced: 11 months ago - Pushed: over 2 years ago

chengjiahua/cjh.github.io

Size: 27.8 MB - Last synced: 2 months ago - Pushed: over 3 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 template

Size: 847 KB - Last synced: 11 months ago - Pushed: over 1 year ago

FeatureBaseDB/go-pilosa 📦
Go client library for Pilosa

Size: 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

EZLocalization/api

Size: 50.8 KB - Last synced: about 2 years ago - Pushed: over 3 years ago

n9e/n9e-tsdb

Size: 118 KB - Last synced: 20 days ago - Pushed: over 3 years ago

bingoohuang/gonet
net relative like port, http, rest

Size: 227 KB - Last synced: 6 months ago - Pushed: over 1 year ago

gomarks/ruyi
如意金箍棒

Size: 35.2 KB - Last synced: over 1 year ago - Pushed: about 3 years ago

bingoohuang/dog
watchdog for RSS/CPU or Heartbeating

Size: 467 KB - Last synced: 11 months ago - Pushed: over 3 years ago

rohan-flutterint/m3

Size: 60.8 MB - Last synced: 7 months ago - Pushed: about 3 years ago

pubgo/example

Size: 732 KB - Last synced: about 1 month ago - Pushed: over 3 years ago

gridgentoo/m3db-operator
(M3: Uber’s ) Kubernetes operator for M3DB

Size: 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 JSON

Size: 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 greater

Size: 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 Platform

Size: 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 Platform

Size: 65.9 MB - Last synced: 9 days ago - Pushed: 9 days ago

wybczu/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform

Size: 68.4 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 Platform

Size: 75.2 MB - Last synced: 9 days ago - Pushed: 9 days ago

Mu-L/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform

Size: 98.3 MB - Last synced: about 1 month ago - Pushed: about 2 months ago

rizalgowandy/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform

Size: 135 MB - Last synced: 9 days ago - Pushed: 9 days ago

aiven/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform

Size: 67.7 MB - Last synced: about 1 month ago - Pushed: almost 2 years ago

jnyi/m3 Fork of m3db/m3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform

Size: 98.2 MB - Last synced: about 2 months ago - Pushed: about 2 months 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 Platform

Size: 98.4 MB - Last synced: 2 days ago - Pushed: 10 days ago

sqeven/tgbot
bot for tg

Size: 13.2 MB - Last synced: about 2 years ago - Pushed: over 4 years ago

carlosms/mysql-sheets
Allows Google Sheets access from a MySQL client

Size: 43 KB - Last synced: about 1 month ago - Pushed: about 2 years ago

bingoohuang/sqlite3perf 📦
sqlite3perf

Size: 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 proxY

Size: 17.6 KB - Last synced: 11 months ago - Pushed: over 7 years ago

longw5/gotest

Size: 4.55 MB - Last synced: about 2 years ago - Pushed: about 3 years ago

bingoohuang/longlived-grpc

Size: 5.42 MB - Last synced: 4 months ago - Pushed: 4 months ago

luw2007/pilosa_books
use pilosa example

Size: 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

jaffee/qp

Size: 8.79 KB - Last synced: about 2 years ago - Pushed: over 5 years ago

tgruben/pilosa-pi

Size: 8.79 KB - Last synced: about 2 months ago - Pushed: almost 5 years ago

tgruben/validator

Size: 13.7 KB - Last synced: about 2 years ago - Pushed: about 5 years ago

tgruben/wikiindex

Size: 20.5 KB - Last synced: about 2 years ago - Pushed: over 5 years ago

sheldor173/ZMQ
implementing different zmq socket types

Size: 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 Platform

Size: 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 Platform

Size: 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