Revision 93724d0bd1267777a935eb25000f29f2b41c0aaa

Committed on 15/08/2018 12:55 pm by André R <ar@ez.no> [GitHub Diff]

Add support for igbinary to reduce serialization size on Redis & Memcached

Replaces msgpack _(which has not been configured correctly for memecached, so in practice has never been possible to use. It also never supported PHP 5.x)_ with igbinary which is now supported also on PHP 7, and which provides better packing / unpacking performance then msgpack with more or less comparable size of the serialized data.

Note: This will notably also pull in newer versions of Composer (1.7), besides usual newer patch releases of PHP and pecl extensions incl recent security fixes.

Closes #30

Squashed commit of the following:

commit 50644d3ba9ff7d4effa590b11354e727ec85a786
Author: André R <ar@ez.no>
Date: Tue Aug 14 14:50:21 2018 +0200

Update inline image tag aliases for testing usage

commit bf5dd0bcee715ce6856e554921955ed43d197d3a
Author: André R <ar@ez.no>
Date: Tue Aug 14 11:09:01 2018 +0200

Cahnge back to v1 and use jessie for now, put off v2 for alpine work

commit 663f720a813a2e06d727b74599476e2379b9cf4b
Author: André R <ar@ez.no>
Date: Mon Aug 13 21:30:44 2018 +0200

Change back to test against platformui as rest fails on PHP 5.6 for some reason

commit e2905246ad8e50d9c952e6e037ed78b0a961561a
Author: André R <ar@ez.no>
Date: Mon Aug 13 20:50:05 2018 +0200

Update readme, while size is some 20-30mb smaller, still 100mb bigger then alpine

commit ac755875d341dae0aa3389c1f9fea6cbe9b679e5
Author: André R <ar@ez.no>
Date: Mon Aug 13 20:46:36 2018 +0200

Change back to test against eZ Platform v1.13

commit fba0f68fa649ff60ae9c4c8c8c91330b5ba16bff
Author: André R <ar@ez.no>
Date: Mon Aug 13 20:42:41 2018 +0200

Fix EZ_VERSION for PHP 5.6

commit 33b6878481898c33f5fbedd9b46e0734aee65596
Author: André R <ar@ez.no>
Date: Mon Aug 13 20:33:04 2018 +0200

Update format version to v2, update behat tests to use v2 if applicable

commit 1fdaa57f74713764565e6ade2035a58d615c4b3c
Author: André R <ar@ez.no>
Date: Mon Aug 13 15:01:02 2018 +0200

Enable igbinary for session serialization by default

commit 5203fb87ba1ad89914af57ffc54d6defe1c48983
Author: André R <ar@ez.no>
Date: Mon Aug 13 14:47:23 2018 +0200

Remove msgpack given it was never enabled with memcached or redis (which does not support it yet also)

commit 587cef9fccd84e5066a9cfa7aae647abf196c944
Author: André R <ar@ez.no>
Date: Mon Aug 13 14:46:40 2018 +0200

Also use igbinary on PHP 5.6 with memcached

commit cf353cfd63e59b5d0e367e6a160803cc2deb6075
Author: André R <ar@ez.no>
Date: Mon Aug 13 14:40:51 2018 +0200

Revert "Change PHP 5.6 back to Jessie as it seems to have some issues with stretch (test where timing out)"

This reverts commit 9db8e7b210261ce17d1b8bd823fcd910f53b1428.

commit c5f3b354616bd040f593800f6a2bfa6b372f2799
Author: André R <ar@ez.no>
Date: Mon Aug 13 14:40:34 2018 +0200

Revert "Change 5.6 back to how it was in attempt tp get it to pass"

This reverts commit 352ef0a4af91f2582194a5e84d539488029c66e9.

commit 352ef0a4af91f2582194a5e84d539488029c66e9
Author: André R <ar@ez.no>
Date: Mon Aug 6 21:01:56 2018 +0200

Change 5.6 back to how it was in attempt tp get it to pass

commit ad28d67e67b1fcc275fd7a80f762b6f047678249
Author: André R <ar@ez.no>
Date: Mon Aug 6 20:47:18 2018 +0200

Alos enable igbinary with memcached, and make sure to remove tmp pecl files on cleanup

commit e70ccd407f765371fdd412524b956adb2f5c2e75
Author: André R <ar@ez.no>
Date: Mon Aug 6 20:17:04 2018 +0200

Manually build redis in order to be able to pass argument to enable igbinary

commit a4f460b0ce78e3c8b56c13c67ec7628c3dea8e09
Author: André R <ar@ez.no>
Date: Mon Aug 6 15:36:00 2018 +0200

Configure redis to use igbinary

commit 9db8e7b210261ce17d1b8bd823fcd910f53b1428
Author: André R <ar@ez.no>
Date: Mon Aug 6 15:35:43 2018 +0200

Change PHP 5.6 back to Jessie as it seems to have some issues with stretch (test where timing out)

commit b40f54292b7a38e36374daf58b498dc47a746f6f
Author: André R <ar@ez.no>
Date: Mon Aug 6 13:17:48 2018 +0200

Update docker composer version

commit 4bea004e8a3966ad468281290839b5737d8524e9
Author: André R <ar@ez.no>
Date: Mon Aug 6 13:14:26 2018 +0200

5.6-7.1 are now using Debian stretch by default, adopt for that, gives newer libs and smaller base image

commit 67d9976df0fb67547879347533ed6a36062a606e
Author: André R <ar@ez.no>
Date: Mon Aug 6 12:41:24 2018 +0200

Add support for igbinary to reduce serialization size on Redis