Posts tagged as Ruby

How to schedule background jobs using the clockwork-gem

First of all the most obvious question has to be discussed: Why we can’t just use cron for scheduled jobs? An essential part of a PaaS is to isolate running application instances from another. Therefore all application instances run in so called Warden containers. Warden is an operating system level virtualization framework shipped with Cloud Foundry,… Read more »

Ruby Fog gem HP Provider now with OpenStack Swift Temp Url Support

The Fog HP storage provider is currently the most stable and recommended way to access Swift using Ruby as the HP storage implementation is more reliable than the OpenStack provider. So while you should use OpenStack::Identity for tenant and user management, Swift access is rather done using HP::Storage of the HP provider. During the creation… Read more »

How to use the anynines Swift service with your app

Introduction The anynines Swift service enables your apps to store files to our Swift cloud storage solution. This tutorial will demonstrate the usage of the Swift service from within ruby apps using the fog gem. Fog implements a wrapper around cloud storage services and includes provider (driver) classes for many different storage providers. Currently the… Read more »