[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFR] templates://kumofs/{templates}



Christian PERRIER wrote:
> Your review should be sent as an answer to this mail.

Okay, but I'm hoping for other contributors.

> Rationale:
>  Template: kumofs/select_components
>  Type: multiselect
>  Choices: kumo-manager, kumo-server, kumo-gateway
> -_Description: Execute components you want
> - Components you want to run at this host.
> +_Description: Kumofs components to run on this host:
> + Please choose which of kumofs components you want to run on this
> + host.

Is that "which of kumofs's components"?  I'd say

    Please choose which components of kumofs should run on this host.

Meanwhile the Internet tells me
| kumo-servers store data and replicate them into other
| kumo-servers.  kumo-managers watch life or death of kumo-servers
| and proceed automatic rebalancing when the number of kumo-servers
| is changed. kumo-gatway relay the requests from client
| applications to kumo-servers. Because kumo-gateway implements
| memcached protocol, you can use memcached client library to access
| kumofs.

So we could add:
   * kumo-servers store data and replicate it into other servers;
   * kumo-managers monitor and balance the servers;
   * kumo-gateways relay requests from client applications.

>  Template: kumofs/manager_options

Okay.  And likewise for the other *_options.

>  Description: simple and fast distributed key-value store
>   Kumofs is a simple and fast distributed key-value store. You can use
>   a memcached client library to set, get, CAS or delete values from/into
> + kumofs. The backend storage is Tokyo Cabinet, which is targeted to improve
> + the performance.
>   .
> + Main features of kumofs:
> +  * data is partitioned and replicated over multiple servers;
> +  * very high performance on single node systems; comparable with memcached;
> +  * read and write performance improve when servers are added;
> +  * servers can be added, restarted or removed on the fly without any
> +    configuration change;
> +  * includes an automatic rebalancing support with a consistency
> +    control algorithm;
> +  * includes safe CAS operation support;
> +  * includes memcached protocol support.
> 
> Frankly speaking, even after reading that description, I have so real
> idea of what this thing is about..:-)
> 
> OK, this is a "store" for "key-value" data. Fine.

If I knew another phrase that I could be sure meant the same thing
I'd put it in the first line to reduce repetition.
 
> But why is it good to have it on my system? Dunno. I looked around
> briefly in the source, but couldn't get much more clue.
> 
> Also, I have no idea of what "to CAS" is as one is supposed to be able
> to set, to get and....."to CAS".

Me neither.  Compare-And-Swap?  Columnn-Address-Select?  Aha!
http://frsyuki.wordpress.com/2010/05/14/compare-and-swap-on-kumofs/

    Kumofs is a simple and fast distributed key-value store which can use
    a memcached client library to get, set, delete, or compare-and-swap
    values. Tokyo Cabinet serves as a high-performance back-end.
    .
    Main features of kumofs:
     * data is partitioned and replicated over multiple servers;
     * performance on single node systems is comparable with memcached;
     * read and write performance improve when servers are added;
     * servers can be added, restarted, or removed on the fly with no
       configuration change;
     * automatic rebalancing is supported via a consistency control
       algorithm;
     * it provides a safe Compare-And-Swap operation;
     * the memcached protocol is supported.
    .
    Kumofs is used at Nico Nico Douga, the most popular video sharing
    service in Japan.

That last line is from the home page.  I hope it means "used" for
something mission-critical, not in the same sense that Minesweeper
is used at NASA... unfortunately there's some risk it'll go stale,
if NND vanishes or gets bought by Microsoft or something.

(Why-the-name footnote: kumo = spider.  Um...)
-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package
Template: kumofs/select_components
Type: multiselect
Choices: kumo-manager, kumo-server, kumo-gateway
_Description: Kumofs components to run on this host:
 Please choose which components of kumofs should run on this host.
  * kumo-servers store data and replicate it into other servers;
  * kumo-managers monitor and balance the servers;
  * kumo-gateways relay requests from client applications.

Template: kumofs/manager_options
Type: string
Default: -l localhost
_Description: Command-line options for kumo-manager:
  Please specify the command-line options to use with kumo-manager.
  .
  The default value is well adapted for a single-node setup.

Template: kumofs/server_options
Type: string
Default: -m localhost -l localhost -s /var/lib/kumofs/kumofs.tch
_Description: Command-line options for kumo-server:
  Please specify the command-line options to use with kumo-manager.
  .
  The default value is well adapted for a single-node setup.

Template: kumofs/gateway_options
Type: string
Default: -m localhost -t 11211
_Description: Command-line options for kumo-gateway:
 Please specify the command-line options to use with kumo-gateway.
 .
 The default value is well adapted for a single-node setup.
