Commit Graph

2249 Commits

Author SHA1 Message Date
Michael Klishin 70e817e40b Merge branch 'nyczol-configurable_gc_threshold' 2019-12-20 09:06:14 +03:00
Michael Klishin c310047f69 Introduce a fallback GC threshold value of 1GB
as used by the server.
2019-12-20 08:33:12 +03:00
Michael Klishin dfb4ff05de Bump default GC threshold to 1GB
In our testing we observe no meaningfully different peak
memory (carrier size) limit and 18 to 65% lower tail latencies
with small messages, and teen % lower with 50 MB messages.

Throughput is single digit % higher.

CPU usage was not meaningfully different on a four core host.

References rabbitmq/rabbitmq-common#343.
2019-12-20 08:02:50 +03:00
Michael Klishin 472bde25c7 Merge branch 'configurable_gc_threshold' of https://github.com/nyczol/rabbitmq-erlang-client into nyczol-configurable_gc_threshold 2019-12-20 03:34:38 +03:00
Jean-Sébastien Pédron 330172ce60 Update rabbitmq-components.mk 2019-12-12 13:14:50 +01:00
ANycz 3d42da42c6 make garbage collector threshold configurable 2019-12-11 22:13:50 +01:00
Michael Klishin 38b06b8a0f Merge pull request #128 from rabbitmq/velimir-amqp-params-for-direct-channel
Pass client/connection parameters to direct channel at init time to avoid a sync call to the connection process
2019-11-26 02:28:04 +03:00
Michael Klishin e1e049ccd0 Use assertMatch from EUnit here 2019-11-21 22:19:52 +03:00
Grigory Starinkin 3b476b0a48 pass amqp parameters for direct channel to avoid sync call
to the connection process

