… was what I was going to write about. I’ve been meaning to come up with a solution where I could do a combination of regular HTTP requests combined with Web Sockets combined with Redis to send messages easily back and forth between the backend and the frontend. My thought was that I might be able to take Nginx, which has WebSockets proxy support and combine it with Redis to create a means of facilitating communication between a frontend browser user and any backend asynchronous tasks that might have pertinent messages to
As part of Notiffi I’ve written two services in Java that need starting up. I was lazy to write my own init.d scripts and I found this. With only some very minor tweaking I was able to get it to work for me. Java Daemon Startup Script – Wiki – Confluence.