Skip to content
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

Test project by Sergey K. #2

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

cronokun
Copy link

@cronokun cronokun commented Oct 5, 2023

Hey guys!

Here is my take on this test project.

The solution uses awesome Flow library that was created specifically for such tasks - concurrently processing data streams.

You may notice I don't use database at all. Yeah... I've read about database requirement kind of late 😅 and I think this solution is good enough. But if you'll insist on it, I can add database support: should be as easy as changing File.stream! with Repo.stream! and adding some boilerplate code.

P.S. I've also took liberty of rewriting test data generation to Elixir and make project structure more Elixir-ish in general. If you'd like to use it later I can make it a separate PR.

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.

1 participant