Cogini Blog Articles tagged architecture

Jake Morrison

Avoiding GenServer bottlenecks

GenServers are the standard way to create services in Elixir. They are very useful, but when used incorrectly they can cause unnecessary problems. This is particularly an issue for developers coming from object oriented languages, who attempt to treat GenServers as object instances. Instead we should think in functional terms … Read more…

Jake Morrison

Secure web applications with GraphQL and Elixir

In traditional applications, the web application talks directly to the database. It has rights to do anything, relying on application rules to control access. If an attacker compromises it, then they can do anything, e.g. grab all the data or create a funds transfer transaction. When security is critical … Read more…

Jake Morrison

Incrementally migrating a legacy app to Phoenix

Over the years we have done lots of projects where we migrated an application from one platform to another. We might do this to solve performance issues or to switch to a better technology stack. This can be a challenge when you have a big app that is in production … Read more…

Categories

Development DevOps Products Programming

Tags