performance optimisation
2019-11-20 11:43:01 +00:00
Michael Klishin 263e7bf75a Merge pull request #126 from primait/timerRef-dont-match-with-state
Avoid pattern matching with timers when handling timeouts
2019-10-11 09:31:24 -05:00
larrywax 8a1d41e21d don't check timerRef when handling timeout
this avoids a `no function clause matching` error that prevents connection restart
2019-10-11 12:12:06 +02:00
kjnilsson cda57b5872 Update rabbitmq-components.mk 2019-09-13 10:24:09 +01:00
kjnilsson 34caaa4f6f Update rabbitmq-components.mk 2019-09-04 10:30:46 +01:00
Jean-Sébastien Pédron 53568f3b35 Update erlang.mk 2019-08-29 20:44:29 +02:00
Michael Klishin 0822ef1b96 Merge pull request #124 from rabbitmq/rabbitmq-erlang-client-123-crypted-password-in-state
Obfuscate credentials
2019-08-16 12:14:36 +10:00
Arnaud Cogoluègnes dec254d52e Use credentials_obfuscation module
[#167070941]

References #123
2019-08-13 09:47:45 +02:00
Arnaud Cogoluègnes 3522722c42 Merge branch 'master' into rabbitmq-erlang-client-123-crypted-password-in-state 2019-08-12 14:00:52 +02:00
Michael Klishin d8f215f596 Update rabbitmq-components.mk 2019-08-11 01:47:43 +10:00
Jean-Sébastien Pédron a790b4fec8 Update erlang.mk 2019-08-02 09:53:10 +02:00
Michael Klishin dc13715d8c Update rabbitmq-components.mk 2019-08-01 17:13:04 +03:00
Arnaud Cogoluègnes f7f0112e2b Encrypt password in state
And decrypt it only when needed, to avoid logging the password in clear.
This is currently based on a simple obfuscation module in
rabbitmq-common.

[#167070941]

References #123
2019-07-29 16:06:03 +02:00
Arnaud Cogoluègnes d7b1b1bb07 Update rabbitmq-components.mk 2019-07-09 16:05:44 +02:00
Arnaud Cogoluègnes 174e8ef933 Merge pull request #122 from rabbitmq/oauth2-credential-expiration-support
Support client-driven refresh of expiring credentials
2019-07-04 10:59:34 +02:00
Michael Klishin 2d229165dc Merge branch 'master' into oauth2-credential-expiration-support 2019-07-01 16:48:03 +02:00
Michael Klishin cdd616ad0d Introduce amqp_connection:update_secret/3
Part of OAuth 2 support. Allows clients to provide a refreshed access
token without closing and re-opening the connection.
2019-06-28 18:37:54 +02:00
Jean-Sébastien Pédron 4807230d45 Update rabbitmq-components.mk 2019-06-28 16:05:21 +02:00
Jean-Sébastien Pédron 7ca1de55e1 Update erlang.mk 2019-06-28 16:01:22 +02:00
Gerhard Lazu c509681b6a Update rabbitmq-components.mk 2019-06-03 02:23:28 +01:00
Jean-Sébastien Pédron 1fcc47589f Update rabbitmq-components.mk 2019-05-17 15:17:10 +02:00
Michael Klishin a6f2967c90 Update rabbitmq-components.mk 2019-05-17 08:36:12 +03:00
Michael Klishin fa09103095 Update rabbitmq-components.mk 2019-05-16 23:22:38 +03:00
Michael Klishin 609b158a9b Update rabbitmq-components.mk 2019-05-14 11:50:29 +03:00
Michael Klishin f8f652bf12 Update rabbitmq-components.mk 2019-05-13 16:40:20 +03:00
Gerhard Lazu dd68da393a Update rabbitmq-components.mk 2019-05-01 13:18:03 +01:00
Luke Bakken 7249dd8a65 Update rabbitmq-components.mk 2019-04-30 16:20:50 -07:00
Jean-Sébastien Pédron 08f045477f Update rabbitmq-components.mk 2019-04-30 14:47:22 +02:00
Michael Klishin 6e2f32aa8f Merge pull request #120 from rabbitmq/rabbitmq-erlang-client-91
Move rabbit_queue_collector to rabbit_common repo
2019-04-25 21:57:43 +03:00
Daniil Fedotov afbe1723af Move rabbit_queue_collector to rabbit_common repo.
Collector is used by a connection supervisor, which may be on
the client side for direct connections.

Addresses #91.
Depends on changes in rabbitmq-server and rabbitmq-common
2019-04-23 16:42:07 -04:00
Gerhard Lazu 77d6a3a995 Update rabbitmq-components.mk 2019-04-22 21:54:55 +01:00
Daniil Fedotov c962727554 Increase wait timeout in tests to avoid false positives. 2019-04-11 15:07:59 -04:00
Michael Klishin 2c379d7930 Merge pull request #119 from spring-operator/polish-urls-remaining-master
URL Cleanup
2019-03-20 11:56:12 +03:00
Spring Operator 27888c7189 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
   ([https](https://blog.listincomprehension.com/search/label/procket) result ClosedChannelException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/TOML) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/subproc) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
   ([https](https://e2project.org) result AnnotatedConnectException).
* http://erlang.org/pipermail/erlang-bugs/2012-June/002933.html (200) with 1 occurrences could not be migrated:
   ([https](https://erlang.org/pipermail/erlang-bugs/2012-June/002933.html) result ConnectTimeoutException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
   ([https](https://nitrogenproject.com/) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
   ([https](https://proper.softlab.ntua.gr) result SSLHandshakeException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
   ([https](https://yaws.hyber.org) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
   ([https](https://choven.ca) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
  https://fixtrading.org ([https](https://fixprotocol.org/) result SSLHandshakeException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
  https://erldb.org ([https](https://erldb.org) result UnknownHostException).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloudi.org/ with 27 occurrences migrated to:
  https://cloudi.org/ ([https](https://cloudi.org/) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
  https://erlware.org/ ([https](https://erlware.org/) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
  https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
  https://ninenines.eu ([https](https://ninenines.eu) result 200).
* http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* http://tools.ietf.org/html/rfc3986 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc3986 ([https](https://tools.ietf.org/html/rfc3986) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
  https://www.actordb.com/ ([https](https://www.actordb.com/) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
  https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html) result 200).
* http://www.erlang.org/ with 1 occurrences migrated to:
  https://www.erlang.org/ ([https](https://www.erlang.org/) result 200).
* http://www.rabbitmq.com with 1 occurrences migrated to:
  https://www.rabbitmq.com ([https](https://www.rabbitmq.com) result 200).
* http://www.rabbitmq.com/ with 2 occurrences migrated to:
  https://www.rabbitmq.com/ ([https](https://www.rabbitmq.com/) result 200).
* http://www.rabbitmq.com/build-erlang-client.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/build-erlang-client.html ([https](https://www.rabbitmq.com/build-erlang-client.html) result 200).
* http://www.rabbitmq.com/erlang-client-user-guide.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/erlang-client-user-guide.html ([https](https://www.rabbitmq.com/erlang-client-user-guide.html) result 200).
* http://www.rabbitmq.com/protocol.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/protocol.html ([https](https://www.rabbitmq.com/protocol.html) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
  https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
  https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
  https://lasp-lang.org/ ([https](https://lasp-lang.org/) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
  https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec) result 301).
* http://www.erlang.org/doc/man/gen_tcp.html with 1 occurrences migrated to:
  https://www.erlang.org/doc/man/gen_tcp.html ([https](https://www.erlang.org/doc/man/gen_tcp.html) result 301).
* http://www.erlang.org/doc/man/inet.html with 1 occurrences migrated to:
  https://www.erlang.org/doc/man/inet.html ([https](https://www.erlang.org/doc/man/inet.html) result 301).
* http://www.mozilla.org/MPL/ with 27 occurrences migrated to:
  https://www.mozilla.org/MPL/ ([https](https://www.mozilla.org/MPL/) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
  https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli) result 301).
2019-03-20 03:14:58 -05:00
Michael Klishin d11a1a11d5 Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:10 +03:00
Michael Klishin e7127b5bea Update rabbitmq-components.mk 2019-03-15 05:32:40 +03:00
Michael Klishin f30d26317d Update rabbitmq-components.mk 2019-03-15 05:05:32 +03:00
Michael Klishin 82692a62ea Merge pull request #117 from jsoref/spelling
Spelling
2019-02-13 00:00:32 +03:00
Josh Soref 5cebc94e48 spelling: various 2019-02-12 15:25:31 -05:00
Michael Klishin 61ccbf4ea7 Update rabbitmq-components.mk 2019-02-12 23:23:42 +03:00
Josh Soref 8b98b171ee spelling: protocol 2019-02-12 15:20:05 -05:00
Josh Soref 742f733131 spelling: macro 2019-02-12 15:08:22 -05:00