Skew Protection
Conceptual
Skew Protection is available on Pro and Enterprise plans. Those with the owner, admin, member role can access this feature.
Version skew occurs when different versions of your application run on client and server, causing application errors and other unexpected behavior.
Epycbyte's Skew Protection resolves this problem at the platform and framework layer by using version locking , which ensures client and server use the exact same version.
Enable Skew Protection
Projects created after November 19th 2024 using one of the supported frameworks already have Skew Protection enabled by default. For older projects, you can enable Skew Protection in your project's settings.
Select the project in the Epycbyte dashboard Select the Settings tab in the top menu Select the Advanced tab in the side menu Scroll down to Skew Protection and enable the switch
For Enterprise Teams, you can also set a custom duration (see limitations )
Configure Skew Protection
In some cases, you may have problematic deployments you want to ensure no longer resolves requests from any other active clients. Once you deploy a fix, you can Configure Skew Protection with the following:
Select the deployment that fixed the problem in the deployment list Select the button (near the Visit button) Click Configure Skew Protection Click Save to apply the changes
Monitor Skew Protection
You can observe how many requests are protected from version skew by visiting the Monitoring page in the Epycbyte dashboard.
For example, on the requests event, filter where skew_protection = 'active' .
Supported frameworks
Skew Protection is available with zero configuration when using the following frameworks:
- Next.js
- SvelteKit
- Qwik
- Astro
- Nuxt ( coming soon )
Other frameworks can implement Skew Protection by checking if epycbyte_SKEW_PROTECTION_ENABLED has value 1 and then appending the value of epycbyte_DEPLOYMENT_ID to each request using one of the following options.
Limitations
Skew Protection is only available for Pro and Enterprise, not for Hobby teams. Skew Protection is enabled for 12 hours on Pro accounts and a custom duration on Enterprise accounts.
Resources
- Epycbyte Skew Protection
- Read the announcement blog for Epycbyte's Skew Protection.
- Version Skew Learn about version skew in depth from Epycbyte's CTO.