An OpenWhisk Monitor/Alert POC

A few weeks back I posted (Monitoring OpenWhisk Activity) about how you can monitor your OpenWhisk activity. One of the things I made note of is that it would be nice to have an “alert” system such that I could specify that if a certain action began performing poorly, I could get an alert. Now “poor” is a fairly nebulous term, but today I worked on a little demo that I’d like to share.

Read more

Another Form Processor Option - LiveForm

As a proponent of static site generators, one of the things I keep an eye out for are services that work well with them and provide functionality you lose after going static. Probably the most important of these are form handlers. Just being able to build a simple contact form can be incredibly helpful. On my site I use Formspree and in the past I’ve used FormKeep. Today I’m going to quickly review another new service, LiveForm.

Read more

Update on My Random Comic Book Character API

So today’s post isn’t necessarily that interesting - but I try to live by the rule of blogging everything that causes me trouble. Earlier this week I blogged about creating a “Random Comic Book Character” API. In the post, I ended with a simple HTML demo that displayed a random character on page load. Initially my plan had been to send an email every day with the character but I decided against that as I figured it would be too much trouble.

Read more

Enabling API Management for Serverless with OpenWhisk

I’ve shared more than a few examples of OpenWhisk APIs that I’ve shared with API management but I haven’t actually detailed what that process is like. Today I’m going to review what exactly it is, how you enable it, and how you make use of it. As with most things I say here about OpenWhisk, remember that this is still fairly new and some of the details will probably change in the future.

Read more

Serverless Demo - Random Comic Book Character via Comic Vine API

For today’s demo, I’m going to be using the Comic Vine API, but let me warn folks that I think it is bad idea to use this API in production. I started looking at it over the weekend and while I was “successful”, I found numerous documentation issues and lots of forum posts that have gone unanswered. My gut tells me that this is not something I’d ever use for a “real” app, but since I don’t build real apps it doesn’t matter, right?

Read more

Monitoring OpenWhisk Activity

I’ve mentioned a few times already that I was going to discuss what monitoring is like with OpenWhisk and I thought today would be a good day to finally write down my thoughts. In general, this is an area where I think OpenWhisk could use some improvement, and I’ll point out where and how, but let’s go over the details first. Broadly, there’s two ways to monitor your OpenWhisk activity - via the UI or via the CLI.

Read more

Testing Multiple Image Recognition Services at Once

I’m a big fan of image recognition APIs - by that I mean services that let you send in a picture and have them scanned to determine what’s actually in the picture. When they work well, it’s cool as heck. When they fail, it’s typically pretty funny. All in all that’s a win-win for me. For a while now I’ve been wanting to build something that would let me compare multiple services like this at the same time.

Read more

Using a Generic CORS Enabler in OpenWhisk

Today’s post (well, the code and the idea, the writing, warts and all, are all me) comes from a coworker, Stephen Fink. Stephen and I were chatting in Slack about generic utilities, and the idea for a “simply CORS enable an action” utility came up. As a reminder, there’s two ways to expose your OpenWhisk code as anonymous API - either via a web action or via Bluemix Native API Management (BNAME).

Read more

Uploading Files to an OpenWhisk Action

This post starts with not one, not two, but three disclaimers. Read carefully! First off, if you want to upload files to an OpenWhisk action, you can, but your limited to file sizes less than one meg. That’s pretty small, but don’t forget you can use a third-party cloud storage provider to serve your file. (IBM has a Cloud Object Storage service that would be useful here, and obviously Amazon S3 would work too.

Read more

Recording and Assets for OpenWhisk Serverless Presentation

Thank you to everyone who attended my webinar yesterday. For those who missed it, you can view the recording by going here: https://engage.vevent.com/index.jsp?eid=556&seid=90389. The UI seems to imply you will be registering for a new event, but ignore that. Once you get into the system you will be watching the recording of my session. For those who wanted the demos and slides, you can get them via the link below. I used a PDF export of the slides.

Read more