Storage requirements
-
Hi there,
I am planning on using NodeBB and was wondering how much space would around 10 million posts and 1 million users work out at? As using a VPS can cost a bit (storage-wise) and self-hosted can be relatively cheap, depending how much space the above mentioned will take.
If anybody can help me out with answering that, that would be great. I am in between NodeBB and Flarum, hence the question. I haven't gotten an answer at Flarum about this, though.
Scalability is what I want to know. Resources and performance I can figure out myself, but storage is hard to determine.
Thanks and kind regards,
-
Or if someone can give me the average size of 1 post (in bytes, or KB, or MB, etc) and the average size of 1 user (in bytes, or KB, or MB, etc), that would be helpful.
-
bump
Anybody?
-
Your main post and user object in bytes
>Object.bsonsize(db.objects.find({_key:"post:54280"})); 795 > Object.bsonsize(db.objects.find({_key:"user:9534"})); 513
You can also go to
/admin/advanced/database
to see # of documents, average document size and storage size there. -
@Adam-Poniatowski said in Storage requirements:
Also, thanks for pointing out that directory, that will come in handy
That was actually a url, just FYI
-
@Adam-Poniatowski said in Storage requirements:
Hi there,
I am planning on using NodeBB and was wondering how much space would around 10 million posts and 1 million users work out at? As using a VPS can cost a bit (storage-wise) and self-hosted can be relatively cheap, depending how much space the above mentioned will take.
If anybody can help me out with answering that, that would be great. I am in between NodeBB and Flarum, hence the question. I haven't gotten an answer at Flarum about this, though.
Scalability is what I want to know. Resources and performance I can figure out myself, but storage is hard to determine.
Thanks and kind regards,
700k posts and 24k topics
MongoDB Version 3.0.12 Uptime in Seconds 1,857,623 Storage Engine mmapv1 Collections 7 Objects 7,613,327 Avg. Object Size 314.33 b Data Size 2282.22 mb Storage Size 4013.56 mb Index Size 2261.97 mb File Size 8125.00 mb Resident Memory 466 mb Virtual Memory 17860 mb Mapped Memory 8541 mb REDIS Redis Version 3.0.7 Uptime in Seconds 1,856,844 Uptime in Days 21 Connected Clients 31 Connected Slaves 0 Blocked Clients 0 Used Memory 241.97M Memory Fragmentation Ratio 0.99 Total Connections Received 2,997 Total Commands Processed 6,200,287 Instantaneous Ops. Per Second 1 Keyspace Hits 2,728,703 Keyspace Misses 14,130