Do you need a Push Notification Manager? – Redis PubSub to the rescue

Happy New Year! And its indeed an awesome start to a surely prosperous year -- my stunts with Redis PubSub worked ! We have been looking at getting a push notification manager in place to communicate between applications! Here is what we wanted to do: Applications should be able to subscribe for notifications. Notification wildcards … Continue reading Do you need a Push Notification Manager? – Redis PubSub to the rescue

Multiple Applications with Devise, Omniauth and Single Sign On

The best way to scale an application is to split the application business logic into different inter-communicable components. However, authenticating, authorizing and security raise concerns. OAuth comes to the rescue - and like a knight in shining armour - omniauth steals the show. Omniauth is an awesome gem that allows you to authenticate using Open-Id … Continue reading Multiple Applications with Devise, Omniauth and Single Sign On

Uploading multiple files with nginx upload module and upload progress bar

Uploading files 'efficiently' has also been a pain point in most apps. I finally got to experiment with: nginx upload module (http://www.grid.net.ru/nginx/upload.en.html) nginx upload progress module http://wiki.nginx.org/NginxHttpUploadProgressModule) and upload multiple files via paperclip. There are resources available for handing these individually but not together. I used references from here and here. It is advisable to … Continue reading Uploading multiple files with nginx upload module and upload progress bar