Support » Plugin: Google Sheets Integration for Caldera Forms » Support Async Processing?

  • I noticed that this plugin significantly slows down the form submission.

    On a form with first/last names + email + 9 hidden tracking fields it takes ~2 seconds to submit a form without Google Sheets processor and ~4 seconds if it is enabled

    I tried disabling header verification but it didn’t change the timing. Disabling spreadsheet onChange triggers also did not change anything

    What could be done to improve the performance? Seems like the kind of things this plugin does could be fired off asynchronously to not wait for Google Sheets to respond

    Could this be done? Anything else could be done to improve performance?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alex Agranov

    (@alexagr)

    Additional 2 seconds don’t look like a big deal to me. And in my experience the processing time is roughly the same even for complex forms with around 50 fields (if you turn off header verification).

    Asynchronous code would require a major plugin rewrite – which IMO is not worth it.

    Any extra second is a huge deal for usability, especially if the forms are used for high-value conversions …

    What makes async submission so hard to do? I suppose it could be only done for the case with header checking disabled and would involve just one call to Google Sheets to append a row. Is async fire-and-forget not viable in PHP?

    Plugin Author Alex Agranov

    (@alexagr)

    You are welcome to take a look at the addon source code and modify it as you wish. If you manage to hack the async mod I’ll be happy to merge your code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Support Async Processing?’ is closed to new replies.