-
Notifications
You must be signed in to change notification settings - Fork 47
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
Added info #41
Open
araslanov-e
wants to merge
1
commit into
hardcode-dev:master
Choose a base branch
from
araslanov-e:homework
base: master
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.
+15
−0
Open
Added info #41
Changes from all commits
Commits
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Case-study | ||
|
||
### О проекте | ||
В данный момент мы занимаемся развитием цифрового банка. В проекте уже больше года, самому проекту чуть больше 2 лет. Проект состоит из большого монолита и нескольких микросервисов, для общения между которыми недавно стали использовать Kafka. В проекте используетс свежие Ruby/Rails, PostgreSQL. | ||
Используем только внутренние сервисы. Для метрик Yabeda + Grafana. Для мониторинга ElasticAPM, судя по которому с нагрузкой справляемся. | ||
Встречаются в проекте иногда медленные sql запросы (помогает определить pghero), с которыми стараются сразу разобраться. | ||
Я backend разработчик, вхожу в одну из продуктовых команд. | ||
|
||
### Проблемы | ||
Пока какаих то существенных проблем не было выявлено, но есть проблемы с тестами, который занимают уже больше 5 минут при использовании turbo_test. | ||
|
||
### Решения | ||
С проблема тестов помогло изучение test-prof с его инструментами, которые помогли найти проблемы в фабриках. | ||
В рамках домашнего задания я оптимизировал свою часть тестов в проекте, что сократило общее время примерно на 20 секунд. Мои изменения одобрили, и согласовали дальнейшую работу. | ||
Так же я обнаружил, что у нас в CI не эффективно используется turbo_test, мы не сохраняем лог его работы, и поэтому он не балансирует медленные тесты, этим я и собираюсь занятся в ближайшее время. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. На эту тему вот такая штука ещё есть: https://docs.knapsackpro.com/ruby/rspec/ |
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.
👍