Services Blog Français

Storing HD photos in a relational database: recipe for an epic fail

| by jpic | devops

Storing files in the database has already been demonstrated as not an efficient trade-off here, and in many pages on internet. As such, this post provides subjective stories about files in the database, rather than an objective compare.

Now Bob the manager has watched Peter Chubb’s talk and decides that you will store uploaded PDFs and HD photos in the database when that doesn’t even matter when people are going to upload files in AJAX, before they submit their form, during HTTP requests that occur before that request that causes a relational data write. If Bob the manager justifies with “it’s going to make backup easier” then this article will demonstrate how wrong he is.

Read More

Yourlabs playlabs

| by jpic | devops python ansible best-practice

https://github.com/yourlabs/playlabs

GitHub release of part of my current production practice to Continuous Integration and Continuous Delivery. It’s the main monolyth that combines well in CI with our Python & PHP distributions. Actually some parts of the monorepo in the process of being extracted and rewritten to smaller sized units and that’s the development track that’s issued recent tools such as cli2 that is the library for decorating another CLI in python extracted as a generic engine, base for djcli (also extracted from injected code from ansible django plugin), shyml, with other parts that are yet to be installed in a production pipeline such as ansible-apply ansible modern command line wrapper, compoctl docker-compose decorator that’s shorter to write but also provides experimental commands to improve automated deployments, backups and restores.

Read More

compoctl 0.1.3 release

| by jpic | devops docker compoctl docker-compose

The new compoctl apply command supports build by default and now chains the following:

  • pull
  • build
  • down
  • up -d
  • logs
  • ps

If you haven’t installed yet, my advice is to install with pip3 install --user compoctl, and then add export PATH=$PATH:$HOME/.local/bin to open a giant sudo and make internet fun again.

Upgrade with pip3 upgrade --user compoctl if you have installed with --user otherwise with just pip3 upgrade compoctl.

Have a great day <3

Read More
Previous Page 4 of 32 Next Page

They trust us

Contact

logo