...
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 a flash sale as a short period of time where your resort will be driving 300% more traffic to your 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.
Note |
---|
IMPORTANT: If you determine that autoscaling (detailed below) is not sufficient to handle your upcoming sale, working with Aspenware to further scale your Azure resources for a temporary period will incur /wiki/spaces/DB/pages/768704654 fees. (typically between 1- 3 hrs) |
Prerequisite Checklist
Get your Azure environment set up for autoscale (will cover you most of the time)
Determine if you need to scale your site for this event by looking at data and answering key questions.
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. Get your Azure environment set up for autoscale (will cover you most of the time)
HINT: If you aren’t already set up for auto-scaling in Azure, you should be. Talk to your Aspenware Representative about configuring this in Azure along with alerting today. However, there are some situations where even auto-scaling doesn’t cover you. This article highlights scenarios where you should be considering Azure intervention beyond auto-scaling for specific very high traffic events.
Prerequisite Checklist
Determine if you need to scale your site by looking at data and answering key questions.
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.
...
Work with your Aspenware Representative to complete the following
Add Auto tuning on your Azure Sql db
Ensure Application Insights is configured properly
Configure autoscaling and alerts at the level you would like around scaling events
We recommend a p2v2 App Service, an s3 db with autoscaling moving between 1 - 4 App Services depending on load
Once configured with Aspenware, set up your Queue-It safety net between40-60 max redirects (users per minute). This should cover you most of the time.
2. There will be a few outlier events where you’ll need additional Scaling. Determine if you need to scale your site for these events.
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.
...
Am I putting a highly sought-after product on sale and announcing a specific start time to a large group of customers? - If yes, there is a strong case for scaling. If no, proceed to the next question.
Info |
---|
NOTE: Auto-scaling may fall short in this surge scenario because it takes about 5 minutes for the Azure scaling to “catch up.” If 90% of your traffic is all going to hit in the first 5 minutes of the sale, then manually scaling Azure prior to the sale would definitely be required. An alternative option to announcing a specific time, which usually requires manual scaling, is to announce a specific date. That spreads the traffic throughout the day and will likely be handled fine with auto-scaling. |
Are there hard inventory caps or limited-time pricing offerings that are expected to sell quickly or drive high demand? - If yes, there is a strong case for scaling. If no, proceed to the next question.
Are you in an environment where there are many unknowns and this sale is HIGHLY important? If this sale is very important and you would like the security of being overly prepared, consider scaling, however, auto-scaling is also a great assurance in this scenario.
What do I scale? My DB, my App Service, both?
...
Note |
---|
IMPORTANT: While scaled out, Aspenware Commerce Admin changes will not take immediate effect on the store and can take between 1 hr and 24 hrs 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:
For more details on various admin changes and how long different change types take to propagate in a scaled environment, check out this Release Guide. |
...
3. 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? (Send data from section 1 above)
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.
...
Aspenware will send a calendar invite to note when we are scaling your site up with the new Azure levels indicated as well as a calendar invite to note when we are scaling your site down with the baseline Azure levels.
...
4. If Queue-It is used, update safety net max user redirects for flash sale
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 (users per min) | |||
---|---|---|---|---|---|---|
p2v2 | 1 | s3 | 10-50 | |||
p2v2 | 2 | s3 | 20 | |||
p2v2 (level Queue-it should be set if autoscaling configured)* | 3 | s4 | 40 | |||
p2v2 | 4 | s4 | 80 | |||
p2v2 | 6 | s4 | * If set up to autoscale in Azure, you can leave Queue-it between 40-60 | 1-4 | s4 | 10-79 |
p2v2 | 5-6 | s4 | 80-100 | |||
p2v2 or p3v2** | 67+ | s4+ | >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 you’d like to scale beyond 100 users per minute, please contact Aspenware.
Note |
---|
IMPORTANT: If using |
...
Identity |
...
Application Service Level
...
Number of (scaled) instances
...
DB Level
...
Queue it Max User Redirect (users per min)
...
p2v2
...
1
...
s3
...
15
...
p2v2
...
2
...
s3
...
40
...
p2v2 (level Queue-it should be set if autoscaling configured)*
...
3
...
s4
...
60
...
p2v2
...
6
...
s4
...
100
...
p2v2 or p3v2**
...
6+
...
s4+
...
>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)
...
for Commerce Authentication, these values can be 20-40% higher than if using Aspenware standard authentication. |
HINT:
For more details on scaling considerations, check out this Release Guide.
For more details on Queue-It, check out this Release Guide /wiki/spaces/AIKB/pages/743735512.