4 ms·
Last time I checked on Elixir, it seemed like people used Phoenix to pretty much do anything useful with it. Is that still the case?
by xwdv 5y ago
Last time I checked on Elixir, it seemed like people used Phoenix to pretty much do anything useful with it. Is that still the case?
- di4na 5y agoKnowing the number of people doing IoT stuff with nerves, i highly doubt it is still the case.
- cholantesh 5y agoI'm hoping Nx gains a good bit of traction in the ML space, too.
- kuzee 5y agoSeveral fintech companies use it to power core logic, with or without phoenix, so it's used for general purpose computing where speed, resiliency, and parallel execution are important. I've seen hints that people are using it to run crypto trading bots, but idk how common that really is. I think a few companies use Elixir to power their web crawling/scraping tools. This makes intuitive sense as a good candidate for the process supervisor and parallel work architecture OTP encourages. Nerves (embeddable Elixir) has come a long way. I switched to Nerves for some Raspberry Pi projects and the amount of time I waste dealing with hardware/config has gone to nearly zero. I am a hardware novice and was able to setup flashing firmware over-the-air updates to the Pi with very little effort. I'm sure the companies that use Nerves in production have more to say about it. I'm not very tuned into the updates to Scenic, a project for display/UI on embedded screens, but it looks like they've hit some big release/stability milestones. Phoenix is the way to go for web interfaces, and is an excellent toolset, so alternatives haven't been demanded. For more lightweight http people usually reach for Plug, a key building block of Phoenix, if you won't need the full bird.
- prophesi 5y ago> I think a few companies use Elixir to power their web crawling/scraping tools. What do they use for headless browser scraping? I tried Hound a few months ago, but it seems too geared towards testing to be used more generically. We ended up just using Oclif and Puppeteer for scraping via NodeJS.
- vereis 5y agoMight fall into the same category as Hound but Wallaby exists and works. Otherwise have you heard of Crawley?
- prophesi 5y agoI heard of Crawley and thought it only did HTTP-based crawling, but now I see it has a browser rendering option via Splash[0] that looks like it'd fit the bill. Thanks! (Also had issues configuring Wallaby to be used outside of testing) [0] https://splash.readthedocs.io/en/stable/api.html https://splash.readthedocs.io/en/stable/api.html
- michaelcampbell 5y ago> if you won't need the full bird. Never heard this phrase before, but I like it.
- dqv 5y agoI guess it depends on your definition of useful. I've been using it since 1.4 to do things like: - PBX configuration (e.g. dialplan and routing) - email monitoring (e.g. monitor multiple email accounts and multiple folders on those accounts) - interacting with API's (e.g. creating a supervision tree that has multiple API accounts making requests) - processing huge CSV files in chunks and storing them in a database Of course you can add Phoenix on top of these to make them more useful.
- tobyhinloopen 5y agoI’m writing a gameserver in it using Elixir without Phoenix. I’m using cowboy (erlang webserver) for websockets and redis for persistence. You can pretty easily opt-in on specific phoenix libraries one by one and pick any you like and omit those you don’t. The “phoenix app” type stuff is just a convention over configuration thing, but unlike something like Rails, it’s perfectly doable to pick and choose the libraries you want and install these later when you need them, or remove them when you don’t. The functional approach to Phoenix makes it really easy to substitute things without breaking other things.
- ch4s3 5y agoYou don't have to use phoenix at all for most things, but if you're speaking HTTP, you may as well.