Agniva De Sarker
7be61af24f
MM-25516: Changed to byte slice instead of string for cluster messages ( #17998 )
...
* MM-25516: Changed to byte slice instead of string for cluster messages
https://mattermost.atlassian.net/browse/MM-25116
Testing:
Manually tested.
Load-tested with Cluster Controller.
I looked into changing the serialization method to use msgpack,
but the ClusterMessage struct was mainly used for only 3 fields
which didn't lead to much of a CPU time improvement, whereas
actually led to more allocations using msgpack. Hence, I chose
to remain with JSON.
```
name old time/op new time/op delta
ClusterMarshal-8 3.51µs ± 1% 3.10µs ± 2% -11.59% (p=0.000 n=9+10)
name old alloc/op new alloc/op delta
ClusterMarshal-8 776B ± 0% 1000B ± 0% +28.87% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
ClusterMarshal-8 12.0 ± 0% 13.0 ± 0% +8.33% (p=0.000 n=10+10)
```
```release-note
Changed the field type of Data in model.ClusterMessage to []byte from string.
```
* Trigger CI
```release-note
NONE
```
2021-07-26 13:41:20 +05:30
..
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-05-11 13:00:44 +03:00
2021-07-22 10:24:20 -04:00
2021-07-26 13:41:20 +05:30
2021-07-22 12:21:47 +05:30
2021-07-26 13:41:20 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 10:24:20 -04:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-26 13:41:20 +05:30
2021-07-26 13:41:20 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-26 13:41:20 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-21 16:38:39 +02:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-01-04 11:32:29 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-05-25 22:00:57 -03:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-03-24 10:32:16 +01:00
2021-03-24 10:32:16 +01:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-02-16 12:00:01 +01:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-23 19:54:51 +03:00
2021-07-26 13:41:20 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-05-11 13:00:44 +03:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-26 13:41:20 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2019-12-05 23:41:52 +04:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2019-11-29 12:59:40 +01:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-24 09:35:51 +02:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-26 13:41:20 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 15:30:45 -04:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2020-03-19 11:18:17 +01:00
2020-03-19 11:18:17 +01:00
2020-06-19 17:49:30 +05:30
2021-07-22 12:21:47 +05:30
2021-07-23 19:54:51 +03:00
2021-07-22 12:21:47 +05:30
2021-07-23 19:54:51 +03:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-26 13:41:20 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30