parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

How much is it costing $ you guys to host parse server?

Open jasan-s opened this issue 10 years ago • 45 comments

This is more of a discussion question. I would love to hear from people who have deployed parse server. I have looked and mongolab and heroku pricing. it seems it would run in hundreds$$. SInce parse shutdown announcement i have considered firebase but don't like the the non-pointer and querying json structure. Although firebase pricing is quite a bit lower than using mongolab+heroku option. How much is it costing you guys per month to host parse server yourself, and how much were you paying on parse.com.

jasan-s avatar Mar 24 '16 08:03 jasan-s

I am using VPS at local provider in Europe, because AWS price in Europe is like three times higher than US prices and also now the data have to travel smaller distance... I am on Ubuntu 14.04 and setup everything by myself with the digitaloceans guide... I am paing around 120 USD per year for 30 GB SSD storage, 100 Mbps unlimited network and 1 thread Xeon 1.70 GHz... memory is good but I am not sure how much request this CPU can handle...

KudosGuy avatar Mar 24 '16 09:03 KudosGuy

This is something I've looked in to as part of load testing, but only at the high end. My setup is Heroku + mLab (not using the mLab addon as that is more expensive).

I achieved around 600 requests/second split evenly between Cloud Code call, database read, database write, with: 1x Heroku Performance L dyno (has 8 cores, capitalise on this with Throng) = $500/month mLab Dedicated M1 Standard cluster = $180/month Total = $680/month, equivalent Parse.com cost = $5700, so 12% of Parse.com price This was pushing the limits of the hardware but even using 2 dynos and mLab M3 HP we are looking at $1000 + $1390 = $2390 per month, so 42% of Parse.com price.

If fewer requests/second are required then we could drop the dyno type down to 1 Performance M at $250/month but I found these to only have 2 cores, so not the same value as Performance L. The advantage of the Heroku Performance line is that they are dedicated instances, but this is not what we get on Parse.com so we could lower costs by dropping to Standard 1x and 2x at $25/$50 month per dyno respectively. Choosing the Hobby dyno type with mLab Shared Cluster will result in costs of paying tens of dollars per month and there is a free tier on each.

What I've not factored in is the behind the scenes service we get on Parse.com where the team of ops and backend engineers keep things running smoothly with the platform. Building your own setup on AWS is going to be the cheapest but then you have to maintain it. I chose Parse to avoid that. I've not used the support at Heroku but the mLab support is amazing.

steven-supersolid avatar Mar 24 '16 11:03 steven-supersolid

wow , it does seem for a MVP of a product, firebase will be a lot more cost effective

jasan-s avatar Mar 24 '16 15:03 jasan-s

I deployed to app engine. So far as the only user of my app deploying my server 10 times a day, I racked up around 55USD in a month. Luckily I'm using 300dollars in free credits but its still not a good thing. Im hoping the problem is on my side because sometimes app engine/compute engine spins up like 8 instances while remember, Im the only one using my app (Messaging app).

otymartin avatar Mar 24 '16 19:03 otymartin

Disable auto scaling, delete / stop unused versions

flovilmart avatar Mar 24 '16 21:03 flovilmart

Actual $ amounts for comparison will be helpful On Mar 24, 2016 4:01 PM, "Amisalabs" [email protected] wrote:

There is huge cost savings from using Nodechef's managed parse server and mongodb. Nodechef actually uses mongorocks so compressed storage saves you money. Pricing is also cheap when compared with Heroku/mlab for small and big data considering Nodechef provisions containers on bare metal servers.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ParsePlatform/parse-server/issues/1174#issuecomment-201065471

jasan-s avatar Mar 24 '16 23:03 jasan-s

@jasan-s firebase is gonna disappear at some point, Google does this with a lot of their acquisitions.

noder199 avatar Mar 25 '16 04:03 noder199

I am afraid of that as well but for a minimum viable product for an app I am hoping it lasts long enough and hope they offer migration similar to parse.com. I loved parse but with all the comments it seems for a product that still needs validation . firebase is more economical initially. On Mar 24, 2016 9:03 PM, "noder199" [email protected] wrote:

@jasan-s https://github.com/jasan-s firebase is gonna disappear at some point, Google does this with a lot of their acquisitions.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/ParsePlatform/parse-server/issues/1174#issuecomment-201127125

jasan-s avatar Mar 25 '16 04:03 jasan-s

