Tiny struggles

Everything is figureoutable! Let’s start afresh.

  • Django - growing up from SQLite to PostgreSQL

    Django by default comes with SQLite as a database. It’s a great choice for initial development and for testing, but not if you want to run multiple app servers, e.g. in a SaaS project. At some point it’s time to pick up a DB like MySQL or PostgreSQL that is more suitable for this purpose. I’ve been working on my open source side project Invertimo for a while and at some point I decided to change the db engine from SQLite to PostgreSQL.

    Read more…
  • Shooting yourself in a foot with django and recovering from it

    I have recently built an API (for my side project Redeal) that turned out extremely slow. I knew that what I was building wasn’t supposed to be super fast or optimal and I was building it with python and django which aren’t really known for their speed, but I haven’t expected such atrocious performance: Yup, you are seeing it right, it was taking about 30 seconds for all the API calls finish.

    Read more…
  • Revived

    I got too busy with a new job and living in a different country. But I love writing and I am very happy to start writing in tinystruggles.com again. What have I been up to in last couple of years? I have joined Google in Dublin, so new job, new country, new friends, new hobbies. Lot’s of changes and I got pretty absorbed by them. Since that time (late 2015) I have updated this blog literally once and in 2017.

    Read more…