Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 47CEC200BB9 for ; Mon, 24 Oct 2016 03:40:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 464F9160B00; Mon, 24 Oct 2016 01:40:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 87E3D160AFC for ; Mon, 24 Oct 2016 03:39:59 +0200 (CEST) Received: (qmail 3117 invoked by uid 500); 24 Oct 2016 01:39:58 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 3052 invoked by uid 99); 24 Oct 2016 01:39:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2016 01:39:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 779002C0087 for ; Mon, 24 Oct 2016 01:39:58 +0000 (UTC) Date: Mon, 24 Oct 2016 01:39:58 +0000 (UTC) From: "Colin Ma (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16414) Improve performance for RPC encryption with Apache Common Crypto MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 24 Oct 2016 01:40:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-16414?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D156= 00650#comment-15600650 ]=20 Colin Ma commented on HBASE-16414: ---------------------------------- [~ram_krish], thanks for your help on this change, and the release note is = updated. > Improve performance for RPC encryption with Apache Common Crypto > ---------------------------------------------------------------- > > Key: HBASE-16414 > URL: https://issues.apache.org/jira/browse/HBASE-16414 > Project: HBase > Issue Type: Improvement > Components: IPC/RPC > Affects Versions: 2.0.0 > Reporter: Colin Ma > Assignee: Colin Ma > Fix For: 2.0.0 > > Attachments: HBASE-16414.001.patch, HBASE-16414.002.patch, HBASE-= 16414.003.patch, HBASE-16414.004.patch, HBASE-16414.005.patch, HBASE-16414.= 006.patch, HBASE-16414.007.patch, HBASE-16414.008.patch, HBASE-16414.009.pa= tch, HbaseRpcEncryptionWithCrypoto.docx > > > Hbase RPC encryption is enabled by setting =E2=80=9Chbase.rpc.protection= =E2=80=9D to "privacy". With the token authentication, it utilized DIGEST-M= D5 mechanisms for secure authentication and data protection. For DIGEST-MD5= , it uses DES, 3DES or RC4 to do encryption and it is very slow, especially= for Scan. This will become the bottleneck of the RPC throughput. > Apache Commons Crypto is a cryptographic library optimized with AES-NI. I= t provides Java API for both cipher level and Java stream level. Developers= can use it to implement high performance AES encryption/decryption with th= e minimum code and effort. Compare with the current implementation of org.a= pache.hadoop.hbase.io.crypto.aes.AES, Crypto supports both JCE Cipher and O= penSSL Cipher which is better performance than JCE Cipher. User can configu= re the cipher type and the default is JCE Cipher. -- This message was sent by Atlassian JIRA (v6.3.4#6332)