chaitanya

chaitanya

Impact of using LiveView in a cloud environment

Hi,
I am looking at the possibility of using LiveView in my application. Just wanted to understand the impact of LiveView (in terms of cost) for adopting in a cloud environment. In general the cloud vendors (i am looking at AWS) charge the network IO based on number of network calls and the amount of data transferred. In such a case, where Liveview constantly performs network IO from server to client, I am trying to understand if my monthly bill grows multiple folds.

Thank you.

Regards,
Chaitanya.

Most Liked

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

This is only sort of accurate. Live view performs network IO when there are changes to be made, and it pushes only those changes.

More importantly though, network IO is routinely one of the absolute cheapest parts of your cloud infrastructure, at least if the majority of your traffic is HTML. If you’re moving terabytes of data, then yeah, it can start getting expensive, but you could multiply most people’s bandwidth by a factor of 10 and it still wouldn’t be an issue.

Exadra37

Exadra37

While I cannot directly address your question I can point to this tweet, that I came across this morning:

Rewrote an # AWS APIGateway & # lambda service that was costing us about $16000 / month in # elixir . Its running in 3 nodes that cost us about $150 / month. 12 million requests / hour with sub-second latency, ~300GB of throughput / day.

chaitanya

chaitanya

Thank you @Exadra37 for sharing the information. it was helpful for me. The tweet has information related to not only API gateway but also running elixir cluster in aws. i will try to find more information along the path. thanks for your time.

Where Next?

Popular in Discussions Top

matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New
PragTob
Hello everyone, I know we had quite some threads (read through lots of them) about background job processing but it remains a hotly deba...
New
WildYorkies
It seems that the more I read, the more I find Elixir users speaking about all the ways that Elixir is not good for x, y, and z use cases...
New
AstonJ
If a newbie asked you about Phoenix Contexts, how would you explain the basics to them? Feel free to be as concise or in-depth as you li...
New
mbenatti
Following https://github.com/tbrand/which_is_the_fastest |> https://raw.githubusercontent.com/tbrand/which_is_the_fastest/master/imgs...
New
AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31142 143
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
New
100phlecs
Are there any downsides, like perf issues, to putting all functional components in CoreComponents as long as you prefix it with the conte...
New

Other popular topics Top

9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
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
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
johnnyicon
Hi all, I’ve just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I’m trying to use Postgres...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

We're in Beta

About us Mission Statement