Skip to content

Commit 7109d31

Browse files
committed
Tweak UI help text for creating Cloud Filesystems
1 parent 591d523 commit 7109d31

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

src/packages/frontend/compute/cloud-filesystem/bucket.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ export function BucketStorageClass({ configuration, setConfiguration }) {
3838
style={{ margin: "10px" }}
3939
showIcon
4040
type="info"
41-
message={`Recommendation: Use Autoclass`}
41+
message={`Recommendation: Autoclass`}
4242
description={
4343
<>
44-
Use{" "}
44+
Unless you understand why a different choice is better for your
45+
data, use{" "}
4546
<A href="https://cloud.google.com/storage/docs/autoclass">
4647
autoclass
4748
</A>
@@ -56,8 +57,8 @@ export function BucketStorageClass({ configuration, setConfiguration }) {
5657
priceData,
5758
}),
5859
)}{" "}
59-
per million blocks (there are 65,536 blocks of size 16 MB in a 1 TB
60-
file).
60+
per million blocks (there are 65,536 blocks of size 16 MB in 1 TB of
61+
data).
6162
</>
6263
}
6364
/>
@@ -67,7 +68,7 @@ export function BucketStorageClass({ configuration, setConfiguration }) {
6768
(bucket_storage_class) => {
6869
const { min, max } = getDataStoragePriceRange({
6970
...configuration,
70-
prices:priceData,
71+
prices: priceData,
7172
bucket_storage_class,
7273
});
7374
return {
@@ -227,8 +228,8 @@ export function BucketLocation({ configuration, setConfiguration }) {
227228
</A>
228229
</b>
229230
{NO_CHANGE}
230-
You can use your cloud file system from any compute server in the world, in
231-
any cloud or on prem. However, data transfer and operations are{" "}
231+
You can use your cloud file system from any compute server in the world,
232+
in any cloud or on prem. However, data transfer and operations are{" "}
232233
<b>faster and cheaper</b> when the file system and compute server are in
233234
the same region. <br />
234235
<div style={{ display: "flex", margin: "10px 0" }}>

src/packages/frontend/compute/cloud-filesystem/create.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ function Compression({ configuration, setConfiguration }) {
411411
style={{ margin: "10px" }}
412412
showIcon
413413
type="info"
414-
message={`Recommendation`}
414+
message={`Recommendation: LZ4`}
415415
description={
416416
<>
417417
Do not enable compression if most of your data is already
@@ -444,20 +444,18 @@ function BlockSize({ configuration, setConfiguration }) {
444444
<b style={{ fontSize: "13pt", color: "#666" }}>Block Size</b>
445445
{NO_CHANGE}
446446
The block size, which is between {MIN_BLOCK_SIZE} MB and {MAX_BLOCK_SIZE}{" "}
447-
MB, is an upper bound on the size of the objects that are storied in the
447+
MB, is an upper bound on the size of the objects that are stored in the
448448
cloud storage bucket.
449449
<Alert
450450
style={{ margin: "10px" }}
451451
showIcon
452452
type="info"
453-
message={`Recommendation: use ${RECOMMENDED_BLOCK_SIZE} MB`}
453+
message={`Recommendation: ${RECOMMENDED_BLOCK_SIZE} MB`}
454454
description={
455455
<>
456-
It can be better to use a large block size, since the number of PUT
457-
and GET operations is reduced, and they each cost money. Also, if
458-
you use an autoclass storage class, use at least{" "}
459-
{RECOMMENDED_BLOCK_SIZE} MB since there is a monthly per-object
460-
cost, and consider {MAX_BLOCK_SIZE} MB.
456+
Larger block size reduces the number of PUT and GET operations, and
457+
they each cost money. Also, if you use an autoclass storage class,
458+
there is a monthly per-object cost.
461459
</>
462460
}
463461
/>

0 commit comments

Comments
 (0)