Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6007519F6C for ; Wed, 13 Apr 2016 12:49:26 +0000 (UTC) Received: (qmail 16822 invoked by uid 500); 13 Apr 2016 12:49:26 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 16789 invoked by uid 500); 13 Apr 2016 12:49:26 -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 16774 invoked by uid 99); 13 Apr 2016 12:49:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2016 12:49:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 708D92C1F4E for ; Wed, 13 Apr 2016 12:49:25 +0000 (UTC) Date: Wed, 13 Apr 2016 12:49:25 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-2952) Add yardstick benchmark for cache load testing 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-2952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239178#comment-15239178 ] ASF GitHub Bot commented on IGNITE-2952: ---------------------------------------- GitHub user vldpyatkov opened a pull request: https://github.com/apache/ignite/pull/640 IGNITE-2952 Add yardstick benchmark for cache load testing You can merge this pull request into a Git repository by running: $ git pull https://github.com/vldpyatkov/ignite ignite-2952 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/640.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #640 ---- commit 0d709f1600bad2d174213e6fb0f29b8916528b46 Author: vdpyatkov Date: 2016-04-13T12:47:08Z IGNITE-2952 Add yardstick benchmark for cache load testing ---- > Add yardstick benchmark for cache load testing > ---------------------------------------------- > > Key: IGNITE-2952 > URL: https://issues.apache.org/jira/browse/IGNITE-2952 > Project: Ignite > Issue Type: Test > Reporter: Semen Boikov > Assignee: Vladislav Pyatkov > > Need implement yardstick benchmark which will be used for cache load testing (add it in 'yardstick' module). > For this load testing nodes will be started with several pre-configured caches. Benchmark on each call of 'test' method should iterate over all configured caches (can get list of caches using Ignite.cacheNames) and execute some random operations: > - put(All) > - get(All) > - invoke(All) > - remove(All) > - putIfAbsent > - replace > - scan query > If cache is transactional it also should execute cache operations inside explicitly start transaction with random concurrency/isolation mode. > This benchmark can be run in scenario when server nodes are restarted, so for explicit transaction need use method IgniteBenchmarkUtils.doInTransaction which has logic for exception handling. > It should be possible to pre-load some cache data before starting test , there should be special benchmark parameter which specifies how many entries load in caches on start (see IgniteSqlQueryBenchmark.setUp as example of benchmark doing preloading) > Also it should use non-primitives objects as cache keys/values. Value class should have String, int, long, double, byte[] fields. -- This message was sent by Atlassian JIRA (v6.3.4#6332)