T2 Micro Instances on Amazon AWS and auto scaling with Mlab.com free tier database. It's about $25 a month which is fine for a small usage app. If you're new to Amazon then you get a free years usage on those settings.

harrygt avatar Mar 25 '16 07:03 harrygt

For many apps, the $9 cluster (1 GB database and 128 MB app containers) from Nodechef is adequate. The below example uses a news aggregation app which is doing ~100 req/sec The Parse Server boots at around 65 MB of the app memory so you have around 63 MB left. Most requests read around 30 rows maximum. When rows are batched as in 30 rows to show on a page, they barely exceed 1 KB per row. And when the article is actually displayed, that row does not exceed 32 KB. Since the row has to be in memory before it is transported, you can simply calculate (100req/sec x 1 KB) which is not even 1 megabyte of memory. Note that req/sec is mainly on the database size and Nodechef's SSD and mongorocks setup is fast.

I work at Nodechef and we provide a fully managed Parse Server and MongoDB with the RocksDB storage engine.

Knana avatar Mar 25 '16 14:03 Knana

@Knana thanks for being awesome :trophy:

flovilmart avatar Mar 25 '16 15:03 flovilmart

@flovilmart how do i disable auto scaling on app engine?

otymartin avatar Mar 25 '16 21:03 otymartin

Check the app engine documentation, Python docs on app.yml particularly

flovilmart avatar Mar 25 '16 22:03 flovilmart

@Knana would like to hear more on the fully managed side of things. So if I provided an S3 setup to use with the FilesAdapter you guys could make that happen?

FridaySG avatar Mar 26 '16 04:03 FridaySG

i use two instances of digitalocean, one for the mongodb and one for the app, for files management i used s3, its not costing me more then 40$ a month.

Although i'm working on a postgresql adapter will be using amazon rds.

stephanelpaul avatar Mar 26 '16 13:03 stephanelpaul

@FridaySG as a fully managed service, you do not have to worry about setting up your Parse Server and database. With just one-click you can launch a Parse Server and MongoDB cluster. We handle the entire backend like Parse.com. we track every release of Parse Server and update shortly after it is released. You can certainly use your S3 setup at NodeChef. Please refer to the documentation on configuring external files storage (S3, GCP)

Knana avatar Mar 26 '16 13:03 Knana

Another option is back4app. We are a Parse Server Hosting provider that allows the developers to build and host Parse Server apps with no worries about servers, deployments, etc. You only have to create your app (or migrate an existing one with our 5 min migration wizard) and start doing your requests. We automatically generate and manage your Parse Server and Parse Dashboard. We also have our own dashboard that provides some additional features (like Cloud Code Management) and will provide even more in the future.

You don't have to worry about how much memory or CPU or storage you need. We take care of all your infra-structure and scale your app up for you, like it was in parse.com. There is not req/sec limit. You pay for the total amount of requests per month. The advantage is not paying for the whole month of a complex infra-structure to cover occasional peaks of 600 req/s (for example). You pay for the requests you did, no matter if some time you needed do 600 req/s and other times no requests/s.

Because we are not providing a single server for you, but a hosting solution, we can optimize our servers usage and offer the most affordable plans in the market.

Our FREE plan includes up to 1GB of data storage and 100,000 requests / month forever. It is actually enough for development stage and also for production stage in the case of many apps.

Then you can migrate for one of our paid plans. You can find them here: https://www.back4app.com/pricing/

davimacedo avatar Mar 26 '16 14:03 davimacedo

Please make sure that what ever mongo database service you are using provides backups and scaling depending on the traffic. Last thing you want is your database to die w/o having a backup and the ability to scale or fail over to another mongo instance to keep your app up and running.. Just a FYI

gateway avatar Mar 26 '16 18:03 gateway

@Knana can you provide some more details on your company? How long have you been around and what is your current status ? What i mean is. Why couldnt you just be another "Parse.com", shutting down in a year and we all have to move out again?

Copyrightsworld avatar Mar 28 '16 06:03 Copyrightsworld

@globyworks I do understand your concerns. And they are valid concerns. We are building a platform for the Node.js and MongoDB community and the response has been very positive. We are very confident in this space. I can't tell what will happen a year or two from now but I know we are committed to delivering a solid product and being around for a very long time.

Knana avatar Mar 28 '16 15:03 Knana