How Enigmo Moved Logic from Client to Origin to Edge
Enigmo owns BUYMA, a Japanese fashion C2C marketplace that helps people buy and sell high-quality goods from overseas on www.buyma.com. BUYMA has 8.21 million members and deals with 5.62 million items across 140,000 fashion brands. Its website uses EdgeWorkers to manipulate cookies, a typical use case at the edge.
In 2020, Enigmo decided to use EdgeWorkers for dynamic content delivery. Previously, it set cookies at an origin server to track customer page views, including first visit time, last visit time, affiliate, and referrer.
Reduced latency and consistent performance with edge computing
However, as the business grew, Enigmo had concerns about peak traffic and reconsidered using CDN and serverless computing solutions. Black Friday and Cyber Monday are critical events for BUYMA, and its website needs to use caching for several campaign pages. CDN technology allows BUYMA to provide consumers with a consistent user experience during campaigns, while EdgeWorkers manipulates cookies instead of the origin server.
EdgeWorkers works quickly, providing the client device with responses from an optimal location at the edge. 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.
When the New Year's sales campaign started in January, website offload increased more than 50% compared with non-campaign time. Enigmo wanted to protect the origin during peak times, and EdgeWorkers was crucial to its decision.
DIY development at the edge with EdgeWorkers
As head of the application development group, Kimura-san evaluated EdgeWorkers's approach and discovered that it manages both CDN properties and edge applications separately. From an application management perspective, Kimura-san recommended avoiding code overwriting between the infrastructure engineer and the application developer.
According to Kenji Ozawa, director of service engineering at Enigmo, EdgeWorkers has helped BUYMA provide a specialty marketplace to their customers -- anytime and anywhere.
"To maximize our business, site stability is a critical part of our service strategy. We have been pursuing modern and flexible development environments so engineers can release excellent features on time," said Ozawa-san. "EdgeWorkers is one of those environments, and our team successfully released our first edge application."
EdgeWorkers helps developers at companies like Enigmo write custom logic at the edge. As the browser faces more restrictions when it comes to manipulating cookies, edge computing becomes more important because it acts as a first-party domain. With serverless computing, application developers can obtain a new generation framework to write, run, and manage their own code at the edge. Register your account and start your free trial today at developer.akamai.com.