Skip to content

A Python based scalable back-end service using RabbitMQ's pika

Notifications You must be signed in to change notification settings

NatashaL/screenshot-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screenshot-service

A Python based scalable back-end service using RabbitMQ's pika library.

How to:
  • Start the reader component:
    python reader.py

  • Start a couple of independent receiver components by assigning them an id:
    python receiver.py 1 , python receiver.py 2 etc.

  • Start the sender component:
    python sender.py
    or
    python sender.py <urls>
    with <urls> being a file with urls, one per line.

  • receiver.py receives the requests for downloading the screenshots and downloads them.

  • Request a screenshot by querying it to sender.py as get <url> (<url> should be exactly the same as requested previously, or as in the <urls> file, otherwise it will not be found in the existing screenshots, and a new request for downloading will be issued.

Requirements:
  • Linux
  • RabbitMQ
  • RabbitMQ (pika) for python
  • gnome-web-photo should be already built-in in Linux.

About

A Python based scalable back-end service using RabbitMQ's pika

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages