{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "Discover Docker, K8s and Hashicorp Nomad with Maksym Prokopov: posts tagged testing",
    "_rss_description": "The blog about containerisation, virtual machines and useful shell snippets and findings",
    "_rss_language": "en",
    "_itunes_email": "",
    "_itunes_categories_xml": "",
    "_itunes_image": "",
    "_itunes_explicit": "",
    "home_page_url": "https:\/\/blog.it-premium.com.ua\/tags\/testing\/",
    "feed_url": "https:\/\/blog.it-premium.com.ua\/tags\/testing\/json\/",
    "icon": false,
    "authors": [
        {
            "name": "Maksym Prokopov",
            "url": "https:\/\/blog.it-premium.com.ua\/",
            "avatar": false
        }
    ],
    "items": [
        {
            "id": "187",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/compare-postgres-from-docker-and-raw\/",
            "title": "Compare Postgres with docker and without",
            "content_html": "<p>I decided to compare if there will be significant differences between dockerized Postgres and non-dockerized. Here is my test environment: rails application with rich test suite, about 628 examples, macOS Sierra 10.12.6, Docker 17.06.0-ce-mac19.<\/p>\n<p>I use Postgres docker version alpine 9.6 which is 37,7Mb and raw Postgres 9.6 with GUI for Mac which is 379Mb.<br \/>\nHere is my docker-compose config<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">db:\n  image: postgres:alpine\n  ports:\n    - 5432:5432\nadminer:\n  image: adminer\n  ports:\n    - 8080:8080\n  links:\n    - db<\/code><\/pre><p>With docker<br \/>\nFinished in 46.86 seconds (files took 17.77 seconds to load)<br \/>\n628 examples, 0 failures<\/p>\n<p>Without docker, raw Postgre 9.6<br \/>\nFinished in 31.35 seconds (files took 8.38 seconds to load)<br \/>\n628 examples, 0 failures<\/p>\n<p>And again in Docker<br \/>\nFinished in 41.64 seconds (files took 8.24 seconds to load)<br \/>\n628 examples, 0 failures<\/p>\n<p>And again without Docker<br \/>\nFinished in 31.53 seconds (files took 8.01 seconds to load)<br \/>\n628 examples, 0 failure<\/p>\n<p>And again with Docker<br \/>\nFinished in 41.77 seconds (files took 8.51 seconds to load)<br \/>\n628 examples, 0 failures<\/p>\n<p>So its 41,5 seconds for Docker version and 31,53 seconds without Docker average.<br \/>\nThis is 24% difference in particular rails rspec case, which is quite significant as for compartion and is not so significant for testing loop.<\/p>\n<p>At least this is a price you pay for container portability.<\/p>\n",
            "date_published": "2017-09-07T09:47:30+01:00",
            "date_modified": "2017-09-07T09:51:31+01:00",
            "tags": [
                "docker",
                "testing"
            ],
            "_date_published_rfc2822": "Thu, 07 Sep 2017 09:47:30 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "187",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        }
    ],
    "_e2_version": 4134,
    "_e2_ua_string": "Aegea 11.3 (v4134)"
}