Periodically I was getting blocked for mailchimp for 1 hour due to 10 simultaneous connections, which is not allowed by their terms of service.
The problem turned out to be that the subscribe block was calling mailchimp twice per page load (once for merge variables and once for interest groups).
I assume normally this is handled by drupal's block caching, which caches block so that these calls are not made on every page load.
However there is a limitation of drupal that means if you are using a contib node access module you can no longer use block caching.
So since I am using a node access module I am calling the mailchimp API a massive amount of times during high usage periods, which can result in 10 simultaneous connections.
It might be a good idea if the mailchimp module had it's own caching of the _mailchimp_subscribe_anon_form() function, aside from normal drupal block caching.
Comments
Comment #1
nrackleff commented“And now our watch [for support of the 6.x version of the MailChimp module] has ended…” With the end of Drupal 6 support, I’m sad to say we too must turn the page.
Fret not! The 7.x-4.x and 8.x versions come highly recommended. Both are using Mailchimp’s new API 3.0 and are being actively maintained. “What is dead may never die, but rises again, harder and stronger!”