-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add sharding calculator #584
Open
SilPan
wants to merge
45
commits into
main
Choose a base branch
from
floyd/calculator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 39 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
9cfe5f6
test calculator
598d112
add .html and .js
64f8300
calculator.js : put function
d99493d
change design
c32466e
change shard calculator to newest version
b458bf1
correct error in shard calculator
892e16e
correct error in shard calculator
26f2aa5
apply sharding-calculator storage recommendation update
e10037c
select schema, table from database and get it's name as string in Jav…
177e25c
implement querying of host cpu cores
b5d2554
Merge remote-tracking branch 'origin/floyd/calculator' into floyd/cal…
6ced847
change iterative shardsize calculation to deterministic
528a052
read real table name
bcf4e48
read real table name
212af05
exclude ram/storage
b762df3
implement fetching of RAMStoragePropotion
252adc3
fix some bugs
cfbf232
add proper link to calculator on help page
0aee585
add translation support
82bd134
Merge remote-tracking branch 'origin/floyd/calculator' into floyd/cal…
8f6befd
move translation to tutorial/static/i18n
bdd9d46
implement RAM as input
ac6b912
compromise on haudi's and andrei's maxmimum shard size opinions
9cf8a90
add german translation
d62b1e8
design
229901f
Update de.json
NinaFeuer f3d436a
Update en.json
NinaFeuer 6c3e1f6
re-add RAM as input parameter
efc653b
add more style in html and add css:disabled view
d24402b
fix loadTable size
bd3373c
fix design
e378903
fix design
7372aee
fix design
5b29bc8
fix design
bf83710
remove .orig files
2ea3338
fix css for radio buttons
62ca084
Merge remote-tracking branch 'origin/floyd/calculator' into floyd/cal…
dfce873
fix css for radio buttons; change units to element
f4afe4a
final solution for radio button css
258d89b
fixup
e3aa364
fixup
0ff7017
fixup
bf8162f
fixup
db5f9c5
fix a bug where RAMPerNode was not loaded properly from DB
24f2257
it's called GibiByte not GigiByte
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
|
||
.cr-panel-block--calculator{ /* refer to .cr-panel-block--info */ | ||
/* big box */ | ||
background-color: #353535; | ||
margin-top: 10px; | ||
margin-bottom: 10px; | ||
padding-top: 0px; | ||
padding-right: 10px; | ||
padding-bottom: 10px; | ||
padding-left: 10px; | ||
border: 1px solid #545454; | ||
} | ||
|
||
.cr-panel-block__calculator{ /* refer to cr-panel-block__item */ | ||
margin: 5px; | ||
} | ||
.cr-panel-block__calculator__header{ | ||
padding-bottom: 3px; | ||
letter-spacing: 0.6px; | ||
font-weight: bold; | ||
background-color: #353535; | ||
font-size: 10px; | ||
} | ||
|
||
.cr-panel-block__calculator__content{ | ||
/* small box */ | ||
width:100%; | ||
margin-left:10px; | ||
margin-right:10px; | ||
margin-top:0px; | ||
margin-bottom:0px; | ||
padding: 7px; | ||
font-size: 13px; | ||
overflow: hidden; | ||
word-break: normal; | ||
border: 1px solid #242424 !important; | ||
border-radius: 3px; | ||
background: #242424 !important; | ||
} | ||
|
||
|
||
.result { | ||
font-size:14px; | ||
font-weight: bold; | ||
color: #55d4f5; /*crate blue*/ | ||
} | ||
|
||
|
||
.last_row { | ||
padding-bottom:0px !important; | ||
margin-bottom:0px !important; | ||
} | ||
|
||
.column { | ||
float: left; | ||
width: 50%; | ||
padding: 5px; | ||
} | ||
|
||
/* Clear floats after the columns */ | ||
.row:after { | ||
content: ""; | ||
display: table; | ||
clear: both; | ||
} | ||
|
||
input{ | ||
width:50px; | ||
background-color:#545454; | ||
border: 1px solid #545454; | ||
border-radius: 4px; | ||
} | ||
|
||
|
||
input:disabled { | ||
color: #606060; | ||
} | ||
|
||
select { | ||
width:auto; | ||
background-color:#545454; | ||
border: 1px solid #545454; | ||
border-radius: 4px; | ||
} | ||
|
||
select:disabled { | ||
color: #606060; | ||
} | ||
|
||
.crb-conatiner { /*crb ... cool-radio-button*/ | ||
width: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.crb-button { /*crb ... cool-radio-button*/ | ||
float: left; | ||
padding-left: -25px; | ||
margin-right: -15px; | ||
} | ||
|
||
.crb-description { /*crb ... cool-radio-button*/ | ||
padding-top: 0.3%; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This testing section doesn't seem used, please remove it