How Recrowd uses Neon autoscaling to meet fluctuating demand
Autoscaling ensures optimal performance when traffic peaks, avoiding the need for overprovisioning or manual resizes
“We use Neon for its great autoscaling capabilities. It allowed us to solve a huge problem with simple steps”
Pieralberto Colombo, CTO at Recrowd
Recrowd is Italy’s leading crowdfunding platform, empowering small investors to participate in real estate projects with just a few clicks. They’re committed to transparency and security for its investors, ensuring quality and reliability, and offering investment opportunities from as low as €250.
The scalability dilemma
“When we were using MySQL in Azure, we had to manually upgrade the database during the days of peak traffic and downgrade later in the day, which caused a couple of minutes of downtime. It was also a huge waste of time for our team”
Pieralberto Colombo, CTO at Recrowd
Like it is the case for many applications, Recrowd’s traffic patterns are variable. Right when a new investment project opens, something that typically happens a few times per month, the traffic in Recrowd’s website skyrockets, as thousands of investors request to invest in the new opportunity. These days, the requests to the database are orders of magnitude above average. But it’s precisely at this moment when the database needs to perform at its best to assure a great customer experience.
This is a very common situation that traditional managed databases don’t solve well. When you are required to provision compute instances in advance, you’re essentially forced to make a bet on the level of resources you’ll need to handle your peak traffic. But if your use case involves periods of high traffic followed by longer periods of low activity, you’re faced with a dilemma:
- You can overprovision—in other words, you can choose to always have enough capacity to handle peak demand. This ensures you’re never caught short during high-traffic events, but it’s an expensive approach. Most of the time, you’ll be paying for resources you don’t use.
- Your second option is to manually upgrade and downgrade compute capacity. This is more cost-conscious; you would scale your resources up just before you anticipate a surge in traffic, and scale down afterward. The problem with this approach is that it requires monitoring and manual work. You have to predict and execute the scaling up at the right moment. Also, this manual intervention is not instantaneous—most systems take some time to resize, which may cause downtime.
Scaling up and down automatically: meeting fluctuating demand with Neon
“Thanks to autoscaling, we no longer have to worry about performance during our openings or wasting time resizing instances”
Pieralberto Colombo, CTO at Recrowd
The Recrowd team decided to move away from the scalability dilemma by switching to Neon. Being serverless Postgres, Neon comes with autoscaling, a feature that dynamically adjusts compute resources to match current demand without manual intervention. This makes it seamless to manage traffic peaks without the manual overhead, downtime, or cost inefficiencies.
From a user’s perspective, the process is straightforward and requires minimal intervention:
- Neon continuously monitors the database’s workload. It automatically detects when the current demand exceeds the capacity of the allocated resources, signaling the need for scaling up.
- Once a need for scaling is detected, Neon dynamically adjusts the compute resources, which become available almost instantly. When demand diminishes, resources are scaled down.
- This elastic scaling happens with zero downtime. Applications remain accessible, and database operations continue without interruption.
Users can set autoscaling limits to control how aggressively or conservatively resources are scaled.
Give it a try
“We’re excited for what’s coming up this year at Recrowd. Neon will be our database partner”
Pieralberto Colombo, CTO at Recrowd
If you also have variable traffic, request a Neon Enterprise trial and experiment with autoscaling completely for free for 30 days.
Best of luck to Recrowd as they venture into new territories and continue to disrupt the real estate investment space!