Enigmo wanted to protect the origin during peak times, and EdgeWorkers was crucial to its decision. When the New Year's sales campaign started in January, website offload increased more than 50% compared with non-campaign time. The following image is a sample report that shows EdgeWorkers's average initialization time as 7.16 ms and average execution time as 0.20 ms. CDN technology allows BUYMA to provide consumers with a consistent user experience during campaigns, while EdgeWorkers manipulates cookies instead of the origin server.ĮdgeWorkers works quickly, providing the client device with responses from an optimal location at the edge. Black Friday and Cyber Monday are critical events for BUYMA, and its website needs to use caching for several campaign pages. However, as the business grew, Enigmo had concerns about peak traffic and reconsidered using CDN and serverless computing solutions. ![]() Because of a business policy about cost-effectiveness, Enigmo didn't use CDN for its www domain, which provides the API and HTML. Reduced latency and consistent performance with edge computingĮnigmo has several domains, and it previously used Akamai's content delivery network (CDN) for static domains that deliver images, JavaScript, and CSS. Enigmo used JavaScript to call the okie API in the browser, then used Ruby to set cookies at the origin, and finally used JavaScript at the edge. The following picture shows how the cookie manipulation logic moved from the client to the server and finally to the edge. Enigmo needed to set cookies for more than a year to analyze customer behavior. According to the latest ITP 2.1, all persistent client-side cookies (i.e., persistent cookies created through a okie API) are capped at a seven-day expiration. But after Safari introduced Intelligent Tracking Prevention (ITP), cookies set by the browser had a limited duration. ![]() Previously, it set cookies at an origin server to track customer page views, including first visit time, last visit time, affiliate, and referrer.Īt first, the browser set cookies using a JavaScript API. In 2020, Enigmo decided to use EdgeWorkers for dynamic content delivery. Its website uses EdgeWorkers to manipulate cookies, a typical use case at the edge. Enigmo owns BUYMA, a Japanese fashion C2C marketplace that helps people buy and sell high-quality goods from overseas on BUYMA has 8.21 million members and deals with 5.62 million items across 140,000 fashion brands.
0 Comments
Leave a Reply. |