Mediamodifier Mockup API Speed Optimization Tips


One of the biggest advantages of our mockup API is the speed!
In addition to being the most customizable API with custom PSD source files and 4000 existing ready-to-use templates, it’s also built to be blazing fast!
However one of the biggest bottlenecks which might be slowing down your render time is the image size, network speed and rendering sequence – so here’s how to tackle these problems:
Case study: Rendering 8 images at the same time and optimizing from 12.4 seconds to 2.7 seconds.
Sending image data with a moderate network speed to a long distance server takes time.
That’s a fact and not a specific API server problem.
If your network’s upload speed can handle for example 2MB of data in 1 second, then 8 requests accumulates to 8 seconds minimum.
This bottleneck depends only on the network’s upload speed on where the request is sent from.
So even in the testing phase it’s important to think about sending the requests rather not from the local machines but from the cloud.
Our API servers are located in the AWS cloud.
For the best network speed it’s recommended to create a staging environment to AWS (or your own service provider) cloud where you deploy the backend and run the requests there.
In the following example we’ve created a test to run 8 API render requests in parallel from our AWS server located in Europe to our production Mockup API server (AWS, region us-east-1).
The request included 1 layer image data with the size of approx. 1.8MB
Here are the results:
—
Render Mockup nr 54227 Parallel 3: 1442.349ms
Render Mockup nr 54227 Parallel 5: 1461.064ms
Render Mockup nr 54227 Parallel 2: 1652.465ms
Render Mockup nr 54227 Parallel 7: 2086.514ms
Render Mockup nr 54227 Parallel 1: 2383.667ms
Render Mockup nr 54227 Parallel 8: 2338.447ms
Render Mockup nr 54227 Parallel 4: 2522.743ms
Render Mockup nr 54227 Parallel 6: 2640.244ms
Render Time in Parallel Total: 2.759s
—
In comparison we’ve made the same request from a local machine with home internet connection via WiFi (upload speed ~15Mbps) to the AWS server in us-east-1:
—
Render Mockup nr 54227 Parallel 8: 3712.163ms
Render Mockup nr 54227 Parallel 7: 5558.287ms
Render Mockup nr 54227 Parallel 4: 5880.342ms
Render Mockup nr 54227 Parallel 6: 5970.981ms
Render Mockup nr 54227 Parallel 2: 7075.924ms
Render Mockup nr 54227 Parallel 5: 7135.513ms
Render Mockup nr 54227 Parallel 1: 12347.047ms
Render Mockup nr 54227 Parallel 3: 12378.730ms
Render Time in Parallel Total: 12.419s
—
Summary: Follow these Tips
- The size of the mockup – big and heavy PSD files render slower. Ideal speed and quality ratio is in the 800-1500px range.
- The size of the images sent to the API – larger images take longer to upload.
- The network speed of the server where the requests are sent from;
- And most importantly: All the render requests can also be sent in parallel at the same time, not in a sequence. So if your use-case requires rendering multiple mockups, then this can also drastically improve your render times because all render requests can be sent out instantaneously without waiting for the previous one to be completed first.
I hope these speed tips have been helpful. If you have any further questions about getting started with our API and how it can boost your online business, be sure to book a demo call with us to learn more.
Recent articles
-
Mockups & Templates Brand New Gift Tag Mockups For Innovative And Realistic Previews -
Mockups & Templates 13 Buyer Persona Templates That Will Make Your Life Easier -
Mockups & Templates How To Easily Create A Clothing Size Chart + 14 Templates -
Mockups & Templates New iPhone App Mockups: 8 Vibrant Digital Marketing Banners -
Marketing Tips Best LinkedIn Image and Video Size in 2023 -
Mockups & Templates 13 New Rollup Mockup Templates Exclusive To Mediamodifier -
Mockups & Templates 11 New Fantastic Packaging Label Templates To Impress Your Customers -
Marketing Tips 10 Reasons To Pay For Professional Mockups -
Marketing Tips How to Sell Digital Downloads on Etsy – The Ultimate Guide -
Mockups & Templates Maximize Customer Loyalty with 12 Awesome Customizable Reward Card Templates -
Marketing Tips Introducing The Guest Post Guidelines For Mediamodifier Blog -
Mockups & Templates 10 New Logo Templates You Can Use For Your Print Company -
Design Tips The Best 7 Colors to Use for Your Social Media Posts in 2023 -
Marketing Tips 4 Useful Tactics That Will Boost Your Website’s Conversion Rates -
Tutorials How to Request a Custom Mockup -
Marketing Tips The BEST Marketing Calendar 2023 + 12 FREE Post Templates -
Marketing Tips The Complete Guide To Image Licenses In Marketing -
Mockups & Templates 10 Awesome Christmas Mockup Templates For Last Minute Marketing -
Marketing Tips Video Ads 101: Do They Work, and How To Use Them? -
Mockups & Templates 16 Corporate Stationery Mockup Templates For Beautiful Previews -
Blog 5 of the Best Design and Mockups Affiliate Programs Compared -
Mockups & Templates 10 TV Mockup Templates For Quick Marketing Images -
Mockups & Templates Free Neon Backgrounds with Instant Download -
Mockups & Templates Must Try: 9 Volatile and Practical Collage Mockup Templates -
Marketing Tips What Is an Employer Branding Specialist, and Do You Need One? -
Design Tips Turn Boring Photos into Artwork with PNG Shadows (50 Free Overlays) -
Mockups & Templates 16 Incredibly Useful Print Mockup Templates For POD Businesses -
Design Tips 40 Free Organic SVG Backgrounds From Mediamodifier -
Blog Affiliate Marketing Trends to Keep an Eye on in 2023 | Affiliate Marketing 101 -
Mockups & Templates The 9 Best 3D Browser Mockups for Previewing Your Website -
Mockups & Templates 10 Clothing Mockups With Models You Should Use For Your Online Business -
Mockups & Templates What Does Mockup Mean? – A Beginner’s Guide to Mockups -
Tutorials Mockup API – The Complete Guide -
Blog TikTok & The Music Industry: The Impact of Viral Content -
Blog 3 Tips to Improve the Quality of a Mockup -
Mockups & Templates 15 Greeting Card Mockups With Flowers -
Mockups & Templates 10 Most Popular Website Screen Browser Mockup Templates -
Marketing Tips 4 Failproof Ways To Make Money on TikTok -
Mockups & Templates 11 Beautiful Poster Mockups To Preview Your Designs and Artwork -
Blog Best Types of Affiliate Marketing Content | Affiliate Marketing 101 -
Mockups & Templates 11 Business Card Mockups For Quick Professional Previews -
Design Tips Can AI Generate a Product Mockup? We Tested All the Tools to Find Out! -
Mockups & Templates Free Podium Backgrounds for a Stunning Product Showcase -
Blog Logo Design 101: 5 Reasons You Need a New One and How to Nail It -
Mockups & Templates iPhone 14 Mockup Templates With Colorful Backgrounds -
News New Feature: Edit Brightness/Contrast of a Mockup Layer -
Mockups & Templates 6 Loungewear Mockup Templates to Showcase Your Apparel Designs -
Tutorials How to Change the Instagram Story Default Background -
Mockups & Templates 21 Logo Mockup Templates Available in the Mediamodifier Generator -
Mockups & Templates 14 Professional Samsung Galaxy Fold Mockup Templates -
Design Tips How to Add Animated GIF to an Image -
Mockups & Templates 33 Beautiful Blanket Mockup Templates to Use Right Now -
Marketing Tips How to Present a Logo to a Client – 5 Useful Tips -
Blog Tips to Achieve Affiliate Marketing Success | Affiliate Marketing 101 -
Mockups & Templates 5 Quiz Templates for Instagram Stories to Boost Your Engagement Fast -
Tutorials How to Use the Mediamodifier Mockup Generator for Free -
News Now Is The Best Time to Invest in Mediamodifier -
Blog How to Get Started with Affiliate Marketing | Affiliate Marketing 101 -
News 6 Instagram Updates You Need to Know About – July 2022 -
Blog What is Affiliate Marketing | Affiliate Marketing 101 -
Mockups & Templates 5 FREE Social Media Templates to Celebrate Pride Month -
Marketing Tips The Marketing Budgets of Big Companies -
Tutorials How to Add a Screenshot to a Computer Screen Stock Photo -
Marketing Tips The Secret to Promoting Your Product with Models -
Design Tips How to Create an Infographic Online With Mediamodifier -
News You Can Now Download SVG Vector Illustration Sets From Mediamodifier -
NFT NFTs: The Good, the Bad, and the Ugly -
Blog 8 Tools to Help You Become More Organized, From a Very Unorganized Person -
Design Tips Need Some Font Inspiration? Try These 5 Fonts Available on Mediamodifier -
Marketing Tips 6 Websites That Will Make It Easier to Stay on Track When Working From Home -
Marketing Tips Make Your Work Easier With These 10 Productivity Tools -
Mockups & Templates How and Why to Use Client Testimonials + 5 Free Templates -
Tutorials How to Make an Online Invoice With Mediamodifier -
Marketing Tips Case Study: This User Creates Etsy Listings In Seconds With Mediamodifier -
Marketing Tips The Best POD Tools for a Successful Print-On-Demand Business -
Marketing Tips Case Study: Etsy Star Seller Increased Their Production Speed by 90% With Our Tool -
Design Tips Improve Design Skills With These 6 Projects -
NFT A Look Into the Future of NFT: What Will the Space Look Like in 10 Years? -
Mockups & Templates 10 Easter Instagram Post Templates That You Can Publish in Seconds -
News Spring Sale: Mediamodifier PRO Annual Plan Now 50% Off! -
Marketing Tips Use These Social Media Job Post Templates to Attract the Best Talent -
Marketing Tips 6 TED Talks That All Marketing Students Should Watch -
Marketing Tips 4 Elon Musk Marketing Tips You Could Apply Today -
Marketing Tips April Fools’ Day Marketing Ideas: 4 Brilliant Ideas [Updated 2023] -
Design Tips The Ultimate Design Cheat Sheet for Students -
News New Feature: Mediamodifier Team Accounts Plan -
Mockups & Templates How to Design a LinkedIn Banner for Your Profile -
Blog Introducing the New Mediamodifier Website -
Marketing Tips 5 Ways Mockups Are The Eco-Friendly Marketing Tools of the Future -
News New Feature: SVG Illustrations Inside the Mediamodifier Design Editor -
Marketing Tips 6 Tips to Get More Clients for Your Small Business -
Marketing Tips 5 of the Best Marketing TikTok Pages to Follow for Inspiration and Advice -
Mockups & Templates How to Preview Social Media Posts Without Publishing Them -
Marketing Tips 6 Tips for Taking Better Product Photos -
Design Tips 5 Celebrities You Didn’t Know Used to Be Designers -
Post Ideas 10 Post Ideas for Social Media in March 2023 -
Design Tips 8 Design Tips for Making a Good Concept Even Better -
Marketing Tips 5 Common Misconceptions About Social Media Managers -
Marketing Tips Improve Your Content With These 6 Tools For Small Businesses -
Mockups & Templates How to Preview Product Packaging Online (Mockup Tool Tutorial) -
Design Tips 5 Principles of Psychology You Can Use to Improve A Design -
Marketing Tips 3 Smart Valentine’s Day Marketing Ideas To Promote Your Business -
News Why You Should Use This WordPress PoD Plugin for Your Store -
Mockups & Templates 20 Valentine’s Day Card Templates (That You Can Use Right Now) -
NFT 3 Reasons to Use an NFT Maker -
Marketing Tips Print on Demand: 6 Easy Steps to Start a Profitable Side Business -
Post Ideas 10 Post Ideas for Social Media in February 2023 -
News This New Feature Makes It Even Easier To Use Our Mockup Editor -
Marketing Tips 5 Smart Ways to Spend Your Marketing Budget -
Marketing Tips Starting a Small Business? 5 Things You’re Forgetting to Do -
NFT How to Use the Mediamodifier NFT Maker -
Mockups & Templates Boost Your Engagement: 9 Instagram Story Ideas -
Design Tips The Best 5 Colors to Use for Your Social Media in 2022 -
Marketing Tips Ultimate Social Media Size Guide [Updated July 2022] -
Showroom Happy Fathers Day Mug Design in a Coffee Much On Sand Beach -
Showroom For Rent Sign in yard Sign Mockup Generator in front of House -
Showroom Sign Design in a Yard Sign Mockup Generator -
Showroom Large Sign Design on a Yard Sign Mockup Generator -
Showroom House Rent Sign in Yard Sign Mockup Generator -
Showroom For Rent Sign Design in Yard Sign Mockup Template
Visualize your design Use a product mockup to showcase your design


Create your design Use our templates to create delightful designs for any medium

