Spinning up a server is easy enough, just go to Digital Ocean and push a button. But now you are responsible for your server. What does that mean?
The goal of benchmarking is to understand the performance of our system and how to improve it. When we are making benchmarks, we need to make sure that they match real world usage.
In my post on Benchmarking Phoenix on Digital Ocean, changing the concurrent connections and network latency had …
Database migrations are used to automatically keep the database in sync with the code that uses it. Elixir apps should be deployed as releases, supervised by systemd. Here is an example of how to run migrations when deploying Elixir releases.
It's tempting to automatically run database migrations when the app …
After we have deployed the new release, we restart the app to make it live:
sudo /bin/systemctl restart foo
The user account needs sufficient permissions to restart the app, though. Instead of giving the deploy account full sudo permissions …
When deploying applications, we we usually have the same basic architecture in different environments (dev, test, prod), but settings differ. Some settings are common to all the machines in the environment, e.g the db server connection string. We need to vary the size of instances depending on the environment …
- db migrations
- functional programming
- graphical design
- know your customer
- rate limiting
- static assets
- user experience
- user stories