I've never ran disc brakes, but currently run rim brakes on an ebike in NYC. My top speed is 25mph+, 28MPH on downhills.
I run a front U-shaped brake booster in the front and use aluminum fishbone brake housing for both front and back to reduce line compression. I've never had a problem with...