Auto-Scaling iDialogue Document Workflows

Auto-Scaling iDialogue Document Workflows

When building the iDialogue document automation web service, we wanted to ensure that everything auto-scales. Whether processing 1 document or 1 Million, the platform needed to handle any workload.

We chose AWS Lambda Step Functions as our primary technology stack for document processing. For the edge cases where we rely on 3rd party solutions, this meant ensuring their software also worked in the AWS auto-scaling stack.

One such partner is Native Documents, who we collaborated with on DOCX to PDF conversion. They were able to quickly re-package their converter into a Serverless Lambda CloudFormation repository, which we dropped right into an AWS step function.

No alt text provided for this image

This modular approach elegantly embraces the Unix philosophy of "Do one thing well". In the case of Native Documents docx-to-pdf converter, it does one thing extremely well... convert Word docs into PDF files. Our upstream and downstream conversion filters similarly follow this "do one thing well" philosophy, and when combined in series, these many modules perform well at any scale.

We're able to set performance metric goals and monitor the performance of individual document tasks in CloudWatch. These metrics helped us identity some bottlenecks and optimize the document processing pipeline. At the time of writing this article, AWS was in the process of further improving Lambda performance, which we hope will ultimately get performance down to sub-second processing.

No alt text provided for this image

Jason Harrop, Founder of Native Documents, recently gave a presentation on "Millions of PDFs Once a Month: Serverless eStatements". iDialogue's Quote-to-Cash invoice generation engine is built upon this principle of using auto-scaling serverless architecture to cost effectively scale document generation services on-demand.

要查看或添加评论,请登录

Michael Leach的更多文章

  • Best of Breed is a Luxury

    Best of Breed is a Luxury

    I was watching a CNBC tech piece on IT spending and the comment was made "Best of Breed is a Luxury"; which was the…

  • Refactoring Web 2.1

    Refactoring Web 2.1

    I’ve been thinking a lot about Web 2.1 recently.

  • In Pursuit of the Next TLA

    In Pursuit of the Next TLA

    Conventional wisdom says smaller companies tackling big problems should define a new category, or TLA; which stands for…

  • The Lathe of Heaven and Digital Transformation

    The Lathe of Heaven and Digital Transformation

    One of my favorite books growing up was “The Lathe of Heaven” by Ursula Le Guin. In a classic “be careful what you wish…

  • Salesforce NPSP Year-End Donation Receipts

    Salesforce NPSP Year-End Donation Receipts

    For Salesforce Administrators at Nonprofits, the task of generating year-end tax donation receipts may seem arduous…

  • Stabilizing Salesforce Lightning Development With the React Design System

    Stabilizing Salesforce Lightning Development With the React Design System

    The transition from Salesforce Classic to Lightning has been a rocky road for some Developers. This journey was…

    8 条评论
  • Accounting in the Serverless Cloud

    Accounting in the Serverless Cloud

    One of the most fascinating R&D topics in Enterprise Software today is how to utilize the "Serverless Cloud". This next…

    5 条评论
  • Migrating to Salesforce CPQ

    Migrating to Salesforce CPQ

    Summary Migrating to Salesforce CPQ requires importing Orders and mapping them to many Salesforce objects (aka…

    1 条评论
  • Forecasting SaaS Revenue With Salesforce SteelBrick CPQ

    Forecasting SaaS Revenue With Salesforce SteelBrick CPQ

    Software-as-a-Service (SaaS) is fundamentally a subscription business with a mix of recurring software revenue and…

    3 条评论
  • Plans Are Worthless, But Planning is Everything (Agile Software)

    Plans Are Worthless, But Planning is Everything (Agile Software)

    I recently re-read Dwight D. Eisenenhower’s 1957 speech (link) in which he referenced this famous quote “Plans are…

社区洞察

其他会员也浏览了