At a glance

Midoin-Blue-Icon-1

Midoin is the first digital coin that can be mined on any mobile device. These digital coins are mined by clicking inside of an app without requiring expensive, energy-inefficient servers. This makes Midoin more accessible and environmentally friendly than cryptocurrencies.

Yugabyte-Midoin

Midoin’s development teams were having frequent problems scaling writes with their legacy solution, PostgreSQL deployed on Heroku. They needed a write-scalable, PostgreSQL-compatible database with minimal operational overhead, so they could spend more time building the application.

Midoin-Blue-Icon-3

Midoin switched to Yugabyte Cloud because it gives them the peace of mind to scale writes to accommodate almost any amount of traffic – both now and in the future – without the effort required by monolithic databases such as PostgreSQL.

Midoin is money, reinvented. It’s the first digital coin that can be mined on any mobile device.

Midoin screenshots

Users mine Midoins in the Midoin app on their Android or iOS devices. Mining is as simple as tapping a button – no special technical knowledge or expensive equipment is required. As a result, Midoins are more fair and accessible than cryptocurrencies. And even better, users don’t have to invest a lot of money to get started.

Mining Midoins is much more energy efficient, too. Cryptocurrencies are intentionally inefficient to mine as servers consume enormous amounts of energy. And since Midoins are mined by tapping in the app, value is given to human effort and time instead of electricity consumption.

The app not only lets users mine Midoins, but also connect and socialize with other members of the Midoin community as well as send Midoins to each other instantly. It makes digital currency fun, fast, and easy to use.

Icon: Yugabyte Library Requirements

Key Database Requirements

Midoin’s application is write-heavy. The development team managed to scale the reads on their original PostgreSQL database on Heroku by adding read replicas, but they were unable to scale it horizontally to accommodate the increasing number of users. As a result, Heroku would hit a vertical scale wall at the highest number of nodes whenever a rapid increase in database writes per second occurred.

Midoin was looking for a highly available, PostgreSQL-compatible database that could scale writes to keep up with the aggressive needs of their application.

Key requirements included:

  • High availability
  • Write scalability
  • Compatible with PostgreSQL
  • Hosted solution
  • Minimal operational overhead
  • Integration with Hasura preferred

Yugabyte Solution

Xignite-Icon-1-R2

Fully managed YugabyteDB cluster comprised of 4 nodes with 4 xlarge cores/node

Midoin-Icon-2

Single availability zone (AZ)

Midoin-Icon-3

Deployed on AWS

Technical Results

8 billion

operations per day

1TB

dataset size

< 20ms

read/write latency

It’s not easy to explain how much more relaxed I am having the ability to scale fast with Yugabyte Cloud. When I was using Postgres on Heroku, I could scale up to a point but no more than this. I had a barrier in front of us that I couldn’t overcome. I just couldn’t. I don’t have that barrier with Yugabyte Cloud. I am much more relaxed now.

Petros NinosFounder,
Midoin