...
Having a flash sale or a product launch? Especially if you are launching limited-time pricing or inventory, Aspenware very highly recommends, almost mandates, scaling for these scenarios. We define this as a short period of time where your resort will be driving 300% more traffic to your ecommerce e-commerce site than is typical (i.e. a product launch, a pass sales price deadline, a high volume special event that sells out quickly, etc.) Please take the following steps at least 7 business days prior to the flash sale to notify and work with your Aspenware representative to ensure your site has the proper Azure tier for the sale and product configuration questions answered ahead of the sale.
...
Determine if you need to scale your site.
Determine the specifics of your flash sale and email Aspenware at ski-support@aspenware.com at least 7 business days in advance of any flash sale.
If Queue-it is used, update safety net max user redirects following Aspenware’s confirmation of scaling.
1. Determine if you need to scale your site
If you are unsure whether your upcoming sale will cause performance issues in the shop, check Google Analytics traffic overview filtered by the hour for data from last year's sale. Better yet, if you have Azure Application Insights data for last year, check Metrics in Application Insights filtered by the minute for data from last year's sale.
If working with Google Analytics Data
If you see that the number of sessions for an hour at any hour during the day of last year's flash sale met or exceeded 300 sessions in an the following user counts according to Google Analytics in a single hour, the site should be scaled.
If your site is NOT set up for autoscaling: ~300 users within a single hour
If your site IS set up for autoscaling: Over 500 users within a single hour (especially if these users will “surge” - meaning the majority will hit the site within a 5-20 minute period)
For example, this spike in users would require a scale:
...
This traffic trend for users, however, would not require a scale (assuming this resort had autoscaling configured):
...
If working with Azure log-based metrics data
If you see that the number of sessions for any 3 min increments during the day of last year's sale met or exceeded the following user counts according to Azure data in a single hour, the site should be scaled.
If your site is NOT set up for autoscaling: ~30 users within a single 3 min period
If your site IS set up for autoscaling: Over 200 users within a 3 min period
For example, these spikes this spike in users would require a scale:
...
This traffic trend for users, however, would not require a scale (assuming this resort had autoscaling configured):
...
Each site is set up with a database and app service in Azure to power your site that is cost-effective for your resort to maintain over time. We also recommend implementing autoscaling so that your store can flex with normal increases to traffic. Talk to your Aspenware Service Representative to set this up.
The normal settings can handle a typical load to the site; however, when traffic exceeds a normal load by 3x within a very short period of time, which is usually driven by flash sales, then a higher tier database and/or app service is required to handle the load for the period of the flash sale.
Azure charges by the hourtime increment, rather than by the month, so if your site is scaled up out for a minute, an hour, a day, or even a week, you will only pay the difference of cost between the database tiers for the hours minutes used, rather than for the full month. For example, an S2 database is $.20 per hour, while an S3 a p2v2 database is $.40 per hour. If a flash sale runs 24 hours, the cost of having a performant database (going from S2 to S3 scaling to 2 instances of a p2v2 database for 24 hours) is less than $5$10. The cost is negligible scaling up during a flash sale, but the impact of having a database that can handle your load during the period of a flash sale can make or break the success of your sale. In the event you are on the wrong tier during a flash sale, the worst-case scenario is that the traffic will bring your site down, and the best-case scenario is that the site will have poor performance.
Note |
---|
IMPORTANT: While scaled out, Aspenware Commerce Admin changes will not take immediate effect on the store and can take up to 1 hr to propagate. This increases the importance of testing products end to end prior to any launch events. If in an emergency, a change with admin needs to be made and immediately take effect while your site is experiencing high traffic, you have the following options:
|
2. Determine the specifics of your flash sale and email Aspenware Commerce
Answer the following questions about your upcoming flash sale:
When is the flash sale? (Date and time)
What is going on sale? (The more detail the more we can help brainstorm with you)
What load are you expecting? (Number of users from previous years, etc.)
How long do you want to scale up your database/ how long do you expect the sale to last?
Identify any questions on product setup, requests for support, training, testing, etc.
Please indicate whether you use a Queue-it safety net.
With this information, we can recommend the right database, expected costs, set up product training calls, block out time for support and testing, adjust queue-it, and more. We
We recognize that flash sales are important for your business and having proper product setup and testing support for the products going on sale is important. We are happy to answer any product setup questions, help with configuration, testing, or just be available as you are working to answer questions. If you need any assistance with product setup to prepare for the flash sale, please email Aspenware at ski-support@aspenware.com 7 business days in advance of any flash sale so that we have adequate time to address your product setup questions and needs.
...
If you use Queue-It, please update your safety net max user redirects (throughput) to match with the level your site is set to using the table below BOTH when scaled up AND when scaled back down.
If using standard Aspenware Commerce Login
Application Service Level | Number of (scaled) instances | DB Level | Queue it Max User Redirect |
---|---|---|---|
p2v2 | 1 | s3 | 10 |
p2v2 | 2 | s4 | 20 |
p2v2 (level Queue-it should be set if autoscaling configured)* | 3 | s4 | 40 |
p2v2 | 6 | s7 | 80 |
p2v2 | 10 | s7 | 100 |
* If a store is a multi-store divide this level between the multiple stores. (i.e 30 to store A and 10 to store B)
If using Aspenware Identity Authentication for Commerce
Application Service Level | Number of (scaled) instances | DB Level | Queue it Max User Redirect |
---|---|---|---|
p2v2 | 1 | s3 | 15 |
p2v2 | 2 | s4 | 40 |
p2v2 (level Queue-it should be set if autoscaling configured)* | 3 | s4 | 60 |
p2v2 | 6 | s7 | 100 |
p2v2 | 10 | s7 | 120 |
* If a store is a multi-store divide this level between the multiple stores. (i.e 30 to store A and 10 to store B)