diff options
author | Loïc Hoguin <[email protected]> | 2021-09-09 12:15:32 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2021-09-09 12:15:32 +0200 |
commit | 992831c7a516b5183c2af06260829d41aa45267c (patch) | |
tree | 4e874d3aa4fff73455fce70c5a184c171858d02f /_build | |
parent | 48f39402181d959cad88cb3f460210c007169f50 (diff) | |
download | ninenines.eu-992831c7a516b5183c2af06260829d41aa45267c.tar.gz ninenines.eu-992831c7a516b5183c2af06260829d41aa45267c.tar.bz2 ninenines.eu-992831c7a516b5183c2af06260829d41aa45267c.zip |
Ranch 2.1.0
Diffstat (limited to '_build')
-rw-r--r-- | _build/Makefile | 4 | ||||
-rw-r--r-- | _build/content/articles/ranch-2.1.0.asciidoc | 45 | ||||
-rw-r--r-- | _build/data/projects/ranch.toml | 4 |
3 files changed, 49 insertions, 4 deletions
diff --git a/_build/Makefile b/_build/Makefile index 10bf1cb1..4f23a200 100644 --- a/_build/Makefile +++ b/_build/Makefile @@ -75,7 +75,7 @@ docs-$1-$2: tmp/$1 printf "%s\n" "+++" "title = \"`sed 's/\(.\)/\U\1/' <<< $1` Function Reference\"" \ "project = \"$1\"" "version = \"$3\"" "doctype = \"manual\"" "+++" "" \ > content/docs/en/$1/$3/manual.asciidoc; \ - if [ "$1" = "cowboy" -o "$1" = "gun" -o "$1" = "cowlib" ] || [ "$1" = "ranch" -a "$3" = "1.6" ] || [ "$1" = "ranch" -a "$3" = "1.7" ] || [ "$1" = "ranch" -a "$3" = "1.8" ] || [ "$1" = "ranch" -a "$3" = "2.0" ]; then \ + if [ "$1" = "cowboy" -o "$1" = "gun" -o "$1" = "cowlib" -o "$1" = "ranch" ]; then \ sed '1,/^$$$$/d' tmp/$1/doc/src/manual/$1_app.asciidoc \ | sed 's/link:man:\([a-z0-9_]*\)(7)/link:\1_app/g' \ | sed 's/\(link:man:[a-z0-9_]*\):/\1./g' \ @@ -96,7 +96,7 @@ docs-$1-$2: tmp/$1 echo "\"" >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ echo "+++" >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ echo >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ - if [ "$1" = "cowboy" -o "$1" = "gun" -o "$1" = "cowlib" ] || [ "$1" = "ranch" -a "$3" = "1.6" ] || [ "$1" = "ranch" -a "$3" = "1.7" ] || [ "$1" = "ranch" -a "$3" = "2.0" ]; then \ + if [ "$1" = "cowboy" -o "$1" = "gun" -o "$1" = "cowlib" -o "$1" = "ranch" ]; then \ sed '1,/^$$$$/d' $$$$f \ | sed 's/link:man:$1(7)/link:../g' \ | sed 's/\(link:man:[a-z0-9_]*\):/\1./g' \ diff --git a/_build/content/articles/ranch-2.1.0.asciidoc b/_build/content/articles/ranch-2.1.0.asciidoc new file mode 100644 index 00000000..c653a516 --- /dev/null +++ b/_build/content/articles/ranch-2.1.0.asciidoc @@ -0,0 +1,45 @@ ++++ +date = "2021-09-09T07:00:00+01:00" +title = "Ranch 2.1" + ++++ + +Ranch `2.1.0` has been released! + +Ranch 2.1 adds counters for the number of connections +accepted and terminated. They can be used to produce +information about accept or shutdown rates or as a +total number of connections handled by Ranch. + +Ranch 2.1 also adds an alarm around the number of +active connections a connection supervisor handles. +When that number is high it is now possible to +automatically perform an action, such as logging +or gracefully shutting down idle connections. + +Starting from Ranch 2.1 the `{inet_backend,socket}` +option is accepted for TCP listeners. Ranch tests +now also run with this option enabled. Note that +there are known issues with the socket backend +at this time. + +We are providing a +https://github.com/juhlig/prometheus_ranch[Prometheus collector] +as a separate project as well as a +https://github.com/juhlig/prometheus_ranch/blob/master/dashboards/ranch-dashboard.json[Grafana dashboard]. + +Thanks this time go to Jan Uhlig and Maria Scott +for contributing the alarms and counters as well +as other improvements that went into this release. + +Ranch 2.1 requires Erlang/OTP 22 or above and is tested and supported +on Linux, FreeBSD, macOS and Windows. + +A complete list of changes can be found in the migration guide: +https://ninenines.eu/docs/en/ranch/2.1/guide/migrating_from_2.0/[Migrating from Ranch 2.0 to 2.1]. + +You can donate to this project via +https://github.com/sponsors/essen[GitHub Sponsors]. + +As usual, feedback is appreciated, and issues or +questions should be sent via Github tickets. Thanks! diff --git a/_build/data/projects/ranch.toml b/_build/data/projects/ranch.toml index d0e1e667..1897bbbc 100644 --- a/_build/data/projects/ranch.toml +++ b/_build/data/projects/ranch.toml @@ -3,8 +3,8 @@ catchphrase = "The holy cow of servers." description = "Ranch is a socket acceptor pool for building awesome TCP and TLS servers." name = "ranch" repository = "https://github.com/ninenines/ranch" -versions = ["2.0", "1.8", "1.7", "1.6", "1.5"] -branches = ["2.0.0", "1.8.0", "1.7.1", "1.6.2", "1.5.0"] +versions = ["2.1", "2.0", "1.8", "1.7", "1.6"] +branches = ["master", "2.0.0", "1.8.0", "1.7.1", "1.6.2"] has_source = true has_guide = true has_manual = true |