KrakenD framework joins the Linux Foundation. Read more.
Hepsiburada is the largest and fastest-growing e-commerce platform in Turkey and the top 5 in Europe. With over 150 million monthly visits and over 50 million product variations in mobile phones, cosmetics, consumer goods, fashion, and more, Hepsiburada is a business and technology leader in Turkey.
A company of such dimensions as Hepsiburada had several challenges before choosing KrakenD as their API gateway solution:
KrakenD acts as Kubernetes ingress controller, even that KrakenD is not actively vendored as an ingress controller. The API gateway can receive all the incoming traffic through a NodePort. KrakenD is then plugged into internal services to offer several APIs using the micro frontend pattern, using VoltranJS (an open-source project by Hepsiburada).
Ten autonomous frontend teams write their use cases on independent KrakenD deployments. Each group of engineers operates its KrakenD instances as a Backend For Frontend (BFF). KrakenD aggregates responses amongst the very different Hepsiburada’s catalog of microservices, and pick those fields that are relevant for the micro frontend usage.
KrakenD becomes a handy and easy to implement solution for frontend developers who are implementing the micro frontend pattern. KrakenD sends over the internet the information needed and saves bandwidth to the end-user by not delivering everything else that is available on their services.
In addition to BFF, to reduce the pressure on microservices and speed up even more responses, KrakenD’s HTTP-cache feature is used intensively.
The microservices no longer need to implement shared concerns, and non-business features are offloaded to KrakenD API Gateway. Security, authorization, rate-limiting, access management, logs, and other vital pieces are in a single place.
Today KrakenD runs in approximately 800 Docker containers summing all Hepsiburada’s Kubernetes clusters
According to Alper Hankendi’s calculations -the Engineering Director at Hepsiburada- the usage of KrakenD in the company has around 800 Docker containers in total, distributed in 2 Availability Zones x 2 Kubernetes environments x 10 Frontend Teams x 20 Containers each.
KrakenD deploys in a multi-region environment, and since the API gateway has no state, it can scale linearly. Developers use the GitOps principles, and automated pipelines are responsible for pushing changes into each Kubernetes environment and roll out the product. As the containers are very lightweight, the time to production is swift.
Hepsiburada chose KrakenD for several reasons, both technical and organizational. The following benefits have been outlined by Hepsiburada to us.
Hepsiburada, the technology leader in Turkey, has decreased the complexity of dealing with microservices. All teams are autonomous and can easily change their microservices as the client is not coupled to the backend services, plus internal concerns are hidden to external clients.
So far, the engineering team is delighted with the results obtained by KrakenD, and they are looking further to use even more functionalities.
KrakenD is the best API Gateway and has helped us reduce the complexity of dealing with 500 microservices.
Hepsiburada launched its marketplace platform in mid-2015, integrating major merchant brands to its platform to provide superior service competitive differentiation. Over the last decade, Hepsiburada has achieved an impressive track record, growing its revenues more than 25 fold while maintaining profitability. Hepsiburada has been a pioneer in growing the online retail space in Turkey with a strong focus on offering the widest product selection available and improving customer experience by providing value-added services such as same-day delivery. It is also the country’s first online retailer to launch the One-Click Pay service, allowing customers to make swift online purchases using express check-out functionality.
Hepsiburada recently expanded its ecosystem with new subsidiaries such as Hepsijet, a delivery company bringing an innovative perspective to the logistics industry; Hepsipay, a digital payment services provider; Hepsiexpress offering grocery delivery directly to the customer door at their desired times; HepsiAd, an advertisement platform for brands; Hepsiglobal, providing the opportunity to become a global player through e-export and many more to their stakeholders.
Hepsiburada is the largest and fastest-growing e-commerce platform in Turkey and is one of the top 5 fastest growing e-commerce companies in Europe, according to Internet Retailer. With over 150 million monthly visits, the platform offers its customers the widest product selection, availability, best pricing, and delivery to make their lives easier: over 50M product variations in more than 35 categories, including mobile phones, cosmetics, consumer goods, and fashion.
Hepsiburada was recognized as the Favorite E-Commerce Site in 2011, 2012, 2013, E-Commerce Site of the Year in 2014, and recognized as one of the Superbrands Turkey. Hepsiburada is the largest e-commerce player in EEMEA and Russia in terms of revenues and is one of the top 5 fastest growing e-commerce companies in Europe, according to Internet Retailer.