Free up to 1MM monthly messages. No credit card required.
When building a product, it’s important to design it with security, scalability, and reliability in mind. If you don’t have a strategy, your product could fail before it has a chance to grow.
You must answer questions like: How do you scale to millions of concurrent customers without ever having a single service outage? How do you keep your stack and user data secure? How do you monitor and receive alerts? How do you maximize your impact with the least amount of moving parts?
It may seem like a good idea to develop every aspect of a product – build your own everything. Invent your own security. Run the code on a server you control. This mindset opens you up to vulnerabilities, unless you constantly oversee your product. This quickly becomes dollars wasted. Expect to be exposed to vulnerabilities as your product scales. Here are a few topics to consider before you build your product in-house:
A new approach is to offload scaling responsibility to a cloud provider. With this model you will often pay for the resources used by your product on a ‘pay as you go’ basis, also known as “Functions-as-a-Service” (FaaS), instead of buying units of computing capacity. The cloud provider handles most or all of the server administration, provisioning, security, and maintenance. That means your product infinitely scales without managing servers or infrastructure.
More advantages of serverless include:
PubNub’s primary product is a real-time publish/subscribe messaging API built on a global Data Stream Network. A benefit of using PubNub over any other system or homegrown solution is that messages sent with PubNub are delivered in under 0.25 seconds and usually much faster (30 – 40ms) because PubNub has multiple points of presence on every inhabited continent. PubNub supports over 70 SDKs and has features like push notifications and Project EON that you can take advantage of in your product.
Developers use PubNub’s Real-time Messaging for:
Using Functions, you can execute your own code every time a PubNub message is sent. This code can be used to augment, transform, route, filter, or aggregate messages. Here are a few things you could use PubNub functions to do:
The Blocks Catalog contains more than 80 open source PubNub Function event handlers, to link your product up to popular APIs. See the Blocks Catalog for free Functions code that you can import to your PubNub app.
Get started building a serverless application using PubNub with these resources:
Have suggestions or questions about the content of this post? Reach out at email@example.com.
Take a look at the top trends that are the most effective in attracting customers and reducing churn, and how you can incorporate...
Comparing the major game engines: Unity vs Unreal Engine vs Corona SDK vs GameMaker Studio, including the benefits and cons of...
Sockets (aka socket programming) enable programs to send and receive data, bi-directionally, at any given moment. This tutorial...