My first playthrough to level 70 had alot of attacks...between level 50 and 70 I was often getting two settlements attacked at the same time. I was getting so many attacks that I was just tired of responding to them and breaking my immersion with exploring.
However, my second playthrough to level 29 so far and I have had only 5 attacks. One was a double on two different settlements at the same time though.
I have yet to figure out why there is a difference.
Also, I cannot figure out how big a settlement can get. I had to turn off the beacons during my first playthrough when I got over 30 settlers. This time around I have tons of food, water, ammenities, shops and defense and my settlers do not show up.