Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-946

Evaluate optional use of igbinary for serialization

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      Igbinary is supposed to be faster and better than serialize/unserialize(). We should check if its relevant for us (metadata and query caching for example):

      https://github.com/phadej/igbinary

        Activity

        Show
        Benjamin Eberlei added a comment - http://ilia.ws/archives/211-Igbinary,-The-great-serializer.html#extended
        Hide
        Marco Pivetta added a comment -

        I don't think this is still relevant: closing it, since the serialization improvement can be achieved by hacking a new Doctrine\Common\Cache\Cache implementation for those who really need it.

        Show
        Marco Pivetta added a comment - I don't think this is still relevant: closing it, since the serialization improvement can be achieved by hacking a new Doctrine\Common\Cache\Cache implementation for those who really need it.
        Hide
        Marco Pivetta added a comment -

        Just a note. Benjamin Eberlei told me that igbinary overrides `unserialize` breaking compat. I personally think that's a very bad idea, but it's not a problem if you use PHP 5.4, since we automatically get rid of the `unserialize` hack and use `ReflectionClass#newInstanceWithoutConstructor()` instead, which is much cleaner

        Show
        Marco Pivetta added a comment - Just a note. Benjamin Eberlei told me that igbinary overrides `unserialize` breaking compat. I personally think that's a very bad idea, but it's not a problem if you use PHP 5.4, since we automatically get rid of the `unserialize` hack and use `ReflectionClass#newInstanceWithoutConstructor()` instead, which is much cleaner

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Benjamin Eberlei
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: