-
Notifications
You must be signed in to change notification settings - Fork 1
ElastiCache docs initial version #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| description: AWS ElastiCache, in-memory data storage and cache services for your serverless functions, with SLAppForge Sigma cloud IDE | ||
| --- | ||
|
|
||
| #  AWS ElastiCache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to add an alt-text (e.g. just "ElastiCache": ![ElastiCache]...)
|
|
||
| ElastiCache is a fully managed, in-memory data store for enterprise-level, data-intensive applications. ElastiCache | ||
| can improve the performance of consumer applications, by retrieving data from its in-memory data stores with high throughput and low latency. | ||
| ElastiCache supports two open-source cache engines, Amazon ElastiCache for Redis and Amazon ElastiCache for Memcached. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
, Redis and Memcached
(drop "Amazon ElastiCache for " part coz that's not part of the open-source engine name)
|
|
||
| ### New Redis Cluster | ||
|
|
||
| To create a new cluster, first, go to the **New Cluster** tab of the configuration panel. Inorder to create new Redis cluster following configurations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order
| ### New Redis Cluster | ||
|
|
||
| To create a new cluster, first, go to the **New Cluster** tab of the configuration panel. Inorder to create new Redis cluster following configurations | ||
| required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are required
| Node Type | :white_check_mark: | The compute and memory capacity of the node | ||
| Cluster mode | :white_check_mark: | Standalone or Clustered | ||
| Multi-AZ with Auto-failover | :white_check_mark: | Auto failover with multi availability zones | ||
| Number of Shards | :white_check_mark: | Number of shards in the cluster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to link "shards" to any available AWS docs describing it
| Cluster mode | :white_check_mark: | Standalone or Clustered | ||
| Multi-AZ with Auto-failover | :white_check_mark: | Auto failover with multi availability zones | ||
| Number of Shards | :white_check_mark: | Number of shards in the cluster | ||
| Number of Replicas | :white_check_mark: | Number of replicas within a single shard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see above; for "replicas"
|
|
||
| Field | Constraints | ||
| --- | --- | ||
| Multi-AZ with Auto-failover | Only available in standalone mode(cluster mode disabled). In cluster mode enabled by default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a few words describing what it is (possibly with an AWS doc link)
"mode (cluster" (space)
(when cluster mode is disabled)
In cluster mode_, this is_ enabled
"... enabled by default" does this mean that you can also disable it in cluster mode?
| Field | Constraints | ||
| --- | --- | ||
| Multi-AZ with Auto-failover | Only available in standalone mode(cluster mode disabled). In cluster mode enabled by default | ||
| Number of Shards | Only available in cluster mode, minimum:2 maximum:15. Otherwise, default to be 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mode_; minimum: 2, maximum: 15_.
Drop "Otherwise", "be" (just "Defaults to 1.")
| --- | --- | ||
| Multi-AZ with Auto-failover | Only available in standalone mode(cluster mode disabled). In cluster mode enabled by default | ||
| Number of Shards | Only available in cluster mode, minimum:2 maximum:15. Otherwise, default to be 1 | ||
| Number of Replicas | Maximum: 6, If Multi-AZ with Auto-failover enabled minimum should be 2, 1 otherwise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maximum: 6; minimum: 2 if Multi..., 1 otherwise
| #### Cluster Engine Configuration | ||
|
|
||
| <p align="center"> | ||
| <img style="Padding:20px" width="400" src="./images/elasticache/ecache_cluster_conf.png"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to add alt-text (e.g. alt="ElastiCache cluster engine configuration")
| #### Cluster Settings | ||
|
|
||
| <p align="center"> | ||
| <img style="Padding:20px" width="400" src="./images/elasticache/ecache_cluster_settings.png"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see above
|
|
||
| Field | Required | Description | ||
| --- | :---: | --- | ||
| Cluster Name | :white_check_mark: | Name for the cluster to be used as an identifier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cluster_; this will also_ be used as a code-level identifier
| --- | :---: | --- | ||
| Cluster Name | :white_check_mark: | Name for the cluster to be used as an identifier | ||
| Cluster Description | :white_check_mark: | Description for the cluster | ||
| Port | :white_check_mark: | The port number on which cluster accepts connections |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the cluster should accept conn..
| Port | :white_check_mark: | The port number on which cluster accepts connections | ||
| | ||
|
|
||
| Field | Constraints |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a separate table (since there's only one entry)? Can't we simply mention the constraints under Cluster Name on the previous table?
|
|
||
| #### VPC Configuration | ||
|
|
||
| When creating a new ElastiCache cluster, you need to configure a VPC as well. Sigma enables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better if
Sigma allows you to
create a new
existing VPC.
|
|
||
| ##### Create New VPC | ||
|
|
||
| To create new VPC, expand VPC settings and select **Create New VPC** option from VPC type dropdown. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a new
VPC Settings
the VPC Type
| To create new VPC, expand VPC settings and select **Create New VPC** option from VPC type dropdown. | ||
|
|
||
| <p align="center"> | ||
| <img style="Padding:20px" width="400" src="./images/elasticache/ecache_new_vpc.png"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alt-text
| Engine Version | :white_check_mark: | The version number of the cache engine to be used for the cluster | ||
| Node Type | :white_check_mark: | The compute and memory capacity of the node | ||
| Cluster mode | :white_check_mark: | Standalone or Clustered | ||
| Multi-AZ with Auto-failover | :white_check_mark: | Auto failover with multi availability zones |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see below; for "Multi-AZ with Auto-failover"
| Field | Required | Description | ||
| --- | :---: | --- | ||
| VPC Name | :white_check_mark: | Name of the VPC | ||
| CIDR block | :white_check_mark: | IPv4 CIDR block for the VPC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to link if there are any AWS docs (same for subnet and its CIDR block, below)
| Engine | :white_check_mark: | The cache engine type to be used for the cluster | ||
| Engine Version | :white_check_mark: | The version number of the cache engine to be used for the cluster | ||
| Node Type | :white_check_mark: | The compute and memory capacity of the node | ||
| Cluster mode | :white_check_mark: | Standalone or Clustered |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_M_ode
Clustered (multiple instances) if disabled, standalone (single instance) otherwise
| --- | :---: | --- | ||
| Engine | :white_check_mark: | The cache engine type to be used for the cluster | ||
| Engine Version | :white_check_mark: | The version number of the cache engine to be used for the cluster | ||
| Node Type | :white_check_mark: | The compute and memory capacity of the node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about Instance Family radio selection?
|
|
||
| ##### Using Existing VPC | ||
|
|
||
| To use already existing VPC, select **Existing VPC** option from VPC type under VPC settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see above
| CIDR block for subnet | :white_check_mark: | IPv4 CIDR block for the private subnet | ||
|
|
||
| **Important:** | ||
| > **When creating a new VPC, make sure your lambda is also deploying in the same VPC. Select No VPC option |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_L_ambda (* 3)
**No VPC**
. This will allow Sigma IDE to automatically deploy (delete "ed")
| To use already existing VPC, select **Existing VPC** option from VPC type under VPC settings. | ||
|
|
||
| <p align="center"> | ||
| <img style="Padding:20px" width="400" src="./images/elasticache/ecache_existing_vpc.png"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alt text
| <img style="Padding:20px" width="400" src="./images/elasticache/ecache_new_vpc.png"> | ||
| </p> | ||
|
|
||
| Field | Required | Description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use exact field names as in the popup ("IPv4 CIDR block for VPC", "SubNet Name", "IPv4 CIDR block for Private Subnet")
P.S. better if we can rename SubNet -> Subnet in the UI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double-check other places too, to see if there are label discrepancies
| **Important:** | ||
| > **When using an existing VPC, make sure your lambda function is also deployed in the same VPC. Either select the same VPC | ||
| (with the same Subnet and Security Group) that you selected for ElastiCache cluster in lambda advanced configuration or | ||
| leave 'No Vpc' option so that Sigma IDE will be able to deployed your lambda function in the same VPC as ElastiCache cluster** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_L_ambda (check all)
for the Elasti..
_A_dv.. _C_onf..
maybe don't make the whole sentence boldface (since "Important" is already in bold); instead make just boldface the important phrases, e.g.
No VPC (bold, case)
able to deploy (delete "ed")
as the Elasti.. cluster_._
| ### Existing Redis Cluster | ||
|
|
||
| To choose an existing redis cluster, go to the **Existing Cluster** tab of the configuration panel. Existing cluster | ||
| instances can be selected from Existing cluster dropdown. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Existing Cluster** (bold, C)
| } | ||
| }); | ||
| ``` | ||
| ### Testing your cluster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_Y_our _C_luster
|
|
||
| **Important:** | ||
| >**At the moment you cannot test ElasitiCache operations using Sigma IDE test lambda. We will enable this feature | ||
| in near future for you.** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the
| ### Testing your cluster | ||
|
|
||
| **Important:** | ||
| >**At the moment you cannot test ElasitiCache operations using Sigma IDE test lambda. We will enable this feature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ElastiCache (spelling)
within the Sigma IDE test environment.
|
|
||
| ### ElastiCache for Redis Operations | ||
|
|
||
| Sigma IDE currently supports following categories of Redis operations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
supports the
|
|
||
| - Description | ||
|
|
||
| Set a timeout in seconds on key. The key will be automatically deleted after the timeout has been expired. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set_s_
timeout is reached.
| - Description | ||
|
|
||
| Set a timeout in seconds on key. The key will be automatically deleted after the timeout has been expired. | ||
| A key which associated with a timeout is said to be volatile in Redis terminology. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
which is
better to make "volatile" italic or boldface
|
|
||
| Parameter | Type | Required | ||
| :---: | :---: | :---: | ||
| Key | String | :white_check_mark: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better if parameter names are in code style
|
|
||
| - Description | ||
|
|
||
| Remove the existing timeout on key, making the key from volatile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove_s_
making -> changing
| - Description | ||
|
|
||
| Remove the existing timeout on key, making the key from volatile | ||
| to persistent (a key with no timeout is association). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no timeout associated).
|
|
||
| Return type | Success | Failure | ||
| :---: | :---: | :---: | ||
| Integer | `1` | `0` if key does not have associated time out or key does not exists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have an
timeout (one word)
exist (no s)
|
|
||
| - Description | ||
|
|
||
| Remove the existing timeout on key, making the key from volatile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update description
|
|
||
| - Description | ||
|
|
||
| Rename a key into a new key. If new key already exists then its value will be overwritten. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename_s_
|
|
||
| - Description | ||
|
|
||
| Append value at the end of string key if key does exists. If key does not exists, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Append_s_ the (also make other descriptions singular as such)
exist (* 2)
and append the value
|
|
||
| Return type | Success | Failure | ||
| :---: | :---: | :---: | ||
| String | Type of the key | `none` if key does not exists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exist (no s)
also check other "does not exists" type occurrences
|
|
||
| Return type | Success | ||
| :---: | :---: | ||
| Integer | The length of the string after the operation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete trailing dot
|
|
||
| - Description | ||
|
|
||
| Decrement the value of the key by decrement. Limited to 64 but signed integers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"by decrement amount"
64-bit ?
|
|
||
| Return type | Success | Failure | ||
| :---: | :---: | :---: | ||
| Integer | Value of the key after the operation. | An `error` if the key contains a value of the wrong type or contains a string that can not be represented as integer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete trailing dot on Success column (also check other occurrences)
as an integer
|
|
||
| Return type | Success | Failure | ||
| :---: | :---: | :---: | ||
| Bulk String | Value of the key. | `Null` if the key does not exists, An `error` if the stored value is not a string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trailing dot
Null or null?
exist (no s)
, or _a_n (lowercase)
|
|
||
| - Description | ||
|
|
||
| Increment the value of the key by increment. Limited to 64 but signed integers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see above
|
|
||
| - Description | ||
|
|
||
| Create new key with string value and set key to timeout after the given timeout in seconds. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create_s_
set_s_
"to expire" sounds better IMO
|
|
||
| Return type | Success | Failure | ||
| :---: | :---: | :---: | ||
| String | `OK` | An `error` if the seconds are invalid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seconds value is invalid
|
|
||
| - Description | ||
|
|
||
| Create new key with string value. If key holds a value, it will overwritten regardless |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be
on a succ..
|
|
||
| Return type | Success | Failure | ||
| :---: | :---: | :---: | ||
| Integer | The length of the value stored in the key | `0` if key does not exists, An `error` if the key holds non string value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
, _or a_n
holds a non-string (dash)
|
|
||
| - Description | ||
|
|
||
| Add the specified members to the set stored at key. Specified members that already contains in the set are ignored. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
. Members that are already contained
|
|
||
| Return type | Success | ||
| :---: | :---: | ||
| Integer | Number of members that were added to the set, not including all the members that already present in the set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excluding members that were (delete "all the")
| - Description | ||
|
|
||
| Equivalent command to SDIFF, but instead of returning the resulting set, | ||
| this command will stored resulting set in specified destination. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
store (no d)
check other occurrences too
in the
|
|
||
| - Description | ||
|
|
||
| Returns if a element(s) is a member of the specified set. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whether a_n_
|
|
||
| - Response | ||
|
|
||
| Return type | Success | Failure | Failure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 2 "Failure" columns?
|
|
||
| - Description | ||
|
|
||
| Returns the members of the set resulting from the addition(union) of all the given sets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addition (union)
(space)
| - Description | ||
|
|
||
| Equivalent command to SUNION, but instead of returning the resulting set, | ||
| this command will be stored resulting set in specified destination. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will store the
in the
No description provided.