From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id DD4597030F; Thu, 25 Feb 2021 00:48:44 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org DD4597030F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1614203324; bh=j6w1g8crGtX1u52o2cedu09XH841NYlSnJlHXLwSmls=; h=To:References:Date:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=bWpSV6P/pxYIL1CeRGBMVa4eCayFnTfxrV7L/313HEuG4Rb/s+oDFYBjZbDOkYzuA AwBZXBijn5fT1FlO++gpC7k9o3NiU6FgXAB2Ljtd1i7xP7p5D99iUV62Fb4SYSn+eQ Mm12Zr8JM5PPypsma0gT5WxPTrw7Gc6Y4PWnG+ts= Received: from smtp48.i.mail.ru (smtp48.i.mail.ru [94.100.177.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id C6B6F7030F for ; Thu, 25 Feb 2021 00:48:34 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C6B6F7030F Received: by smtp48.i.mail.ru with esmtpa (envelope-from ) id 1lF21J-00027I-QS; Thu, 25 Feb 2021 00:48:34 +0300 To: Oleg Babin , tarantool-patches@dev.tarantool.org, yaroslav.dynnikov@tarantool.org References: <73d839321957f99f69ba662f5a3655d31c3e99cd.1614039039.git.v.shpilevoy@tarantool.org> <67990e86-75a2-89c6-4363-2f62c1e46fb3@tarantool.org> Message-ID: Date: Wed, 24 Feb 2021 22:48:32 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <67990e86-75a2-89c6-4363-2f62c1e46fb3@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD975C3EC174F56692243410BA6471F01668A37AB103014B813182A05F53808504049D3B90BEC4830B5AA78FEAA34AE3628212945B9A62743FC07D6E2C353BF9E7B X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE789066434B85BF7C7EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063757004B04402545C58638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FCEF6CC647C0669FAF2EC2362C70F61731EC992239AF69B2AE389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C07E7E81EEA8A9722B8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B636DA1BED736F9328CC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB8D32BA5DBAC0009BE9E8FC8737B5C224937681D504217FE8376E601842F6C81A12EF20D2F80756B5F7E9C4E3C761E06A776E601842F6C81A127C277FBC8AE2E8B293F4539A6A6C8B83AA81AA40904B5D9DBF02ECDB25306B2B25CBF701D1BE8734AD6D5ED66289B5278DA827A17800CE7B2B7C64F398C741067F23339F89546C5A8DF7F3B2552694A6FED454B719173D6725E5C173C3A84C3E2C51E5CF308F7B035872C767BF85DA2F004C906525384306FED454B719173D6462275124DF8B9C9AE7E30DF62CE24E4E5BFE6E7EFDEDCD789D4C264860C145E X-B7AD71C0: 6FEFE4C63DFE2D85469AD6E133326EAB664F5199923B286E81C2AD9CFA0FBF5C9C2BBA594F31363B5803BE1F3B17DC36E8F7B195E1C97831459C404856DB8A4C1F507BE1843641A0 X-C1DE0DAB: 0D63561A33F958A5D742DA76173E27738F9C8EA70D1423A2D4B6BC0F539F2220D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75968C9853642EB7C3410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34A9A0A0BF1A2CAC62361F6B9B376F08D608E08013C711C74774E7989436893F8177ECB9902A8E2B6D1D7E09C32AA3244C89D52C997E376DE4F5960CEC37B7BAA6FE8DA44ABE2443F7FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojvz1c9SWJtj/o/ByGsOiP0g== X-Mailru-Sender: 504CC1E875BF3E7D9BC0E5172ADA311047F8FE497FF0DBB5B4D617B064EC684401A9439201B89D6F07784C02288277CA03E0582D3806FB6A5317862B1921BA260ED6CFD6382C13A6112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH vshard 08/11] storage: introduce bucket_are_all_rw() X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Vladislav Shpilevoy via Tarantool-patches Reply-To: Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Thanks for the review! On 24.02.2021 11:27, Oleg Babin via Tarantool-patches wrote: > Thanks for your patch. > > Seems here I should return to one of my previous e-mail. > > Maybe it's reasonable to cache all bucket stats? Responded in the other email. Short answer: the other stats are needed rare. Mostly during rebalancing, when the caches will be invalidated constantly anyway. The ones I optimized in this patchset are going to be needed often. Super often if map-reduce is actively used.