1. 28 Apr, 2019 1 commit
    • Julien Muchembled's avatar
      protocol: switch to msgpack for packet serialization · 9d0bf97a
      Julien Muchembled authored
      Not only for performance reasons (at least 3% faster) but also because of
      several ugly things in the way packets were defined:
      - packet field names, which are only documentary; for roots fields,
        they even just duplicate the packet names
      - a lot of repetitions for packet names, and even confusion between the name
        of the packet definition and the name of the actual notify/request packet
      - the need to implement field types for anything, like PByte to support new
        compression formats, since PBoolean is not enough
      
      neo/lib/protocol.py is now much smaller.
      9d0bf97a
  2. 11 Mar, 2019 1 commit
  3. 16 May, 2018 1 commit
    • Julien Muchembled's avatar
      importer: fetch and process the data to import in a separate process · 05bf48de
      Julien Muchembled authored
      A new subprocess is used to:
      - fetch data from the source DB
      - repickle to change oids (when merging several DB)
      - compress
      - checksum
      
      This is mostly useful for the second step, which is relatively much slower than
      any other step, while not releasing the GIL.
      
      By using a second CPU core, it is also often possible to use a better
      compression algorithm for free (e.g. zlib=9). Actually, smaller data can speed
      up the writing process.
      
      In addition to greatly speed up the import by parallelizing fetch+process with
      write, it also makes the main process more reactive to queries from client
      nodes.
      05bf48de
  4. 18 Jan, 2017 1 commit
  5. 27 Nov, 2016 1 commit
  6. 25 Jan, 2016 1 commit
  7. 12 Aug, 2015 1 commit
  8. 21 May, 2015 1 commit
  9. 07 Nov, 2014 1 commit
  10. 07 Jan, 2014 1 commit
  11. 26 Mar, 2012 1 commit
    • Vincent Pelletier's avatar
      Always call getaddrinfo on split host. · 58058cca
      Vincent Pelletier authored
      Fixes two bugs:
      - IPv6 addresses are now put in canonical form.
      - non-IPv6 port-less addresses are resolved.
      Also, simplify url-style IPv6 parsing.
      Also, rename "ip" into more generic naming "host".
      58058cca
  12. 13 Mar, 2012 1 commit
  13. 26 Oct, 2011 1 commit
  14. 02 May, 2011 1 commit
  15. 28 Feb, 2011 1 commit
  16. 25 Feb, 2011 1 commit
    • Olivier Cros's avatar
      Implementing ipv6 on neo · 0cdbf0ea
      Olivier Cros authored
      In order to synchronise neo with slapos, it has to work perfectly with ipv4
      and ipv6. This allows to integrate neo in erp5 and to prepare different buildout
      installations of neo.
      The protocol and connectors are no more generic but can now support IPv4 and
      IPv6 connections. We adopted a specific way of development which allow to
      easily add new protocols in the future.
      
      git-svn-id: https://svn.erp5.org/repos/neo/trunk@2654 71dcc9de-d417-0410-9af5-da40c76e7ee4
      0cdbf0ea
  17. 17 Jan, 2011 1 commit
  18. 01 Nov, 2010 1 commit
  19. 19 Apr, 2010 1 commit
  20. 26 Mar, 2010 1 commit
  21. 01 Feb, 2010 1 commit
  22. 20 Jan, 2010 1 commit
    • Grégory Wisniewski's avatar
      Update tests according to previous commit. · 393ebf73
      Grégory Wisniewski authored
      - testUtil module is now empty, but kept for futur tests.
      - NeoTestBase got a new getNextTID() method with a copy/paste from master's transactions manager to generate TIDs.
      - testProtocol module no more import getNextTID() from neo.util module
      - testTransactions test module is updated to test new features provides by transactions manager.
      
      git-svn-id: https://svn.erp5.org/repos/neo/trunk@1456 71dcc9de-d417-0410-9af5-da40c76e7ee4
      393ebf73
  23. 13 Jan, 2010 2 commits
  24. 07 Oct, 2009 1 commit
  25. 23 Jul, 2009 1 commit
  26. 12 Jan, 2009 1 commit
  27. 18 Jan, 2007 1 commit
  28. 22 Dec, 2006 1 commit
  29. 06 Dec, 2006 1 commit
  30. 29 Nov, 2006 1 commit