[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-346351-105":59,"doc-detail-346351-en":135},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":128,"head_meta":130,"extra_data":132,"updated_unix":134},105,"en","converting-pdf-at-scale-presented-by-matt-porritt","Converting PDF at Scale - Presented By Matt Porritt","","Scalable workflow for converting non-PDF documents into PDF at high volume, designed for a Moodle-based submission and annotation process. Conversion is performed outside Moodle after a student submits a non-PDF file and before a teacher annotates the resulting PDF. Core converters include unoconv and LibreOffice, with operational needs such as setup and management. A LibreLambda converter plugin architecture is introduced using AWS Lambda and S3, covering conversion flow and detailed cost profiling, request/transfer expenses, and scalability performance estimates for large document batches.",{"@graph":69,"@context":127},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/converting-pdf-at-scale-presented-by-matt-porritt/346351/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/converting-pdf-at-scale-presented-by-matt-porritt/346351.png","ImageObject",300,407,{"name":92,"@type":93},"Kurz","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-09-22",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",14,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119,123],{"name":110,"@type":111,"acceptedAnswer":112},"What is the end-to-end process for converting submitted documents to PDF?","Question",{"text":113,"@type":114},"A student submits a non-PDF document, Moodle converts it to PDF outside the Moodle environment, and then the teacher annotates the generated PDF.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What tools are used for core PDF conversion and why are they operationally demanding?",{"text":118,"@type":114},"Core converters listed are unoconv and LibreOffice, with explicit needs to set up and manage them, plus options like Google Drive and a managed service.",{"name":120,"@type":111,"acceptedAnswer":121},"How does the LibreLambda converter approach conversion at scale?",{"text":122,"@type":114},"It converts documents to PDF via LibreOffice while using AWS Lambda for execution and S3 for input/output storage, enabling serverless scaling without manual scale-out.",{"name":124,"@type":111,"acceptedAnswer":125},"What performance and cost characteristics are reported for large-scale conversion?",{"text":126,"@type":114},"For 100,000 converted documents, total conversion time is about 120 minutes (~7 seconds per document), and the overall cost is reported as $7.31 AUD, i.e., about $0.0000731 AUD per document.","https://schema.org",{"og:url":83,"og:type":129,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":131,"canonical":83},"index,follow",{"doc_id":133,"site_id":62},346351,1790701879,{"code":4,"msg":5,"data":136},{"doc_id":133,"user_id":137,"nickname":92,"user_avatar":138,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":139,"file_id":140,"file_url":141,"file_type":142,"file_size":143,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":105,"language":144,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":145,"faqs":146,"seo_title":147,"seo_description":67,"update_tm":148,"read_time":149,"preview_page_count":19,"preview_urls":150},2336478945635,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Converting PDF at Scale  \nPresented By Matt Porritt  \n@MatthewPorritt  \nAnnotating a student’s submission: [https://docs.moodle.org/36/en/File:Annotatingsubmissions1.png](https://docs.moodle.org/36/en/File:Annotatingsubmissions1.png)  \nPDF Conversion  \n• Non-PDF Documents Must Be Converted  \n• Conversion Occurs Outside Moodle  \n• Conversion Process:  \n1. Student Submits Non-PDF Document  \n2. Document Converted By Moodle  \n3. Teacher Annotates PDF  \nCore Converters  \n• Unoconv  \n• LibreOffice  \n• Need To Setup And Manage  \n• Google Drive  \n• Managed Service  \nReplacement Requirements  \n• Privacy  \n• Cost  \n• Scalability & Performance  \n• Management & Set Up  \n$  \nLibreLambda Converter Plugin  \n• Converts Documents To PDF  \n• Conversion Via LibreOffice  \n• Uses AWS Lambda  \nLibreLambda Converter Architecture  \n\n| | AWS Cloud\u003Cbr>Lambda Function |\n| --- | --- |\n| \u003Cbr>\u003Cbr>Input S3 Bucket\u003Cbr>Output S3 Bucket\u003Cbr>(LibreOffice Conversion) |  |\n|  |  |\n\nCost Profiling  \n• Transfer Internet to S3  \n• Put object request: $0.0055 per 1,000 requests  \n• All data transfer in $0.00 per GB  \n• Transfer to lambda  \n• File transfer: free  \n• Get Request $0.00044 per 1,000 requests  \n• Lambda conversion  \n~~ • Invocati~~ons:  \n• First 1M requests per month are free.  \n• $0.20 per 1M requests thereafter  \n• Execution cost:  \n• 400,000 GB-Seconds per month free  \n• $0.00001667 every GB-Second used thereafter  \n• Transfer from Lambda to S3  \n• File transfer: free  \n• Put object request: $0.0055 per 1,000 requests  \n• Per Bucket S3 Storage Cost  \n• Storage Cost: $0.025 per GB  \n• Transfer S3 to Internet  \n• Get Request $0.00044 per 1,000 requests  \n• Up to 1 GB / Month $0.00 per GB  \n• Next 9.999 TB / Month $0.114 per GB (Prices in AUD)  \n$$  \nCost Profiling  \n• Converted 100,000 Documents  \n• Total Cost:  \n• $7.31AUD  \n• Cost per Document:  \n• $0.0000731AUD  \n$$  \nScalability and Performance  \n• Converted 100,000 Documents  \n• Total Conversion Time: ~120 minutes  \n• Time Per Document: ~7 seconds  \n• Running Multiple Threads  \n• No Need To Manually Scale","cbCaieUldb7wypJY","https://ap.wps.com/l/cbCaieUldb7wypJY","pdf",18728600,"English","# PDF Conversion Overview\n## Core Converters and Requirements\n## LibreLambda Converter Plugin\n## LibreLambda Architecture\n## Cost Profiling\n## Scalability and Performance","[{\"question\":\"What is the end-to-end process for converting submitted documents to PDF?\",\"answer\":\"A student submits a non-PDF document, Moodle converts it to PDF outside the Moodle environment, and then the teacher annotates the generated PDF.\"},{\"question\":\"What tools are used for core PDF conversion and why are they operationally demanding?\",\"answer\":\"Core converters listed are unoconv and LibreOffice, with explicit needs to set up and manage them, plus options like Google Drive and a managed service.\"},{\"question\":\"How does the LibreLambda converter approach conversion at scale?\",\"answer\":\"It converts documents to PDF via LibreOffice while using AWS Lambda for execution and S3 for input/output storage, enabling serverless scaling without manual scale-out.\"},{\"question\":\"What performance and cost characteristics are reported for large-scale conversion?\",\"answer\":\"For 100,000 converted documents, total conversion time is about 120 minutes (~7 seconds per document), and the overall cost is reported as $7.31 AUD, i.e., about $0.0000731 AUD per document.\"}]","Converting PDF at Scale - Presented By Matt Porritt | PDF",1790061016,35,[151,155,159,163],{"page_no":8,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/b4bcb0af8028c5578ba69a68aa7329c4.webp",983,553,{"page_no":14,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/8b0bad6062bd6026c09a4062f41b2061.webp",982,552,{"page_no":81,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/0b491a0a5d8f1019b50f8b15b041de78.webp",981,551,{"page_no":19,"url":164,"width":165,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/db9f2b1d4ba5aac9e050234013135193.webp",980]