Thus, in most cases, it’s probably not a good idea to use WebSockets instead of direct TCP since you’ll get about 10 times higher message throughput with the latter (note that this is not the same as data throughput).
The only scenarios where it probably doesn’t matter are few very messages or if there is a lot of computation per message far dominating the processing time.
я бы наоборот сказал что in most cases нужно юзать ws, иначе это какая то экономия на спичках