Skip to content

feature/goroutines and channels study - #3

Merged
RD2W merged 5 commits into
devfrom
feature/goroutines-and-channels-study
Nov 4, 2025
Merged

feature/goroutines and channels study#3
RD2W merged 5 commits into
devfrom
feature/goroutines-and-channels-study

Conversation

@RD2W

@RD2W RD2W commented Oct 31, 2025

Copy link
Copy Markdown
Owner

No description provided.

@RD2W
RD2W force-pushed the feature/goroutines-and-channels-study branch from b7ca504 to 38ab3c4 Compare October 31, 2025 10:03
@RD2W RD2W changed the title Feature/goroutines and channels study feature/goroutines and channels study Oct 31, 2025
Comment thread internal/repository/repository.go Outdated
Comment thread internal/repository/repository.go Outdated
RD2W added 2 commits November 3, 2025 17:38
…change logging

- Refactored the service to have two independent goroutines: one for data generation and one for data saving
- Implemented a third logging goroutine that checks for changes every 200ms and logs only new entities
- Fixed the repository's Save method to be synchronous as per reviewer's feedback
- Moved all channel logic to the service level
- Updated all tests to match the new architecture
- Ensured thread-safe concurrent access to slices from different goroutines
@RD2W
RD2W merged commit 8c4f554 into dev Nov 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants