During this early discussion of webform 8, there was concern about the 8 version not meeting the scalability of the 7 version. Now that webform 8 is mature and drupal 7 is nearing end-of-life, may I ask if webform can manage 1000’s or 10,0000’s of webform, all sharing a small set of <100 fields? Each webform has <200 submissions.

MOTIVATION: My drupal 7 application clones webforms, resulting in many nearly-identical webforms. I am looking to see how best to port this to Drupal 8. I fear that core may load or iterate over bundles, causing unacceptable performance.

Comments

DanChadwick created an issue. See original summary.

jrockowitz’s picture

I am not sure in Drupal 8 if config entities scale to support 1000’s or 10,0000’s of webforms. There could be some performance bottlenecks. For example, webform_query_webform_submission_access_alter() loads all webforms to check access rules.

Webforms in Drupal 8 are more reusable. For example, instead of cloning a webform, you can create multiple webform node instances for a single webform and change form and submission behavior for each webform node instance.

@see https://www.youtube.com/watch?v=B_ZyCOVKPqA&feature=youtu.be

jrockowitz’s picture

Status: Active » Closed (outdated)

@DanChadwick If you have any more questions or need help, feel free to ping me on Drupal Slack.

dalin’s picture

We are migrating a D7 site to D10 that has 1000s of webforms. It is causing severe scalability issues where a full cache rebuild takes >1 min to complete. I was hoping to come here and find some tips. We'll report back if we find anything.

danchadwick’s picture

I rewrote my module so that instead of cloning webforms, I create a small number of generalized webforms which can be modified on the fly. I don't think that webform 8, which is an entirely different design and codebase, will scale well if you have 1000's of webform entities.