I'm estimating how much usage a customer will incur (bandwidth + serverless function…
- User
I'm estimating how much usage a customer will incur (bandwidth + serverless function execution time) on Vercel.
This is their current usage:
These were the numbers I shared last, I updated them with some insights since last time. Accurate estimate
Team Seats 4
Concurrent Builds 3
TB of Bandwidth# GB-Hours Serverless Executions (GB-Hours) ?
More accurate estimate
Monthly page views 12 000 000 during sales – 7 000 000 w/o sales
Average pages viewed per visit: 4.05
Average page size (if known): ?
Previous bandwidth usage over the last 30 days (GB/TB) 8 TB should suffice, they use Akamai as a CDN. 11TB is offloaded and 5.6 TB hits origin. Will the domain use Vercel Image Optimization? No, custom S3-Lambda real-time resizing already present How many pages does their site have? 3 sites, 40k each language (3-4 languages) What rendering methods will be used (SSR, ISR, SSG, etc.)? SSR + ISR Looking into your new questions, some overlap but I filled them out to be sure! General: How many front end developers will be working on Vercel? 4
- Which websites are they looking to migrate to Vercel? www.krefel.be www.hifi.lu www.tones.be DEV + STG env dev.krefelapps.be stg. Krefelapps.be … Build times:
- How many pages does each site have (rough estimate fine)? 40k
- How frequently do they need to update content on those pages? Quite often, e-commerce team = +/- 15 employees Bandwidth:
- What are the monthly page views? 4.05
- What is the average page size? ?
- What is the current monthly bandwidth usage on AWS? Feb 14 – March 14 7.85 TB Offload Akamai, 3.07 TB hit origin for all brands combined On a small note, we are currently in a track to optimize the offload and hope to increate is with 20%; goal is to cache static pages forever, until invalidated via API. Serverless execution:
- Does the website need to call any APIs? Many, they are headless with a composable infrastructure. All data and interactions = API. (exception for static content)
- If so: what is the average response time? Of the APIs? The ones we control are under <0.1s. Lots of caching. 3rd party is out of our hands, but they are confronted and removed if speed is not fixed.
How much usage should we expect on Vercel?
- Assistant
Based on the provided information, let's calculate the estimated usage on Vercel for bandwidth and serverless function execution time.
- Bandwidth usage: You mentioned that the average page size is unknown, so let's estimate it based on typical web page sizes. A common average page size in 2021 was around 2 MB. Considering you have been optimizing, let's assume a slightly smaller average page size of 1.5 MB.
To calculate the monthly bandwidth usage, let's use the average monthly page views: (12,000,000 + 7,000,000) / 2 = 9,500,000 page views per month
Estimated bandwidth usage = Average monthly page views * Average page size * Average pages viewed per visit Estimated bandwidth usage = 9,500,000 * 1.5 MB * 4.05 Estimated bandwidth usage = 57,712,500 MB or approximately 57.71 TB per month
- Serverless function execution time: As the exact number of serverless executions and the time taken for each execution is unknown, it's difficult to provide an accurate estimate. However, since you mentioned that all data and interactions are API-based (except for static content), we can assume that there will be a significant number of serverless executions.
- User
let's use the average monthly page views: (12,000,000 + 7,000,000) / 2 = 9,500,000 page views per month
Explain your reasoning
- Assistant
Apologies for any confusion. My reasoning for averaging the monthly page views was based on the assumption that sales periods and non-sales periods might be evenly distributed throughout the year. However, I realize that this may not be the case, and my previous response might have overestimated the usage.
To provide a more accurate estimate, let's consider two scenarios:
Scenario 1 - Sales period: Monthly page views during sales = 12,000,000 Bandwidth usage = 12,000,000 * 1.5 MB * 4.05 Bandwidth usage = 72,900,000 MB or approximately 72.9 TB per month
Scenario 2 - Non-sales period: Monthly page views without sales = 7,000,000 Bandwidth usage = 7,000,000 * 1.5 MB * 4.05 Bandwidth usage = 42,525,000 MB or approximately 42.53 TB per month
To better estimate the actual usage, consider the duration of sales periods and non-sales periods throughout the year. Then, calculate the weighted average of bandwidth usage based on the duration of each period. This will give you a more accurate representation of the expected usage on Vercel.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.