Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

To launch an application you need:

  • Have installed mongoDB with default port 27017 && hostname "DESKTOP-C9DUDQV" (sorry about that, have no time). Also you should create "Demo" db
  • If something goes wrong on next run pls try to clear DEMO db (sorry, have no time to make it well)

Solution described:

  • To store images I used file system (each job/webPage mapped to base64(pageUrl) directory). Images for each page are stored inside related directory (have no time to develop deeper directory tree)
  • To store info: status, width, height etc I used Mongo DB
  • Each verticle runs on separate Hazelcast instance (means this is clustered solution). You can run multiple instanced to overcome single point of failure. Also it allow very easely scale this application
  • Download jobs are parralleled by JobManager - each dowload - separate worker thread which is executed in thread pool

Even no time to explain my solution :(((

To launch java -jar target/image-downloader-1.0-SNAPSHOT-fat.jar

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages