6
0
mirror of https://git.mills.io/prologic/msgbus.git synced 2024-06-25 16:28:57 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
James Mills
8d19831a86
Migrate to Drone CI (cloud), CodeCov and Go11Modules 2018-12-31 18:05:23 +10:00
James Mills
ca70888049
Adjusted some defaults 2018-05-19 19:44:41 -07:00
James Mills
c640130f11
Improve API to be more RESTful 2018-05-14 03:04:45 -07:00
James Mills
81e35b8e18
Fixes several performance issues found in profiling and load testing. (#12)
* Fixed drop rate for subscriber listeners by adding buffering to channels (configurable)

* Added optinoal pprof support

* Added profile target for running profiled benchmarks
2018-05-14 02:12:58 -07:00
James Mills
60dd187cdd
Improves test coverage (#7)
* Added GET / (empty) test

* Added POST /hello test

* Added PUT /hello test

* Added simple e2e test (POST & GET)

* Add Subscriber test (fixed some race conditions)
2018-05-10 02:46:25 -07:00
James Mills
dd992ab5d8
Added configurable bounded queues with a deque data structure with added metrics (#6)
Adds configurable bounded queues with a deque data structure with added metrics
2018-05-09 23:25:13 -07:00
Alexander Emelin
22efa3afc8 use New instead of NewMessageBus for main message bus constructor (#5)
* use New instead of NewMessageBus for main message bus constructor

* update readme: New as message bus constructor
2018-05-08 01:50:56 -07:00
James Mills
8da5d41e65
Fixed subscribers gauge 2018-05-08 00:18:34 -07:00
James Mills
6ce5fb7104
Don't restrict size of messages at the websocket layer 2018-05-08 00:15:23 -07:00
James Mills
f169926a0c
Add metrics for queue depths 2018-05-07 21:51:54 -07:00
James Mills
0215f6f9a8
Fix debug logging 2018-05-06 14:04:51 -07:00
James Mills
1e0200788a
Add extra logging and fix a concurrency bug 2018-05-06 09:34:52 -07:00
James Mills
fba29f436b
Fixed leaking Subscriber(s) on unexpected closure from clients 2018-05-05 14:27:25 -07:00
James Mills
29053c2314
Improved metrics 2018-05-05 01:29:08 -07:00
James Mills
850ebb6f5f
Don't block on full subscriber channels (dead?) 2018-05-03 11:04:15 -07:00
James Mills
32f92b201f
Add support for control messages and various client improvements 2018-05-03 00:57:52 -07:00
James Mills
4eec89138b
Add extra counters for fetched, delivered and dropped messages 2018-05-02 12:50:12 -07:00
James Mills
3dbba632c7
Fixed tests 2018-05-02 01:24:30 -07:00
James Mills
f20b6cd8b9
Added basic metrics 2018-05-02 00:41:14 -07:00
James Mills
4b954ba4b4
Switched to using the github.com/gorilla/websocket library 2018-05-01 23:19:04 -07:00
James Mills
07699203ab
Add feature to msgbus sub CLI to executre commands on messages for convenient shell scriptiong 2018-04-30 23:09:12 -07:00
James Mills
931120defd
Various error handling improvements 2018-04-06 01:27:25 -07:00
James Mills
85f61cdddd
Guard against concurrent map access to topics 2018-04-02 14:38:33 -07:00
James Mills
f1ed5bd63c
Minor cleanup 2018-03-29 10:44:02 -07:00
James Mills
2aa716aaab
Switch logging to logrus 2018-03-25 17:03:56 -07:00
James Mills
baf9ecbf55
Set application/json content-types for most responses 2018-03-25 16:27:39 -07:00
James Mills
f546c64e24
Comment out logging 2018-03-03 19:58:58 +00:00
James Mills
dc7243ffa9
Per topic sequences with ttl 2017-08-14 00:34:12 -07:00
James Mills
215e226f69
Simplify a lot of the code and wrap up MessageBus into a Middleware that plays with standard net/http 2017-08-09 02:54:11 -07:00
James Mills
a56c04cbbe
Remove ack crap (rethining this) 2017-08-07 01:05:47 -07:00
James Mills
c76ef2f61d
Client wrapper and reconnecting client
See #2
2017-08-07 01:00:35 -07:00
James Mills
d4e65d0c45
Various improvements in conjunction with https://github.com/prologic/autodock/tree/go-port 2017-08-06 16:31:32 -07:00
James Mills
537969e9f2
Initial Commit 2017-06-03 16:16:17 +01:00