Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 67B99189E1 for ; Wed, 13 Jan 2016 04:27:44 +0000 (UTC) Received: (qmail 28833 invoked by uid 500); 13 Jan 2016 04:27:44 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 28778 invoked by uid 500); 13 Jan 2016 04:27:44 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 28768 invoked by uid 99); 13 Jan 2016 04:27:43 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2016 04:27:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4E3BB180425 for ; Wed, 13 Jan 2016 04:27:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id P_e2XbRok673 for ; Wed, 13 Jan 2016 04:27:42 +0000 (UTC) Received: from mail-yk0-f169.google.com (mail-yk0-f169.google.com [209.85.160.169]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id E7FAC20FD2 for ; Wed, 13 Jan 2016 04:27:41 +0000 (UTC) Received: by mail-yk0-f169.google.com with SMTP id x67so477163757ykd.2 for ; Tue, 12 Jan 2016 20:27:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Hx++vfQ7+PX4tACGYbpxs1NEEv8Y0NK0ZA5Zqg3+LjI=; b=ISS3Al7+Xy7unwhn9BxO1eA5oBq68R29/fGJ/5MWzKG0k/anzA2tEe8uVw0b/Ait2i Q7hv4JEEUhu8Xrpn73RFKf6NWsG82+43V7IfsKbHclJyY/Fu/DXDRqufykryjPe2Z6U6 KHzuLFzA36Etp82JXAvhXp/6yQyL86iZ4l9eORURVOEhEfkWpwcuZZup8fJFFIV+95zr dKcsuSqCTFPXeLhYdAVg1dy7WYYEHWuTt/o4LRlhNXWpL5IQO0AZI9uDMk2L2pv/9UYT HadvjbKLsbLteV1+x1yLQlYnsdth0TjPpSfgsAWIhU7Jon2Ot3SA06nidlB6/vtjw67i xPdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=Hx++vfQ7+PX4tACGYbpxs1NEEv8Y0NK0ZA5Zqg3+LjI=; b=T2GbgTbBCGz85a+5XrRJs8PuRR7jGx2t36Dmr/6nCb8IOmZ2/81igGqKcihilnGo3g rYuayEBo137GF2vxZG3aFRFc3lJMFjNO5BQu/ZVMPvKuAXCel20jvq1oUtV9Y5o5iaip n7sweajxeJj1hoFRYGfEydBNrKPxuQyGTjxHf2mZeRAbBwUEbNiIV4WpakZf63xBkO5N /f9GZWjJeDlkf1xL/aUDOyQ5zk49OdGJy9ZUXx07JSN+u78feBQ2Khcdwa21F/PHSMo7 RpiW1l2zCrOWcC8HDNGMbWrz6WQ2xoJgxbKkJ2piEONLf8OAvhlvmf3Jjm8TojgJU1ol 4zMg== X-Gm-Message-State: ALoCoQkymRD0UGFjuxHTCc+1soCsKiP4+kWDdsSG02N9JTF/R0ISNF2DNgbZlBPNRa2kdTvsPdwvO/PQTfTywRdw7uB6Q+lhlA== MIME-Version: 1.0 X-Received: by 10.129.82.134 with SMTP id g128mr97863523ywb.335.1452659254838; Tue, 12 Jan 2016 20:27:34 -0800 (PST) Received: by 10.37.216.140 with HTTP; Tue, 12 Jan 2016 20:27:34 -0800 (PST) Date: Tue, 12 Jan 2016 20:27:34 -0800 Message-ID: Subject: Cache.put latencies high From: babu prasad To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=001a114dbebadd50e905292f9619 --001a114dbebadd50e905292f9619 Content-Type: text/plain; charset=UTF-8 Hi, I have configured 2 ignite servers with a heap size of 8G each. Running with backups=1 and primary_sync mode. Ignite servers are being used as a write behind cache for my Aurora database. I am trying to run a load test with 3 clients talking to the remote cache in the 2 ignite servers. All the hosts are in the same availability zone. My clients do a simple put and I calculate time taken for put on the client side. long startTime = System.currentTimeMillis(); cache.put(k, c1); long elapsedTime = System.currentTimeMillis() - startTime; System.out.println("Total elapsed timein milliseconds: " + elapsedTime); Here is the latency from the last few requests: Total elapsed timein milliseconds: 31 Total elapsed timein milliseconds: 29 Total elapsed timein milliseconds: 26 Total elapsed timein milliseconds: 28 Total elapsed timein milliseconds: 28 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 29 Total elapsed timein milliseconds: 26 Total elapsed timein milliseconds: 26 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 28 Total elapsed timein milliseconds: 28 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 26 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 28 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 26 Total elapsed timein milliseconds: 26 Total elapsed timein milliseconds: 29 Total elapsed timein milliseconds: 26 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 26 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 29 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 28 Total elapsed timein milliseconds: 26 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 27 Total elapsed timein milliseconds: 29 Not sure what is going on here. I am pretty sure I am doing something wrong here. Thanks! --001a114dbebadd50e905292f9619 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I have configured 2 ignite servers with a heap size of 8G each.
Running with backups=3D1 and primary_sync mode.

Ignite serve= rs are being used as a write behind cache for my Aurora database.

I am trying to run a load test with 3 clients talking to the remote cac= he in the 2 ignite servers.
All the hosts are in the same availabi= lity zone.

My clients do a simple put and I calculate time taken for= put on the client side.

long startTime =3D System.currentTimeMillis= ();
cache.put(k, c1);
long elapsedTime =3D System.currentTimeMillis()= - startTime;
System.out.println("Total elapsed timein milliseconds= : " + elapsedTime);

Here is the latency from the last few= requests:
Total elapsed timein milliseconds: 31
Total elapsed timein= milliseconds: 29
Total elapsed timein milliseconds: 26
Total elapsed= timein milliseconds: 28
Total elapsed timein milliseconds: 28
Total = elapsed timein milliseconds: 27
Total elapsed timein milliseconds: 27Total elapsed timein milliseconds: 29
Total elapsed timein milliseconds= : 26
Total elapsed timein milliseconds: 26
Total elapsed timein milli= seconds: 27
Total elapsed timein milliseconds: 27
Total elapsed timei= n milliseconds: 28
Total elapsed timein milliseconds: 28
Total elapse= d timein milliseconds: 27
Total elapsed timein milliseconds: 26
Total= elapsed timein milliseconds: 27
Total elapsed timein milliseconds: 28Total elapsed timein milliseconds: 27
Total elapsed timein millisecond= s: 26
Total elapsed timein milliseconds: 26
Total elapsed timein mill= iseconds: 29
Total elapsed timein milliseconds: 26
Total elapsed time= in milliseconds: 27
Total elapsed timein milliseconds: 26
Total elaps= ed timein milliseconds: 27
Total elapsed timein milliseconds: 29
Tota= l elapsed timein milliseconds: 27
Total elapsed timein milliseconds: 28<= br>Total elapsed timein milliseconds: 26
Total elapsed timein millisecon= ds: 27
Total elapsed timein milliseconds: 27
Total elapsed timein mil= liseconds: 27
Total elapsed timein milliseconds: 29

Not sur= e what is going on here. I am pretty sure I am doing something wrong here.<= br>


Thanks!

--001a114dbebadd50e905292f9619--