5
19 Comments

Small DB for devs - do you want this?

Hey there, trying to do some research on an idea I had. Devs out there - Do you ever need a small DB for a project? If so - where do you go, how much do you pay?

Developers that don't need a small DB - do you decide to hard code your information in the app because you aren't using a DB? (Is this due to cost, ease, or is there another reason?)

I always find myself in situations where some data persisted somewhere would make my life easier in the long run. IE: dynamically pulling information to show on a page, storing email/form data, storing data to use for future calculations, etc.

I guess my question is - if you had the chance to pay a very small amount every month for access to a DB, would you?

on January 31, 2020
  1. 3

    I find Firebase fills this need pretty well and it has a decent free plan. I'll often hard-code information when just prototyping and then later upgrade to Firebase. There might be room for a service that's simpler than Firebase, but I think it will be a challenge to make money. I did notice userbase.com launched recently, which is a simple DB, but they are differentiating by being end-to-end encrypted.

    1. 1

      Thanks for the feedback Gabe! userbase.com is pretty cool. Auth implementation is definitely something that people want to offload. Going to continue doing research in this space but I think there might be a small chance for opportunity(with the right idea) like you said.

  2. 2

    How would that differ from SQLite or PostGres?

    1. 1

      Was thinking more of a DB host, SQLite and PostGres are great solutions! (As long as you have hosting)

  3. 2

    Do you ever need a small DB for a project?

    If I need to support concurrent reads and writes in a distributed environment, I use PostgreSQL. Otherwise, I default to SQLite, which is a file-based database.

    If so - where do you go, how much do you pay?

    When using PostgreSQL, either Heroku Postgres or AWS RDS, depending on my needs.

    Developers that don't need a small DB - do you decide to hard code your information in the app because you aren't using a DB?

    Hard-coding is fine if the dataset is very small and static. If it is an internal or a throwaway project, another option is to persist data to a CSV file.

    I guess my question is - if you had the chance to pay a very small amount every month for access to a DB, would you?

    I already pay around $1.04/day to AWS to host PostgreSQL for me. If you ask whether I'd pay for a managed hosting for a proprietary database, then my answer is the strong NO, because I don't want to get that kind of lock-in for a database, which is the integral part of most applications.

    1. 1

      £1 a day to host postgres is alot 😲.

      1. 2

        That's due to the Multi-AZ failover, where RDS runs two instances of your database. When something goes wrong with the primary instance, it falls back to the standby replica. Thus, it costs twice as much as a database that runs in a single availability zone.

        It's also possible to decrease the cost by purchasing reserved instances.

        1. 1

          Well that definitely explains it then. Very nice 🎉

  4. 1

    Sqlite does the job already.

  5. 1

    I actually create tons of stupid demo's (training others + just learning something new and making sure I understand it...). I can get caught between my work laptop and my personal home PC having two different environments.... anyway I found two awesome "db-as-a-service" freemium sites that I now use with 'fake-data generators': elephantSQL (mysql-based) and mLab (mongo...). I really need to prepare more with files I've imported over and over... but i use http://filldb.info/ or for a simple click-and-export or something to use.

  6. 1

    No, because there is SQLite.

  7. 1

    There is many solutions:
    Writing in a JSON, SQLite, installing PostGres locally or using the free tier of any DBaas.

    As for paying, OVH offers a very low entry price for a very decent DB : https://www.ovh.ie/cloud-databases/

    1. 1

      OVH seems like a great, affordable host

      1. 1

        Indeed! I have a dev VM from them and it's really great.

  8. 1

    I like to use FaunaDB (http://faunadb.com/) for my projects. Small or big ones.

    1. 1

      Did not know this existed. Thanks @Quaresma! I'll check it out

  9. 1

    As @Gabe said, Firebase pricing scales well.

    I've also used SQLite and locally installed MYSQL, MariaDB, Mongo, PostgreSQL, etc.

    Long story short, unfortunately I'm not sure there is a need here.

  10. 1

    This comment was deleted 4 years ago

    1. 1

      oo will check this out, thanks!

  11. 2

    This comment was deleted 4 years ago

    1. 1

      The idea is that this would be used for a small production test. For local development - any local instance of a DB would be fine