Minsk, Belarus. August 2019

It always makes me smile when a month later I look back at a moment when I did not know how to tackle a problem, and now we have a solid solution for it. Since we are a startup, our most sensitive resource is time: no time for detailed investigation, no time for huge build-outs, no time for mistakes!

At Compass Beauty we do skin measurements with medical devices that run proprietary software mostly on a Windows-based operating system. So here we are: devices are set up, Machine Learning is actively developed. How do we get the data (mostly binary…


I build and test small projects quite often. Though I have experience in solid cluster deployments using Kubernetes, CircleCI, and DockerHub, still my preference is Heroku. Because of its’ ease of use and a huge set of add-ons, the Heroku platform allows to setup deployment environment in a couple of minutes. Phoenix and React gives me the speed I need when it comes to building working prototypes. In this article, I will describe the boilerplate of the very beginning of each Proof of Concept I build. Bear with me…

Lakhta Center by Sergey Zhebelev

I. Phoenix and ReactJS (development)

Phoenix 1.4 nicely isolates assets pipeline in assets folder. By default…


Ever wonder how does Ecto work with a database? What Postgrex, DBConnection, and EctoSQL are for? “Tear apart and put it back together” — that’s how I learn. Follow me along as I build DBConnection compliant PostgreSQL driver, write an adapter for Ecto, and put it all together in a fancy way. The goal of this exercise is to build a naive implementation of Postgrex and Ecto.Adapters.Postgres and to understand how everything is connected under the hood. Let’s start right away.

I. The driver

A database driver gives a higher level of abstraction to work with a database over the wire. It can…


Working at startup require fast changes. You start a new feature with proof of concept, and then on the success you want it to stay and have to make it stable. That’s not the case for standalone PostgreSQL instance we’ve had at Storyline for about a year now. We just grew out and had to change our infrastructure. We want our database to be easy to scale in a cloud, replicable, fault tolerant, and all that without any administrative hassle. In other words, we need to migrate to Amazon Relational Database Service (RDS), furthermore, we want it to be Aurora…

Pavel Tsiukhtsiayeu

Elixir, React, Docker

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store