aforge
2f632ecc91
Fix a race condition around Session.subs.
...
1. Session.addSub & Session.delSub should be happening (atomically) together modifications of Topic.sessions.
2. Only one of Session.subscribe() and Session.leave() is allowed to be inflight at any given moment.
2023-07-07 01:14:25 -07:00
aforge
d5163b39ab
Update Tinode API version in Gatling loadtest.
2022-07-28 11:30:07 +03:00
aforge
0f630c07e3
Add gatling loadtest param default values to README.
2021-12-06 17:42:33 -08:00
aforge
7025a04a53
A bit more details on the loadtest.
2021-04-15 14:41:27 -07:00
aforge
43eb89696b
Update loadtest results.
2021-04-13 21:53:53 -07:00
aforge
307c06b1f4
Loadtest: documentation.
2021-03-11 00:15:53 +03:00
aforge
d6e39c5c22
Loadtest: parametrize load frequency.
2021-03-09 23:31:02 +03:00
aforge
31309e0c84
Loadtest: adjust SingleTopicLoadtest to produce more sustainable load.
2021-03-08 00:36:51 +03:00
aforge
995c7069d9
Loadtest: add me and single (group) topic loadtest scenarios.
2021-03-02 23:00:11 +03:00
aforge
92fc28487b
Loadtest: allow setting accounts file and load params via command line.
2021-03-01 20:17:53 +03:00
aforge
1518500320
Update loadtest/README with Gatling-based loadtest instructions.
2021-01-12 14:47:41 +03:00
aforge
9d83236124
gatling: do not publish to chn topics.
2020-12-17 01:17:16 +03:00
aforge
daf497da18
Gatling: Shuffle subs, logging improvements.
2020-12-06 00:39:02 +03:00
aforge
145153b2e4
Gatling: Add a bit of error handling & structure.
2020-12-03 17:21:11 +03:00
aforge
4f5ff5e917
Gatling loadtest: cache auth tokens and reuse them.
2020-12-03 00:23:53 +03:00
aforge
cfc68bad8f
Add a basic gatling-based loadtest scenario.
2020-12-01 01:38:12 +03:00
aforge
80761d417c
Remove some excessive logging from tsung.xml.
2020-11-15 00:59:13 +03:00
aforge
59e3fadad9
Increase load in tsung.xml.
...
Also fix logic when it's topic sub request
returns failure (we must skip this topic altogether).
2020-10-04 00:22:20 -07:00
aforge
8f7a1e2bf1
Fail subscribe requests when the Hub's join queue is full.
...
Handle subscribe responses in tsung.xml in such cases.
Also, gofmt on session.go.
2020-08-25 23:13:45 -07:00
aforge
63e5b2d6c5
Make tinode:read_token comment clearer.
2020-08-09 15:53:07 -07:00
aforge
1d703e6481
Implement token authentication in loadtest.
2020-08-09 15:20:19 -07:00
aforge
fec808f58a
Randomize subscription order in loadtest.
2020-08-06 23:51:12 -07:00
aforge
08fefb60b7
pr comments
2020-07-16 21:10:10 -07:00
aforge
4f91234b1a
Publish to all user topics in the load test config.
2020-07-16 00:44:57 -07:00
or-else
24d2d8ce91
build process changes to reflect js changes
2018-08-12 16:11:53 +03:00
or-else
cb398187c2
move readLoop to goroutine to avoid "too many open files"
2018-07-27 13:08:46 +03:00
or-else
8500fb6bd8
number of test users to 100, fix for a crash in shutdown
2018-07-26 16:41:50 +03:00
or-else
3560969405
adding readme and apache license
2018-07-26 15:58:43 +03:00
or-else
7b7ee6ef44
tsung test actually runs now
2018-07-26 15:33:01 +03:00
or-else
a34f11fd92
better handling of invalid packets, initial config for tsung load test
2018-07-25 21:16:10 +03:00