Resources

Revving up the data engine: powering connected vehicles with MongoDB and AWS

  In the ever-evolving landscape of connected vehicles, rapid accumulation and analysis of data have become the driving force behind innovative mobility solutions. Enter modern developer data platforms, like MongoDB, offering a turbocharged experience for developers seeking to harness the full potential of connected vehicle systems. The time for disconnected vehicles is over. People are looking for smarter products that deliver exciting customer experiences where users can start a task on one device and continue it on the next, creating a seamless digital thread between products. In this talk, designed to accelerate your application from factory to finish line, we will navigate through the fascinating realm of connected vehicles, with a focus on must-have features, including high-speed data ingestion, automatic synchronization between user applications and the vehicle, and advanced query capabilities. Strap yourself in for an exciting conversation that will: Explore the current connected vehicle landscape, including strategies for navigating the industry’s biggest challenges Unpack how MongoDB's document-based model, together with cloud deployment on AWS, helps you tap into the potential of connected vehicle data Feature a demo of MongoDB Atlas, Realm, and Atlas Device Sync that provide you with the building blocks to build connected products quickly and show you how easy it is to integrate with the AWS cloud ecosystem.

Watch presentation →

Ascend Group reaches new heights with real-time scalability

Formed in 2014 as a spin-off of communications conglomerate True Corporation, Ascend Group is an e-commerce specialist headquartered in Bangkok. The rapidly growing group recently launched affiliates in the Philippines, Indonesia, Vietnam, Myanmar, and Cambodia. The Ascend Commerce subsidiary specialises in e-commerce, logistics, and procurement, and its DevOps and site reliability engineering (SRE) team is responsible for developing and managing numerous e-commerce websites. “Every day brings different challenges,” says Sachin Yadav, head of DevOps at Ascend Group, speaking at the MongoDB.local event in Bangkok. “My team of 40 works on multiple projects – some in e-commerce, some in logistics. The team works mainly on how to automate processes while ensuring that systems are reliable and fast enough to avoid lagging.” For Sachin, data is the critical aspect of any e-commerce system – and of primary importance is the speed at which data can be delivered to end users. We think five years ahead,” says Sachin. “An RDBMS may be fast enough today, but when your customer grows to maybe 10,000 requests per minute, you realise that whatever architecture you’re building also impacts how your application grows. It was this forward-thinking approach that led Sachin to non-relational databases, and to MongoDB in particular. “We certainly need to think about what the best architecture is for data modelling,” he adds. “Our developers are fascinated by the speed at which you can work with NoSQL and MongoDB.” With Ascend Group operating as an IT and software hub for multiple different companies, the use cases for MongoDB are varied and demanding. From handling last-mile deliveries for Thai grocery giant Lotus, to managing the online mobile phone store for True, MongoDB is an increasingly important part of Ascend Group’s stack. The business took MongoDB to the next level in 2020 when it switched from a self-managed instance to MongoDB Atlas. In e-commerce environments characterised by sharp spikes in demand when, for example, a new iPhone is launched, it was a logical choice. “We are in an era of saving costs, but at the same time you have to provide the same levels of speed and reliability to end users,” says Sachin. “MongoDB Atlas helps to scale up quickly and on demand. We can auto-scale storage and clusters, and also have zero-downtime auto-scaling.” MongoDB is also allowing Ascend Group to drive real-time analytics, which is proving highly valuable for Lotus’s Go Fresh same-day delivery offering. “Most Go Fresh products have short shelf-lives, so you need sales data available to plan inventory for the next day,” says Sachin. “We use multiple secondary nodes in MongoDB Atlas which don't impact our production workloads, so we can meet the demands of businesses and enable data-driven decisions in real time.”

Watch presentation →

