Viewing entries in
how to

Managing State with Stateless Cloud Functions

Comment

Managing State with Stateless Cloud Functions

Function as a Service (FaaS) is a growing trend in cloud computing. It's an opinionated approach to helping users write cloud applications that scale.  A central tenant of cloud functions (and what really makes them effective) is their stateless nature. They handle requests then disappear. Nothing is ever permanently "on" which is why they're so cost effective for the cloud provider to host and manage. 

Of course, there are times when it does make sense to handle state. But this does not mean you should clutter your stateless function code with state-related functionality. This is better left to an orchestration engine or similar event-driven strategy that is external to your cloud function. This gives you a proper separation of concerns between what is stateless and what is not (which is what you're really after with serverless architectures). 

Comment

Build Instant Apps and Bots with Messenger Web Views

Comment

Build Instant Apps and Bots with Messenger Web Views

There are many opinions about what distinguishes bots from apps. The most common is that apps are visual and bots are conversational. It’s a nice shorthand, but it’s important to not get caught up in strict dichotomies. Bots can be visual and apps can likewise be conversational. It’s more about the primary perspective for each. And with bots the primary perspective is the message stream.

Comment