I think these two older topics might be of interest to you. The first one talks about publishing high rate topics.
All these issues disappear when you switch to Zenoh, so I hope the default ROS middleware will be switched someday.