Eli Kroumova

Eli Kroumova

Software Developer at eFaber

Eli is a software developer working mainly on web applications (backend and frontend). She has been developing web applications since 1997 starting with PHP and going al the way through Perl, Tcl , Ruby and Elixir.

Currently Eli is working at eFaber, a company based in Bilbao, Spain. EFaber develops custom web applications for specific problems that require special solutions.

Multitenant web applications with Phoenix

Multitenancy is a software architecture where one instance serves different clients (tenants). This definition is quite general and can be implemented in different ways.

This talk is about the specific case of web application where each client data is stored independently in the database and served by the same application.

Phoenix and Ecto already have all we need for the implementation. Ecto prefix option gives us access to PostgreSQL schemas for the data encapsulation and Plug provides a straithforward way to assign the current tenant.

In this talk we will see how all the pieces fit together in a step by step example.

Talk objectives:

  • Introduce the concept of multitenant application and show a concrete example for its implementation. The example is based on the Triplex library but the ideas it is based on are general and do not depend on the concrete library used for the implementation.

Target audience:

  • Phoenix developers