Article
post image

Mobile app backend

Ivan Iliev, November 25, 2020

The problem

Create a scalable and reliable feature-rich backend infrastructure for a plant identification mobile app that uses one of the largest image classification ML models in the world. The backend solution should be able to handle swiftly changing active users of the mobile app.

The solution

REST API in PHP and MySQL database.

The result

With this infrastructure we guaranteed availability for hundreds of concurrent requests and tens of thousands of active users without any performance impact.

Tech stack

Amazon AWS
AWS

PHP
PHP

MySQL
MySQL

Laravel
Laravel

Redis
Redis

Elasticsearch
Elasticsearch

Amazon AWS
CloudFront

Amazon AWS
Lambda

JSON
JSON

During marketing campaigns, we had to handle increases of up to 10 times in active user count.

PlantSnap Dev Team Lead

During the first stage of the project auto scaling EC2 instances in AWS with an autoscaling MySQL cluster in RDS were used. The database was later migrated to an Aurora MySQL autoscaling cluster. The API was migrated to AWS Lambda to be able to handle instant changes in the active users.

Other features

Error logging

Alarms

Anomalies detection

Anomalies notifications

Subscribe to our newsletter!

Get more articles like this and industry insights

Share this article:

Read more articles:

title

Augmented reality experience

For an existing mobile app the customer had a requirement to include augmented reality features.

Read more

Ivan Iliev

November 29, 2020

title

Huawei HMS integration

The problem An existing Android application needed to be ported to use Huawei Mobile Services (HMS). The solution Replace all Google Mobile Services with their Huawei Mobile Services alternatives. the result We were able to successfully integrate all required Huawei Mobile Services. The app is now fully functional with Huawei Login, Huawei Analytics, Huawei In-app […]

Read more

Ivan Iliev

November 29, 2020