-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I assume that if we are going to split the job at a higher level (say letters) we would like to split them as evenly as possible.
I took a quick count of how many classes there are in each letter:
A = 327
B = 196
C = 1300
D = 196
E = 937
F = 347
G = 467
H = 546
I = 57
J = 31
K = 98
L = 702
M =1360
N = 95
O = 98
P = 1096
Q = 4
R = 187
S = 393
T = 261
U = 31
V = 0
W = 11
X = 14
Y = 0
Z = 0
0 = 0
1 = 0
2 = 0
3 = 0
4 = 0
5 = 0
6 = 0
7 = 0
8 = 0
9 = 0
And I came up with two splits, depending on if we can split letters
# With letter splitting (threadcount == 18)
A + B = 523
D + F = 543
C/2 = 650
C/2 = 650
E/2 = 468.5
E/2 = 468.5
G = 467
H = 546
I + J + K + N + O = 379
L/2 = 351
L/2 = 351
M/2 = 680
M/2 = 680
P/2 = 548
P/2 = 548
Q + R + S = 584
T + U + V + W + X + Y + Z etc… = 317
# Without letter splitting (threadcount == 8)
A + B + D + F = 1,066
C = 1,300
E = 937
G + H = 1,013
I + J + K + L + N + O = 1,081
M = 1,360
P = 1,096
Q + R + S + T + U + V + W + X + Y + Z etc… = 901
I am not sure if we should bother with splitting them up like this, but it may be nice to, if we decide to run a set of jobs by letter, add multiple jobs for the letters C, E, L, M, and P, such that the scraper could run faster.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels