-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e81ddb
commit b167e6e
Showing
71 changed files
with
14,016 additions
and
5 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Submodule load-gen
deleted from
015f08
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,24 @@ | ||
FROM python:3.10-slim | ||
|
||
# Install dependencies | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
python3-pip && \ | ||
mkdir /load | ||
|
||
# Install Python packages | ||
COPY requirements.txt . | ||
RUN pip3 install --no-cache-dir -r requirements.txt && \ | ||
rm requirements.txt | ||
|
||
# Copy source code | ||
COPY arrival_rates /load/arrival_rates | ||
COPY loadserver.py /load/loadserver.py | ||
|
||
# Set user | ||
USER nobody | ||
|
||
# Expose uvicorn port | ||
EXPOSE 8000 | ||
|
||
# Run the application | ||
CMD ["uvicorn", "load.loadserver:app", "--host", "0.0.0.0", "--port", "8000", "--log-level", "warning"] |
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 @@ | ||
# Synthetic Load Generation for Dynamic Cloud Configuration Management |
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,145 @@ | ||
time_upper,rate | ||
10.0,0.5436 | ||
20.0,0.5695 | ||
30.0,0.5927 | ||
40.0,0.5465 | ||
50.0,0.556 | ||
60.0,0.5444 | ||
70.0,0.5257 | ||
80.0,0.5327 | ||
90.0,0.5543 | ||
100.0,0.5463 | ||
110.0,0.5472 | ||
120.0,0.5374 | ||
130.0,0.5211 | ||
140.0,0.5612 | ||
150.0,0.572 | ||
160.0,0.5527 | ||
170.0,0.5748 | ||
180.0,0.5593 | ||
190.0,0.5304 | ||
200.0,0.5464 | ||
210.0,0.5628 | ||
220.0,0.5234 | ||
230.0,0.5421 | ||
240.0,0.514 | ||
250.0,0.5429 | ||
260.0,0.5358 | ||
270.0,0.5318 | ||
280.0,0.5317 | ||
290.0,0.5374 | ||
300.0,0.5506 | ||
310.0,0.5433 | ||
320.0,0.572 | ||
330.0,0.5733 | ||
340.0,0.531 | ||
350.0,0.5634 | ||
360.0,0.5598 | ||
370.0,0.5867 | ||
380.0,0.6276 | ||
390.0,0.6237 | ||
400.0,0.6099 | ||
410.0,0.6398 | ||
420.0,0.6074 | ||
430.0,0.6241 | ||
440.0,0.6588 | ||
450.0,0.6661 | ||
460.0,0.6693 | ||
470.0,0.685 | ||
480.0,0.6954 | ||
490.0,0.6823 | ||
500.0,0.6696 | ||
510.0,0.7031 | ||
520.0,0.701 | ||
530.0,0.7351 | ||
540.0,0.7171 | ||
550.0,0.7422 | ||
560.0,0.8034 | ||
570.0,0.7196 | ||
580.0,0.68 | ||
590.0,0.6585 | ||
600.0,0.6781 | ||
610.0,0.6612 | ||
620.0,0.6569 | ||
630.0,0.6744 | ||
640.0,0.6762 | ||
650.0,0.6421 | ||
660.0,0.6598 | ||
670.0,0.6468 | ||
680.0,0.6534 | ||
690.0,0.6263 | ||
700.0,0.6372 | ||
710.0,0.6439 | ||
720.0,0.6193 | ||
730.0,0.641 | ||
740.0,0.6531 | ||
750.0,0.651 | ||
760.0,0.6097 | ||
770.0,0.6096 | ||
780.0,0.619 | ||
790.0,0.6255 | ||
800.0,0.6392 | ||
810.0,0.6424 | ||
820.0,0.6267 | ||
830.0,0.6208 | ||
840.0,0.6272 | ||
850.0,0.6107 | ||
860.0,0.6289 | ||
870.0,0.6576 | ||
880.0,0.6591 | ||
890.0,0.6649 | ||
900.0,0.6765 | ||
910.0,0.652 | ||
920.0,0.6864 | ||
930.0,0.6569 | ||
940.0,0.6529 | ||
950.0,0.6463 | ||
960.0,0.6319 | ||
970.0,0.6441 | ||
980.0,0.6556 | ||
990.0,0.6485 | ||
1000.0,0.5995 | ||
1010.0,0.6061 | ||
1020.0,0.6221 | ||
1030.0,0.6097 | ||
1040.0,0.6108 | ||
1050.0,0.6067 | ||
1060.0,0.6034 | ||
1070.0,0.6201 | ||
1080.0,0.6053 | ||
1090.0,0.5988 | ||
1100.0,0.5764 | ||
1110.0,0.5804 | ||
1120.0,0.5945 | ||
1130.0,0.6145 | ||
1140.0,0.6004 | ||
1150.0,0.5748 | ||
1160.0,0.5681 | ||
1170.0,0.5812 | ||
1180.0,0.5934 | ||
1190.0,0.5802 | ||
1200.0,0.5709 | ||
1210.0,0.5849 | ||
1220.0,0.5661 | ||
1230.0,0.5483 | ||
1240.0,0.5608 | ||
1250.0,0.556 | ||
1260.0,0.5542 | ||
1270.0,0.5549 | ||
1280.0,0.5537 | ||
1290.0,0.5529 | ||
1300.0,0.5356 | ||
1310.0,0.538 | ||
1320.0,0.5273 | ||
1330.0,0.5294 | ||
1340.0,0.5236 | ||
1350.0,0.5349 | ||
1360.0,0.5353 | ||
1370.0,0.5154 | ||
1380.0,0.5185 | ||
1390.0,0.5284 | ||
1400.0,0.5289 | ||
1410.0,0.5104 | ||
1420.0,0.5017 | ||
1430.0,0.5011 | ||
1440.0,0.4995 |
Binary file not shown.
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,145 @@ | ||
time_upper,rate | ||
10.0,0.1192 | ||
20.0,0.115 | ||
30.0,0.1162 | ||
40.0,0.1215 | ||
50.0,0.1211 | ||
60.0,0.1192 | ||
70.0,0.111 | ||
80.0,0.1168 | ||
90.0,0.118 | ||
100.0,0.1286 | ||
110.0,0.1296 | ||
120.0,0.1268 | ||
130.0,0.1293 | ||
140.0,0.1295 | ||
150.0,0.1308 | ||
160.0,0.1294 | ||
170.0,0.1302 | ||
180.0,0.1233 | ||
190.0,0.1339 | ||
200.0,0.1227 | ||
210.0,0.127 | ||
220.0,0.1231 | ||
230.0,0.1232 | ||
240.0,0.1274 | ||
250.0,0.1353 | ||
260.0,0.1386 | ||
270.0,0.1328 | ||
280.0,0.1397 | ||
290.0,0.1893 | ||
300.0,0.1294 | ||
310.0,0.1375 | ||
320.0,0.1337 | ||
330.0,0.1305 | ||
340.0,0.1237 | ||
350.0,0.1267 | ||
360.0,0.1248 | ||
370.0,0.1365 | ||
380.0,0.1586 | ||
390.0,0.1612 | ||
400.0,0.1642 | ||
410.0,0.1739 | ||
420.0,0.1638 | ||
430.0,0.1804 | ||
440.0,0.1614 | ||
450.0,0.1711 | ||
460.0,0.1681 | ||
470.0,0.2032 | ||
480.0,0.1707 | ||
490.0,0.2282 | ||
500.0,0.1829 | ||
510.0,0.1883 | ||
520.0,0.1877 | ||
530.0,0.196 | ||
540.0,0.1673 | ||
550.0,0.1688 | ||
560.0,0.1758 | ||
570.0,0.1562 | ||
580.0,0.1615 | ||
590.0,0.1625 | ||
600.0,0.1682 | ||
610.0,0.1625 | ||
620.0,0.1777 | ||
630.0,0.167 | ||
640.0,0.1584 | ||
650.0,0.1553 | ||
660.0,0.1508 | ||
670.0,0.1533 | ||
680.0,0.1575 | ||
690.0,0.158 | ||
700.0,0.1497 | ||
710.0,0.1585 | ||
720.0,0.1508 | ||
730.0,0.1619 | ||
740.0,0.1603 | ||
750.0,0.1644 | ||
760.0,0.1624 | ||
770.0,0.1671 | ||
780.0,0.1596 | ||
790.0,0.1747 | ||
800.0,0.2038 | ||
810.0,0.1998 | ||
820.0,0.1918 | ||
830.0,0.1873 | ||
840.0,0.1618 | ||
850.0,0.1561 | ||
860.0,0.1567 | ||
870.0,0.1582 | ||
880.0,0.1612 | ||
890.0,0.1558 | ||
900.0,0.1414 | ||
910.0,0.15 | ||
920.0,0.1535 | ||
930.0,0.1544 | ||
940.0,0.1574 | ||
950.0,0.162 | ||
960.0,0.1582 | ||
970.0,0.1641 | ||
980.0,0.1633 | ||
990.0,0.1631 | ||
1000.0,0.1676 | ||
1010.0,0.1579 | ||
1020.0,0.1557 | ||
1030.0,0.155 | ||
1040.0,0.1574 | ||
1050.0,0.1531 | ||
1060.0,0.1542 | ||
1070.0,0.1486 | ||
1080.0,0.1521 | ||
1090.0,0.1653 | ||
1100.0,0.1639 | ||
1110.0,0.1576 | ||
1120.0,0.1592 | ||
1130.0,0.1572 | ||
1140.0,0.1588 | ||
1150.0,0.1563 | ||
1160.0,0.1508 | ||
1170.0,0.1567 | ||
1180.0,0.1618 | ||
1190.0,0.1462 | ||
1200.0,0.1421 | ||
1210.0,0.1485 | ||
1220.0,0.1454 | ||
1230.0,0.1445 | ||
1240.0,0.1475 | ||
1250.0,0.1467 | ||
1260.0,0.1545 | ||
1270.0,0.1364 | ||
1280.0,0.1313 | ||
1290.0,0.1338 | ||
1300.0,0.1358 | ||
1310.0,0.1304 | ||
1320.0,0.1278 | ||
1330.0,0.1303 | ||
1340.0,0.1318 | ||
1350.0,0.1337 | ||
1360.0,0.1374 | ||
1370.0,0.1324 | ||
1380.0,0.1256 | ||
1390.0,0.1337 | ||
1400.0,0.1296 | ||
1410.0,0.1283 | ||
1420.0,0.1379 | ||
1430.0,0.1327 | ||
1440.0,0.1266 |
Binary file not shown.
Oops, something went wrong.