Giter VIP home page Giter VIP logo

limitnet's Introduction

limitnet

Package limitnet provides some network primitives, most notably throttled listener, needed by my nserv package.

ThrottledListener implements

  • throttling the number of active connections (preventing depletion of server's resources and DOS attacks) and
  • graceful shutdown through the Wait method.

Package features, version v1:

  • throttled listener with graceful shutdown

version v0 additionally boasts:

  • helper functions for writing a server with zero-downtime restarts (by passing an open fd to a child process, see nserv package for examples)

For up-to-date changelog and features list see README.

Usage

import "gopkg.in/kornel661/limitnet.v0"

or

go get gopkg.in/kornel661/limitnet.v0

Replace v0 by the version you need, see package import site and gopkg.in for import path convention.

Versions

  • Bleeding-edge development version (github.com/kornel661/limitnet) GoDoc GoWalker
  • Development version (v0) GoDoc GoWalker GoCover
  • Initial version with stable API (v1) GoDoc GoWalker GoCover

Changelog

  • 2014.11.11 (version v0): fixed some tests
  • 2014.08.27 (version v0): zero-downtime restarts - alpha quality code
  • 2014.08.18 (version v1): Created version v1 - its API should be stabe, though it isn't well-tested yet.
  • 2014.08.16 (version v0): Testing & bug hunting season opened.

limitnet's People

Contributors

kornel661 avatar

Stargazers

 avatar

Watchers

 avatar

limitnet's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.