Source: kumofs
Section: misc
Priority: extra
Maintainer: Taku YASUI <tach@debian.org>
Build-Depends: cdbs, debhelper (>= 7.0.50~), dpatch, po-debconf, autotools-dev, chrpath
Standards-Version: 3.9.1
Homepage: http://kumofs.sourceforge.net/
#Vcs-Git: git://git.debian.org/collab-maint/kumofs.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/kumofs.git;a=summary

Package: kumofs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby, libmsgpack-ruby1.8, adduser
Description: simple and fast distributed key-value store
 Kumofs is a simple and fast distributed key-value store which can use
 a memcached client library to get, set, delete, or compare-and-swap
 values. Tokyo Cabinet serves as a high-performance back-end.
 .
 Main features of kumofs:
  * data is partitioned and replicated over multiple servers;
  * performance on single node systems is comparable with memcached;
  * read and write performance improve when servers are added;
  * servers can be added, restarted, or removed on the fly with no
    configuration change;
  * automatic rebalancing is supported via a consistency control
    algorithm;
  * it provides a safe Compare-And-Swap operation;
  * the memcached protocol is supported.
 .
 Kumofs is used at Nico Nico Douga, the most popular video sharing
 service in Japan.
--- ../kumofs-0.4.12.pristine/debian/templates	2010-09-06 17:53:28.000000000 +0100
+++ debian/templates	2010-10-20 09:57:18.000000000 +0100
@@ -1,26 +1,32 @@
 Template: kumofs/select_components
 Type: multiselect
 Choices: kumo-manager, kumo-server, kumo-gateway
-_Description: Execute components you want
- Components you want to run at this host.
+_Description: Kumofs components to run on this host:
+ Please choose which components of kumofs should run on this host.
+  * kumo-servers store data and replicate it into other servers;
+  * kumo-managers monitor and balance the servers;
+  * kumo-gateways relay requests from client applications.
 
 Template: kumofs/manager_options
 Type: string
 Default: -l localhost
-_Description: kumo-manager command-line options:
- Specify kumo-manager command-line options.
- The default value is for single node environment.
+_Description: Command-line options for kumo-manager:
+  Please specify the command-line options to use with kumo-manager.
+  .
+  The default value is well adapted for a single-node setup.
 
 Template: kumofs/server_options
 Type: string
 Default: -m localhost -l localhost -s /var/lib/kumofs/kumofs.tch
-_Description: kumo-server command-line options:
- Specify kumo-server command-line options.
- The default value is for single node environment.
+_Description: Command-line options for kumo-server:
+  Please specify the command-line options to use with kumo-manager.
+  .
+  The default value is well adapted for a single-node setup.
 
 Template: kumofs/gateway_options
 Type: string
 Default: -m localhost -t 11211
-_Description: kumo-gateway command-line options:
- Specify kumo-gateway command-line options.
- The default value is for single node environment.
+_Description: Command-line options for kumo-gateway:
+ Please specify the command-line options to use with kumo-gateway.
+ .
+ The default value is well adapted for a single-node setup.
--- ../kumofs-0.4.12.pristine/debian/control	2010-09-06 18:06:12.000000000 +0100
+++ debian/control	2010-10-20 10:53:18.000000000 +0100
@@ -12,18 +12,20 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby, libmsgpack-ruby1.8, adduser
 Description: simple and fast distributed key-value store
- Kumofs is a simple and fast distributed key-value store. You can use
- a memcached client library to set, get, CAS or delete values from/into
- kumofs. Backend storage is Tokyo Cabinet and it will give you great
- performance.
+ Kumofs is a simple and fast distributed key-value store which can use
+ a memcached client library to get, set, delete, or compare-and-swap
+ values. Tokyo Cabinet serves as a high-performance back-end.
  .
-  * Data is partitioned and replicated over multiple servers.
-  * Extreme single node performance; comparable with memcached.
-  * Both read and write performance got improved as servers added.
-  * Servers can be added without stopping the system.
-  * Servers can be added without modifying any configuration files.
-  * The system does not stop even if one or two servers crashed.
-  * The system does not stop to recover crashed servers.
-  * Automatic rebalancing support with a consistency control algorithm.
-  * Safe CAS operation support.
-  * memcached protocol support.
+ Main features of kumofs:
+  * data is partitioned and replicated over multiple servers;
+  * performance on single node systems is comparable with memcached;
+  * read and write performance improve when servers are added;
+  * servers can be added, restarted, or removed on the fly with no
+    configuration change;
+  * automatic rebalancing is supported via a consistency control
+    algorithm;
+  * it provides a safe Compare-And-Swap operation;
+  * the memcached protocol is supported.
+ .
+ Kumofs is used at Nico Nico Douga, the most popular video sharing
+ service in Japan.

Reply to: