Giter Club home page Giter Club logo

Comments (6)

samirahmed avatar samirahmed commented on August 22, 2024

Its storage, we have about 1 million records that we need to store or the ridiculously priced mongo storage.

I will look into moving to heroku postgres.

from zippopotamus-cloud.

stuartpb avatar stuartpb commented on August 22, 2024

What are the .stats() on your DB's collections?

from zippopotamus-cloud.

samirahmed avatar samirahmed commented on August 22, 2024
{
    "db" : "zip",
    "collections" : 5,
    "objects" : 939063,
    "avgObjSize" : 219.2203334600554,
    "dataSize" : 205861704,
    "storageSize" : 266555392,
    "numExtents" : 28,
    "indexes" : 8,
    "indexSize" : 73379600,
    "fileSize" : 1006632960,
    "nsSizeMB" : 16,
    "ok" : 1
}

from zippopotamus-cloud.

stuartpb avatar stuartpb commented on August 22, 2024

With a 960 MiB database like that, you could fit the DB on a MongoLab "Small" shared plan costing $10/mo (heroku addons:add mongolab:small). If that's too ridiculously priced, you could try optimizing your database's size by reducing the size of your fields (eg. using 'cc' instead of 'country abbreviation') and seeing if that would bring the fileSize to under 512MiB (which MongoLab will host for free with a Starter plan).

from zippopotamus-cloud.

samirahmed avatar samirahmed commented on August 22, 2024

No, sorry for the oversight, that is certainly reasonable. I will move it over to heroku asap

from zippopotamus-cloud.

samirahmed avatar samirahmed commented on August 22, 2024

https://github.com/samirahmed/Zippopotamus-Cloud/blob/c1ded1d2e6eee02dd45e255534bb41b94c1002a8/README.md

from zippopotamus-cloud.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.