Deithrian

Deithrian

I saw that there’s a port for Elixir and Phoenix on FreeBSD.

Why would you want to run a Phoenix project on FreeBSD vs Linux?
Can you share your opinion please?

I’m trying to pick a deployment target and start learning about it.
Since Linux seems to be the default choice for servers, are there any reasons for choosing FreeBSD instead?

Showing Posts 1 to 10

NobbZ

NobbZ

As nearly always when it comes to the choice of an operating system, this choice might be driven by many different kind of “arguments”:

  • Personal matter
  • Personal experience
  • Policies of your Employer
  • Policies of your Client
  • Available ressources (there is this machine in that datacenter, which is running FBSD and monitored some internal stuff for the last year which we don’t need anymore, but we could run our new Phoenix-Page on it, but we can’t reinstall due to the fact that it is thousands of miles away)
sashaafm

sashaafm

Like the other people have said, unless you have a very specific reason to use FreeBSD I think it’s best to stick to Linux.

Deithrian

Deithrian OP

I was actually expecting some big arguments against using BSD, but since there seem to be none, I’ll give it a spin :slight_smile:
It’s going to be an adventure in uncharted waters for me, but I have high hopes that the buzz will be strong :005:

sashaafm

sashaafm

Please do report back :slight_smile:

AstonJ

AstonJ

Why do you want to use FreeBSD @Deithrian? Just curious :stuck_out_tongue:

Deithrian

Deithrian OP

@AstonJ I have emotional scars from trying to remove a video codec under Linux and watching the entire OS disappear in front of my eyes :icon_eek:
The bloody thing destroyed itself over a video codec…
I know I should read the deps and bla bla, but come on… that’s like uninstalling QuickTime on Windows and watching the uninstaller delete system32 :scream:

And so, BSD seems to be the second obvious choice for servers, plus no emotional scars there yet lol
I also saw a couple of talks on BSD and there’s a good amount of reasons for using it too.

AstonJ

AstonJ

What’s the TLDR/benefits on using FeeBSD (over Linux) @Deithrian?

Don’t you use the minimal Linux installs on your server? We use the minimal CentOS 7 image (minimal system with SSH daemon) on our new servers and just install what we need…

Mandemus

Mandemus

BSD is a port of Unix to the PC.
Linux is a unix-like emulator for the PC.

Splitting of hairs for the most part. /etc/rc.d/* vs inittab, jail vs virtualization, no run levels. In the end though csh works like csh on both platforms.

BSD would be just harder to maintain. Desktop builds such as PCBSD are a far cry from the user experience you get with modern linux distros.

FreeBSD was the mainstay of colocated machines back in the 90’s when everyone was running a DikuMUD. RedHat started making headway around 1999 or so.

Building up Centos minimal installs is what I’ve always done for deployed projects too. However the fact that ‘stable’ means things installed via yum and the Centos repo are a year behind gets aggravating. Often having to build things from source.

For development at home I choose Fedora for this very reason.

AstonJ

AstonJ

Thanks @Mandemus, so basically theres no real benefit and it becomes harder to maintain. I was expecting more. I guess perhaps it ‘might’ be a little more secure since it is not used as much?

Haha I hear you, but the upside is a rock solid system :003: I use Chruby for ruby versions and don’t mind the occasional building from source.

Mandemus

Mandemus

BSD is rock solid and secure. Not through obscurity but It’s having a long pedigree. It is as I said an actual port of AT&T’s System V Unix. Linux is merely a unix inspired workalike.

AIX on IBM Power hardware is prevalent in science and business, OsX on the Macintosh is also BSD.

I wanted to install two ubiquitous things last month. lftp and tmux. Both were like 5 minor versions behind. I run into that constantly with Centos. It makes the repo essentially a worthless exercise in frustration.

I get why they do it, stability. Still while I don’t need almost daily updates like with Fedora, but the way things are the Centos repo is always feeling ancient.

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
marciol
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
durvia
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes. We’re a small ...
New

Other Trending Topics Top

marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
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
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
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
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews