go-commons-pool - a generic object pool for golang

  •        16

The Go Commons Pool is a generic object pool for Golang, direct rewrite from Apache Commons Pool.PooledObjectFactory.MakeObject must return a pointer, not value. The following code will complain error.

https://github.com/jolestar/go-commons-pool

Tags
Implementation
License
Platform

   




Related Projects

Apache Commons Pool - Commons Object Pooling Library

  •    Java

Commons Object Pooling Library

gpool - A golang resource pool which will support connection pool, buffer pool, goroutine pool

  •    Go

A golang pool which will support connection pool, buffer pool, goroutine pool. Help developers to use pool easily. Now gpool only support tcp connection pool. It will support other pools soon. And Thanks to https://github.com/fatih/pool, ideas comes from fatih.

pool - :speedboat: a limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation

  •    Go

Package pool implements a limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.Use go get.

ants - 🐜⚡️A high-performance goroutine pool for go

  •    Go

Package ants implements a fixed goroutine pool for managing and recycling a massive number of goroutines, allowing developers to limit the number of goroutines that created by your concurrent programs. Don't worry about the synchronous problems in this case, this method is thread-safe.

pool - Connection pool for Go's net.Conn interface

  •    Go

Pool is a thread safe connection pool for net.Conn interface. It can be used to manage and reuse connections.and use pool as the package name inside the code.


open-ethereum-pool - Open Ethereum Mining Pool

  •    Go

I highly recommend to use Ubuntu 16.04 LTS. First install go-ethereum.

bpool - Buffer/Byte pool for Go

  •    Go

A common use case for this package is to use buffers to execute HTML templates against (via ExecuteTemplate) or encode JSON into (via json.NewEncoder). This allows you to catch any rendering or marshalling errors prior to writing to a http.ResponseWriter, which helps to avoid writing incomplete or malformed data to the response. Here's a quick example for using bpool.BufferPool. We create a pool of the desired size, call the Get() method to obtain a buffer for use, and call Put(buf) to return the buffer to the pool.

go-hostpool - Intelligently and flexibly pool among multiple hosts from your Go application

  •    Go

Intelligently and flexibly pool among multiple hosts from your Go application

jobs - A persistent and flexible background jobs library for go.

  •    Go

A persistent and flexible background jobs library for go.Jobs is intended to be used in web applications. It is useful for cases where you need to execute some long-running code, but you don't want your users to wait for the code to execute before rendering a response. A good example is sending a welcome email to your users after they sign up. You can use Jobs to schedule the email to be sent asynchronously, and render a response to your user without waiting for the email to be sent. You could use a goroutine to accomplish the same thing, but in the event of a server restart or power loss, the email might never be sent. Jobs guarantees that the email will be sent at some time and allows you to spread the work between different machines.

BoneCP - The JDBC Connection Pool

  •    Java

BoneCP is a fast, Java database connection pool (JDBC Pool) library.

Libzdb - Connection Pool Library in C

  •    C

Libzdb is a small, fast and easy to use Database Connection Pool Library. It is thread safe and connects to database like MySQL, PostgreSQL, SQLLite and Oracle.

radix - Redis client for Go

  •    Go

redis - A wrapper around a single redis connection. Supports normal commands/response as well as pipelining. pool - a simple, automatically expanding/cleaning connection pool.

GlideBitmapPool - Glide Bitmap Pool is a memory management library for reusing the bitmap memory

  •    Java

Glide Bitmap Pool is a memory management library for reusing the bitmap memory. As it reuses bitmap memory , so no more GC calling again and again , hence smooth running application. It uses inBitmap while decoding the bitmap on the supported android versions. All the version use-cases has been handled to optimize it better. Glide Bitmap Pool can be included in any Android or Java application.

go-couchbase - Couchbase client in Go

  •    Go

This is a unoffical version of a Couchbase Golang client. If you are looking for the Offical Couchbase Golang client. This is an evolving package, but does provide a useful interface to a couchbase server including all of the pool/bucket discovery features, compatible key distribution with other clients, and vbucket motion awareness so application can continue to operate during rebalances.

Smart Thread Pool

  •    DotNet

Smart Thread Pool is a thread pool written in C#. It is far more advanced than the .NET built-in thread pool. Here is a list of the thread pool features: * The number of threads dynamically changes according to the workload on the threads in the pool. * Work items can...

Vibur DBCP - A concurrent and dynamic JDBC connection pool.

  •    Java

Vibur DBCP is a concurrent, fast and fully-featured JDBC connection pool based on Java dynamic proxies. It supports a fairness parameter, statement caching, SQL queries logging, and Hibernate integration, among other features.

c3p0 - JDBC3 Connection and Statement Pooling

  •    Java

c3p0 is an easy-to-use library for making traditional JDBC drivers "enterprise-ready" by augmenting them with functionality defined by the jdbc3 spec and the optional extensions to jdbc2. It provides (DriverManager-based) JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension.

HikariCP - A high-performance JDBC connection pool

  •    Java

Fast, simple, reliable. HikariCP is a "zero-overhead" production ready JDBC connection pool. At roughly 90Kb, the library is very light.

svgo - Go Language Library for SVG generation

  •    Go

The library generates SVG as defined by the Scalable Vector Graphics 1.1 Specification (http://www.w3.org/TR/SVG11/). Output goes to the specified io.Writer.

geodns - DNS server with per-client targeted responses

  •    Go

This is the DNS server powering the NTP Pool system and other similar services. It supersedes the pgeodns server.If you already have go installed, just run go get to install the Go dependencies. GeoDNS requires Go 1.4 or later.