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

98 Commits

Author SHA1 Message Date
James Mills
c640130f11
Improve API to be more RESTful 2018-05-14 03:04:45 -07:00
James Mills
9d131ac06f
Fixed spacing between targets 2018-05-14 02:31:49 -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
61667a8521
Fixed concurrent websocket conn access from writeLoop (#11) 2018-05-12 11:18:51 -07:00
James Mills
17a205e7f7
Added test for max-payload-size 2018-05-11 00:41:52 -07:00
James Mills
0e2ca09072
Add MsgBus.Metrics() test (#8) 2018-05-11 00:09:58 -07:00
James Mills
a461510220
Added a bunch of tests for metrics 2018-05-10 09:03:56 -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
James Mills
c39cfce477
Fixe two other missed references to NewMessageBus from 22efa3a 2018-05-08 01:58:37 -07:00
James Mills
d180ac710d
Relase v0.1.1 2018-05-08 01:52:10 -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
5cf4c1430a
Update README.md 2018-05-07 23:46:28 -07:00
James Mills
c2b7000091
Update README.md 2018-05-07 23:43:28 -07:00
James Mills
29b6c4175e
Update README.md 2018-05-07 23:41:59 -07:00
James Mills
44f007612c
Add goreleaser config 2018-05-07 22:33:30 -07:00
James Mills
f169926a0c
Add metrics for queue depths 2018-05-07 21:51:54 -07:00
James Mills
0d6386f98d
Remove unnecessary CloseHandler from client codepath 2018-05-07 16:40:32 -07:00
James Mills
fd4fec78bc
Add support for two-way ping/pong in both directions server<->client to avoid weird Docker Swarm IPVS/Overlay networking issues
See: gorilla/websocket#378
2018-05-07 16:14:12 -07:00
James Mills
f316d5b3cd
Fixed setting logging level of msgbus CLI client 2018-05-07 12:55:01 -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
b5862245e1
Document use-cases 2018-05-05 14:45:39 -07:00
James Mills
fba29f436b
Fixed leaking Subscriber(s) on unexpected closure from clients 2018-05-05 14:27:25 -07:00
James Mills
760e61ca91
Refactored client 2018-05-05 14:08:39 -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
b1d7a8dad4
Add grafana dashboard 2018-05-02 02:40:23 -07:00
James Mills
9b3d778a88
Create PULL_REQUEST_TEMPLATE.md 2018-05-02 01:39:27 -07:00
James Mills
e15d6d1127 Update issue templates 2018-05-02 01:37:44 -07:00
James Mills
4afd44dfc7
Create CODE_OF_CONDUCT.md (#4) 2018-05-02 01:36:30 -07:00
James Mills
f352bad349
Create CONTRIBUTING.md 2018-05-02 01:35:43 -07:00
James Mills
3dbba632c7
Fixed tests 2018-05-02 01:24:30 -07:00
James Mills
b5c1b9aa07
Updated 3rd-party vendored packages 2018-05-02 00:43:09 -07:00
James Mills
f20b6cd8b9
Added basic metrics 2018-05-02 00:41:14 -07:00
James Mills
9f10fb1754
Updated 3rd-party vendored packages 2018-05-01 23:22:23 -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
95e5e36662
Fix bug connecting to secure msgbus (websocket) endpoints 2018-04-30 23:08:44 -07:00
James Mills
7402386c08
Fixed some bugs in sample code 2018-04-30 23:07:27 -07:00
James Mills
3657c5f976
Fixed image layers badge 2018-04-06 23:38:57 -07:00
James Mills
a18bde360b
Add docker image layers badge 2018-04-06 23:36:15 -07:00
James Mills
5b1f84bf40
Add more tests and bench target 2018-04-06 23:34:51 -07:00
James Mills
32434cc7cd
Update README.md 2018-04-06 01:33:05 -07:00
James Mills
02eee3389a
Update README to reflect status of project 2018-04-06 01:30:14 -07:00
James Mills
931120defd
Various error handling improvements 2018-04-06 01:27:25 -07:00