KBank successfully migrate data from 16 databases with minimal downtime

  MAKE, by KBank in Thailand, is a banking application featuring the categorization of transactions, receipt of monthly expenditure summaries, and a unique savings technology called "cloud pockets." Nicha Rojsrikul, Innovation Engineer, KASIKORN Business Technology Group, presented at MongoDB.local Bangkok, sharing the app’s migration from self-hosted community edition of MongoDB database to MongoDB Atlas, the SaaS offering of MongoDB. A move prompted by the community edition reaching its end of life, and the manpower required to update and maintain it in-house. Atlas, by contrast, came with low effort upgrading, detailed metrics and a support team. The team’s recommendations for migration were summed up as follows: ** ⁃ Use live migration   ⁃ test with copy of production data first   ⁃ Split or delay migration if necessary ** Here’s the step-by-step guide: 1) Know your system MAKE had 16 MongoDB databases to migrate, and most of them were less than 10 gigabytes. Only two databases were larger than 100 GB. As a banking app, security was key, meaning the migration would have to run within the VPC network. 2) Do your research a. Migration tools MAKE considered 3 tools: ** ⁃ mongodump and mongostore : a common-line tool for breaking up MongoDB could also be adapted to migrate data. Although simple, it involved downtime.   ⁃ mongoimport and mongoexport: generates human readable data, like JSON, CSB, or TSV, instead of binary backup. Simple to use, has an extra data filtering function, but is slower than mongostore.   ⁃ mongomirror : an official tool needing no downtime. If set up for VPC peering, either the peer's VPC CIDR block (or a subset) or the Security Group pf the peer VPC. ** MAKE choose mongodump and mongostore. b. Verification tools ⁃ dbHash : an application command for MongoDB that calculates checksum.   ⁃ GoDriver : having previously used GoServer, MAKE decided to update to the then latest GoDriver 1.10 3) Prepare for migration a. Preparing target databases MAKE had to create a VPC peering connection between MongoDB Atlas and Google Cloud Platform. After that, the MongoDB clusters – using higher than needed clusters for quicker migration. b. Preparing the system A simple upgrade of MongoDB Driver on MAKE’s system was followed by a regression test and performance test. c. Preparing the scripts To make the migration easier, a simple script was created that could run with different param files, enabling them to simply provide parameters such as file to read, database and number. This eliminates the need for 16 separate scripts, thus accelerating migration. d. Testing the scripts Nicha recommends testing with production data and gathering information like system metrics, CPU usage, memory usage, and storage usage for troubleshooting purposes along the way. 4) Migration and deployment With 16 databases to migrate, and customers waiting to use the app, simplicity and minimum downtime were key. MAKE had two cloud engineers run migration on two separate databases simultaneously. For large databases, such as the 126 GB log database and the 100GB transaction database, each was first duplicated on a higher performance node and then migrated from there to take advantage of the higher IOPS. Once all data had been migrated successfully, MAKE connected its service to the new database, tested the system, and proceeded to deployment. Now, the MAKE banking app is running all its migrated services on the new MongoDB Atlas database.

Watch presentation →

AirAsia flies Superapp into the cloud

AirAsia is a Malaysian low-cost airline that operates domestic and international flights to more than 165 destinations in 25 countries. It is the largest airline in Malaysia by fleet size and destinations served. AirAsia Launched Superapp in October 2020. The mobile app for Android and Apple originally focused on flights and related services, but as the Covid-19 pandemic severely restricted international travel, it was clear that AirAsia needed to broaden its scope. Adding services such as food delivery, taxis, and hotels to Superapp proved to be highly successful. To date, the app has been downloaded 40 million times, with 13 million monthly active users, and 15 product and service offerings. “Most of our services are on Google Kubernetes Engine (GKE), so everything we run is in containers,” says Danial Hui, Head of Software Engineering at AirAsia at MongoDB.local Kuala Lumpur. “For Superapp and the AirAsia.com website, all our applications are connected to APIs and microservices.” With Superapp’s rapid rise in popularity, the previous database’s scalability and quota limits were causing problems. “Superapp is really a collection of apps that work quite differently and have different database needs. We switched to MongoDB because it has integration and geospatial functions that work very well for us,” adds Hui. “Most of our microservices are now on MongoDB. It’s flexible, it’s agile, and it complements our microservice architecture.” “ We realized that as a growing company, we might not be able to invest so much energy, skill sets or resources into managing MongoDB,” Hui explains. “That was one of the main drivers of why we went for MongoDB Atlas.” Time to market was also an important factor. With AirAsia looking to scale to five countries in 15 months, representing a 1,000% growth rate, being able to automatically set up multiple clusters in different countries was a substantial benefit. Another key feature that attracted Hui was the multi-cloud capabilities of MongoDB Atlas. AirAsia’s cloud provider of choice is Google Cloud Platform, but in territories where demand for resources can be unusually high, such as Singapore, the ability to switch to AWS has been highly advantageous. “The multi-cloud aspect of MongoDB Atlas is excellent; it works seamlessly,” concludes Hui. “We only use it when we absolutely have to, but it ensures that we never have any issues.”

Watch presentation →