acrolink

acrolink

Amazon Aurora PostgreSQL Limitless Database and Ecto

I am considering using Amazon Aurora PostgreSQL Limitless Database in my next project. There will be very large amounts of data and this solution seems to handle built-in most of the scaling and sharding concerns.

My questions:

  • Any experiences doing this in a Phoenix / Ecto based application ?!
  • Can regular migration files be used ?!
  • Any general thoughs on this ?!

Thank you.

First Post!

garrison

garrison

I have not used Aurora, but I believe they are quite compatible with Postgres (last I remember it’s a fork with a new backend - maybe different now), so you should be able to use Ecto with no issues.

I do remember seeing a post on here about weird latency characteristics with Oban using Aurora - I don’t remember if they sorted it out or how big of a deal it was, but you could search for it.

Most Liked

VictorGaiva

VictorGaiva

In general, I personally would avoid going to fully managed “customized” solution as it could result in vender lock-in, which is kind of AWS’s whole business model.

It usually costs very little when starting, and it might actually cost them money to provide you the service, but ends up costing a whole lot more if you get to scale pass a point, where they end up getting back their money.

That being said, if you don’t plan to scale past a certain point and is not worried about possibly having to migrate to another service when they inevitably increase their pricing, you should be good.

garrison

garrison

I agree about AWS/Cloud in general but this is managed Postgres so you can always take your backups and run. Postgres is quite possibly the only database left that we can say for certain won’t be rugpulled, which is why we all use it!

acrolink

acrolink

@VictorGaiva .. I agree, seems better to implement and manage sharding at application level so I can avoid vendor lock. This way, I can still use regular migration commands for Ecto.

Besides that, to even start using the Amazon Aurora PostgreSQL Limitless Database, there is a minimum requirement of running 16 ACU / Hour service, which is around 2,200 USD / Month! To just start using managed sharding :slightly_smiling_face:

Where Next?

Popular in Questions Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

Other popular topics Top

Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

We're in Beta

About us Mission Statement