Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
0fb2c72
fix: try to fix client timeout
Nov 13, 2025
cb3b5c7
fix: try to fix client timeout
Nov 13, 2025
76511a3
fix: try to fix client timeout
Nov 13, 2025
f25a3a5
fix: try to fix client timeout
Nov 13, 2025
6a90fe4
fix: try to fix client timeout
Nov 13, 2025
524e42b
fix: try to fix client timeout
Nov 13, 2025
b184e9c
fix: try to fix client timeout
Nov 14, 2025
148a40e
feature: added corutines and callback logic
Dec 4, 2025
3f76471
fix: fixed semaphore acquiring and releasing logic
Dec 4, 2025
6aff9b2
fix: fixed rate limiter in order payer and httpCall dispatcher
Dec 4, 2025
e7fc62c
fix: fixed rate limiter in order payer and httpCall dispatcher
Dec 4, 2025
d1d6e88
fix: fixed timeout
Dec 4, 2025
f24804d
fix: added http2 client
Dec 5, 2025
9a87128
fix: fixed timeouts
Dec 5, 2025
b3517ee
fix: fixed timeouts and rate limiting
Dec 5, 2025
f3a52b9
fix: added backoff
Dec 5, 2025
dd8540c
fix: functionality without suspend
RuReVange Dec 7, 2025
58ca47c
fix: correct retry after logic, semaphore release
RuReVange Dec 7, 2025
ffccdc3
fix: logging duplicate
RuReVange Dec 7, 2025
d68f49c
feat: retry with new timeout for request
RuReVange Dec 7, 2025
d9a15ca
fix: softer rate limiter
RuReVange Dec 7, 2025
060407b
fix: additional retry after
RuReVange Dec 7, 2025
c3eaad4
fix: minRequiredTime
RuReVange Dec 7, 2025
586ff6c
feat: sheduler for retry
RuReVange Dec 7, 2025
92ef404
-- draft: Test async logic in payment external service.
21092004Goda Dec 7, 2025
873d83e
-- draft: Test async logic in payment external service.
21092004Goda Dec 7, 2025
c876969
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
3a4c8e9
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
9bd1887
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
7f6250f
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
47d7c7a
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
ccd9f04
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
d96a185
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
9c1a210
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
df2df29
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
2a3c72e
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
824c90e
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
765e50f
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
3a925b2
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
c5041fd
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
e139c49
Merge remote-tracking branch 'origin/hw-9-io-kuro' into hw-9-io-kuro
21092004Goda Dec 7, 2025
3815854
fix: added limiters for retry
Dec 8, 2025
c48992f
fix: fixed retry, removed from tick logic Thread.sleep in corutines
Dec 8, 2025
f7d396f
hotfix
Dec 8, 2025
58a49aa
hotfix
Dec 8, 2025
f33c69c
hotfix
Dec 8, 2025
3c36bb0
hotfix
Dec 8, 2025
b728d71
hotfix
Dec 8, 2025
e5a7053
hotfix
Dec 8, 2025
fa252a5
hotfix
Dec 12, 2025
661900b
hotfix
Dec 12, 2025
ba27681
hotfix
Dec 12, 2025
e7f47b7
hotfix
Dec 12, 2025
ca635e3
hotfix
Dec 12, 2025
1ca0e9d
hotfix
Dec 12, 2025
8453d14
hotfix
Dec 12, 2025
f1f5898
hotfix
Dec 12, 2025
f7af64e
hotfix
Dec 12, 2025
8864f78
hotfix
Dec 12, 2025
5923fec
Старт всего сущего: "Долгая молитва..."
21092004Goda Feb 26, 2026
64379a5
Ну проверим)
21092004Goda Feb 26, 2026
129ec44
Ну проверим)
21092004Goda Feb 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ build/
!**/src/test/**/build/

### VS Code ###
.vscode/
.vscode/
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ RUN mvn dependency:go-offline
COPY src src
RUN mvn package

FROM openjdk:17-jdk-slim
FROM eclipse-temurin:17-alpine-3.22

COPY --from=build /app/target/*.jar /high-load-course.jar

CMD ["java", "-jar", "/high-load-course.jar"]

15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Template for the HighLoad course

This project is based on [Tiny Event Sourcing library](https://github.com/andrsuh/tiny-event-sourcing)

### Run PostgreSql

This example uses Postgres as an implementation of the Event store. You can see it in `pom.xml`:

```
Expand All @@ -12,7 +14,8 @@ This example uses Postgres as an implementation of the Event store. You can see
</dependency>
```

Thus, you have to run Postgres in order to test this example. Postgres service is included in `docker-compose` file that we have in the root of the project.
Thus, you have to run Postgres in order to test this example. Postgres service is included in `docker-compose` file
that we have in the root of the project.

# More comprehensive information about the course, project, how to run tests is here:

Expand All @@ -21,19 +24,25 @@ https://andrsuh.notion.site/2595d535059281d8a815c2cb3875c376?source=copy_link
https://andrsuh.notion.site/2625d5350592801aaf88c7c95302d10c?source=copy_link

### Run the infrastructure

Set of the services you need to start developing and testing process is following:
- Bombardier - service that is in charge of emulation the store's clients activity (creates the incoming load). Also serves as a third-party payment system.

- Bombardier - service that is in charge of emulation the store's clients activity (creates the incoming load). Also
serves as a third-party payment system.
- Postgres DBMS
- Prometheus + Grafana - metrics collection and visualization services

You can run all beforementioned services by the following command:

```
docker compose -f docker-compose.yml up
```

### Run the application
To make the application run you can start the main class `OnlineShopApplication`. It is not being launched as a docker contained to simplify and speed up the devevopment process as it is easier for you to refactor the application and re-run it immediately in the IDE.

To make the application run you can start the main class `OnlineShopApplication`. It is not being launched as a docker
contained to simplify and speed up the devevopment process as it is easier for you to refactor the application and
re-run it immediately in the IDE.

### If you want to pull changes from the main repository into your fork

Expand Down
Loading