Coder Social home page Coder Social logo

bender-worker's Introduction

bender-worker

It is a multi-plattform client for the bender-renderfarm. It receives it's
tasks via amqp/rabbitmq, requests blendfiles from flaskbender
via http GET, renders the Tasks and stores the rendered Frames on disk.

You can configure it via bender-worker --configure. If you want to see what
else is possible (besides just running it) check bender-worker -h

Life of a task

  1. Task is received via work-queue from rabbitmq, the delivery-tags get stored because the Tasks will only be ACK'd once they are done
  2. The command stored in the Task gets constructed. This means the "abstract" paths stored insided the command get replaced with paths configured in the bender-worker (e.g. for reading blendfiles, or storing rendered frames)
  3. Once constructed bender-worker generate a unique set of parent (Job) IDs, because it is likely that multiple tasks belong to the same job. For each unique ID a asynchronous http request to flaskbender is made, and the blend will be downloaded
  4. Once the Task has a blendfile it gets dispatched asynchronously
  5. Once the Task is done its delivery-tag gets ACK'd, the Task finished and the next Task will be selected
  6. After a grace period the downloaded blendfile gets deleted if flaskbender says the job has actually been done
  7. Inbetween all these steps the Task gets transmitted to bender-bookkeeper for housekeeping

License: MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.