WindowGenerator / md5_measure_app

MD5 hash calculation service for files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MD5 Measure app

Hash calculation service for files

Explanation of strange decisions (and problems):

Explanation of why the work with the database is moved to the backend, and not to the workers:

  • In short DRY. In more detail, I didn’t figure out how to solve the problem of duplication of functionality, except for the formation of functionality in a separate library or shared directory

It is still not very clear how much the radish is needed:

  • in theory, if the upper part is completed. That radish will remain only on the locks between services. And in theory it can be replaced, for example, with file locks or locks through rabbitmq

Services:

Roadmap:

  • Write tests
  • Add CI/CD

Installation:

  • Install from source:
poetry install

After that, u can use package builded in dist

Build:

  • Build docker-compose:
docker-compose build

Launch methods:

  • Primitive way:
docker-compose up -d
  • With setting the number of workers:
docker-compose up -d --scale worker=2

Development:

  • Install dependencies:
make -f Makefile install-deps
  • Run pre-commit:
make -f Makefile pre-commit

About

MD5 hash calculation service for files

License:MIT License


Languages

Language:Python 70.3%Language:Dockerfile 12.4%Language:JavaScript 11.9%Language:HTML 3.5%Language:Makefile 2.0%