soykai

soykai

Hey y’all!
I’ve been learning and using LiveView for small personal projects for a couple of weeks now and it’s been absolutely brilliant. But I am hesitant to use it in production, because it’s only in version 0.13 and the api might have breaking changes in the future. So it would be very interesting to know, if there’s an official, or inofficial, roadmap of features that are missing, or a very broad date, when the api is going to be mostly done. :slight_smile:

First 10 of 10 Posts Switch mode

josefrichter

josefrichter

I don’t have direct answer, but in my experience, tons of packages in elixir world are in 0.x versions and stay there often “forever”. Because they simply work and there’s no need for major change anymore. I had the same perceptions as you, but it seems to be just different way of looking at things here.

dimitarvp

dimitarvp

I think that’s simply the lack of motivation to commit to a long-term stable API once most of the initial bug reports and feature additions are completed.

seb3s

seb3s

Hello,
I’m already using it in production for a small trello application. I would say that, after your tests, if you think it would fit your needs, just go ahead and use it :wink:
The api has already had some time to get matured and if it changes, just adapt. Would be the same anyway going from a V1 to a V2 of some other libraries…

Exadra37

Exadra37

I am developing an MVP with Live View, but before I full commit to use it for production I will be doing some real world testing.

So before you go ahead try to use your app in commute journeys and see how it behaves in the real world with real world bad connectivity.

Also bear in mind that your users may not have devices so performant like yours, therefore if you have old devices use them instead for your real word test.


Also, be aware of the Socket issues in the real world. Sockets don’t work everywhere, like in corporate proxies/firewalls. Also it seems to have issues with fallback to longpoll hover http, thus rendering your app useless for your users if they fall in this issues.

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

To be clear, I think these issues are temporary, I don’t think there is anything about it that is intrinsically tied to websockets. I just think there is a bug in the retry logic that isn’t respecting attempts to disconnect from the websocket and reconnect via long polling.

Exadra37

Exadra37

Temporary for your use case, not for the use case in the post I linked, where it never worked out, because it was dealing with corporate environments, that normally make use of Firewall and Proxy’s, just like where I work.

Just to be clear the corporate world is a different world from what the majority the developers are used to work in, including the core developers of many of the tools we use day to day, thus it’s perfectly understandably that this tools lack the mechanisms to deal with this very tight secure environments.

Back to the socket issues, even if temporary, the app will be unusable during that time, and that can be enough to put a new user off of your app or to make current users to look for alternatives.

So in the end of the day what matters its users retention, because without users an app is dead :wink:

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

I’m referring to the issues where socket.disconnect() doesn’t work. That is clearly a bug, which means it’s clearly temporary. Websockets being blocked in corporate environments is a reality we have to deal with for sure though.

Exadra37

Exadra37

Thanks for the clarification. So yes I agree that’s indeed a bug.

soykai

soykai OP

That’s a pretty good point, yeah. I’m just a little bit confused about live view, because I hear many people saying that they run it in production, and others who warn about putting it in production.

cmkarlsson

cmkarlsson

For me. Just because something is run in production doesn’t mean it is production ready. There are trade-offs you need to consider adopting something early on.

You should be prepared that there will be bugs and when those bugs are fixed the new version likely comes with breaking changes to the API, meaning more work to get running. You may also have to prepare yourself that the project goes nowhere and is abandoned (not saying this is likely to happen with liveview, just more a general reflection) and you have to either take up stewardship yourself or change technology.

Production ready for me means good documentation, stable APIs, some sort of guarantee of longevity (which sort of ties into the stable APIs) and clear upgrade paths from earlier versions.

LiveView can be run in production but in my opinion is not production ready yet

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
rahultumpala
Hello, I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement