From issues-return-96099-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Sat May 18 11:22:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 830FE18064C for ; Sat, 18 May 2019 13:22:02 +0200 (CEST) Received: (qmail 50275 invoked by uid 500); 18 May 2019 11:22:01 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 50253 invoked by uid 99); 18 May 2019 11:22:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 May 2019 11:22:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C9444E0E4C for ; Sat, 18 May 2019 11:22:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2420A256E3 for ; Sat, 18 May 2019 11:22:00 +0000 (UTC) Date: Sat, 18 May 2019 11:22:00 +0000 (UTC) From: "Dmitry Melnichuk (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (IGNITE-11854) Serialization of arrays of primitives in python thin client is not optimal MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-11854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Melnichuk reassigned IGNITE-11854: ----------------------------------------- Assignee: Dmitry Melnichuk > Serialization of arrays of primitives in python thin client is not optimal > -------------------------------------------------------------------------- > > Key: IGNITE-11854 > URL: https://issues.apache.org/jira/browse/IGNITE-11854 > Project: Ignite > Issue Type: Bug > Components: thin client > Affects Versions: 2.7 > Reporter: Denis Mekhanikov > Assignee: Dmitry Melnichuk > Priority: Major > > The following code hangs indefinitely inside of invocation to {{my_cache.put()}} > {code:java} > from pyignite import Client > arr_len = 3_000_000 > content = bytearray(arr_len) > for i in range(arr_len): > content[i] = i % 256 > client = Client() > client.connect('127.0.0.1', 10800) > my_cache = client.get_or_create_cache('my cache') > my_cache.put("key_bin", content){code} > While the value is only 3MB in size. Implementation of serialization of primitive arrays seems to be quadratic in length of the array. -- This message was sent by Atlassian JIRA (v7.6.3#76005)