Answer the question
In order to leave comments, you need to log in
How good is this architecture?
There will be a certain service in which the user can upload a media file, and the service itself must change some properties in it.
Answer the question
In order to leave comments, you need to log in
1) Normal circuit. Something similar is used by many, for example, Flickr.
2) so what, what will they race? Interserver links are still faster than WAN. And distributing files from workers is a bad idea. Workers should be able to die without affecting anything, only increasing file processing time.
> For all data exchange I want to write own service.
What for? Use a queue server.
I would also single out the Q server, which will contain and serve the queue, raw files will be added to it. Servers W will look, there are still tasks to be executed, and after execution, the result will be added to the same server W, in the queue of finished files.
In my opinion, it will be easier to scale this way, and the logic of the M servers will be a little simpler.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question