INTRODUCTION
Simplifying the omnichannel complexities
REWE is a supermarket chain in Germany and the main brand of REWE Group. The retail giant operates over 3,000 supermarkets and over 5,500 other stores in Germany alone, and a total of over 12,000 stores across Europe, it serves around 12 million people a day at its grocery, DIY and gardening supplies, and travel outlets.
As one of Europe’s leading trade and tourism groups, REWE sits at the leading edge of progress and developments relating to wholesale and retail trade, food, sustainability, business, digitization, and tourism. Headquartered in Cologne, it is Germany’s second-largest supermarket chain, and the country’s leading e-food operator.
Built using experience gained by REWE’s delivery and pick-up service, fulfillmenttools, a spin-off of REWE, provides a software as a service (SaaS) solution that connects online and store-based businesses of retailers through a fully fledged Omnichannel Fulfillment System. It handles all processes, from order distribution, supporting in-store processes, inventory management, shipping to the customer and returns, digitally. Retailers benefit from more efficient and flexible fulfillment processes, improved resource utilization, and shorter delivery times.
“We provide innovative and easy-to-use software tools that simplify the complexities of omni-channel fulfillment in retailing,” explains Tim Dauer, Vice President, Technology at fulfillmentttools. “We provide fulfillment solutions for chain stores, but also in general for omni-channel retailers that operate both online shops and physical branches.”
THEIR CHALLENGE
Handling more complex queries
fulfillmenttools is building a powerful API first developed platform, accompanied by an Android native app as well as web-based clients. It operates in the cloud as a SaaS application. Its database needs were originally handled by Firestore on Google Firebase, and while this met many of the early requirements set by fulfillmenttools, such as enabling a rapid time to market, problems began to emerge.
Backups could only be carried out through database dumps, leading to risks of inconsistency that the business wasn’t willing to take. A second problem was the developer experience; Firestore’s software development kit (SDK) was limited, and even relatively simple database management tasks were time-consuming and hampered by tooling issues. A third issue was the development time needed to index database queries.
“During the development phase you needed to know what queries were likely to be requested by customers during live operation,” explains Dauer. ”If, for example, I wanted to sort orders by date and then by customers in a certain zip code, I would have needed to build this index ahead of time. At that point it was clear that Firestore and its current range of features wasn’t working for us.”
If fulfillmenttools was to achieve its ambition to become the leading provider in omnichannel fulfillment, it needed a database that would provide solutions to all these issues, and also deliver speed, strong connectivity, a quick ramp-up, and the ability to handle complex queries.



