Skip to content
msharp1 edited this page Oct 28, 2017 · 4 revisions

Architecture specifications

Front gallery uses the REST API to retrieve albums, processed pictures references and displays it.

On the back side, original pictures are processed from a source folder and pushed into a processed folder within the same structure. Question remains how and when to trigger the processing. Automatic can be :

  • on event as folder content change
  • as a scheduled job / polling
  • real-time at first album/picture request.

The goal being in-browser performance even on smaller configuration (raspberry for ex). We don't want to wait when requesting pictures so the real-time option may not be the best idea.

The (cron) job option would require some server-side configuration or make use of PHP background like http://gearman.org/getting-started/#image-resize-application (which page looks to fall totally on topic!)

Clone this wiki locally