8base as a Replacement for Progress Kinvey
In this article, we provide an overview of the biggest difference between Kinvey and 8base, which is GraphQL.
What is serverless?
Serverless is a new paradigm of cloud computing where elastic computing power is provided on-demand, metered to the sub second and without a need for systems administrators to manage, maintain and deploy infrastructure.
Go from development to production to web scale with no system administrators.
8base automatically runs your code without requiring you to provision or manage servers.
8base automatically scales up and down by matching your user demands to your computing capacity. Processes run in parallel and scale precisely with the size of your workload.
With 8base, you are charged for the serverless capacity you utilize measured as a combination of computing time and memory utilization.
In 8base, pretty much everything is extensible when using Serverless Functions. If you want to extend your GraphQL API, add custom endpoints, or build some other server side functionality, Serverless Functions is the answer.
A resolver is a serverless function type that extends your GraphQL API and can be directly called from client apps. Resolvers allow you to add custom queries and mutations to complement the auto-generated CRUD operations 8base handles for you. Resolvers are used to integrate 3rd party APIs, query / coerce data, or run custom algorithms.
A trigger is a type of serverless function that runs in response to a data mutation event (i.e, before or after creating, updating or deleting an object). This allows for important actions to run as callbacks to your data commits, without cluttering up client apps with web requests.
Webhooks allows you to call serverless functions as regular RESTful endpoints (GET, POST, DELETE, etc.). They can be very useful if you integrate with a 3rd-party service that posts data back to your app using a specified URL. For example, enabling a payment processing service such as Stripe or Coinbase Commerce to notify your app of a successful payment by calling
your custom URL.
A task is a type of serverless function that can be invoked directly from other functions or scheduled to execute on a specified time interval. This allows for cron job-like execution of your custom functions and is great for recurring or batch tasks.
8base let’s you write code using the tools you love and makes it easy to make it operational inside our platform.
Rather than disrupt the way you work, 8base lets you write code using your IDE of choice.
Deploy your code when ready using the 8base Command Line Interface.
8base logs all of your serverless function execution requests and makes them available inside the 8base Console.
Serverless architecture is an execution model where a cloud provider such as AWS is responsible for executing a piece of code by dynamically allocating resources rather than allocating entire physical or virtual servers.
Using serverless, a customer is only charged for the amount of resources used to run the code. In older computing models, customers are charged for physical servers or dedicated virtual servers. Serverless computing is the realization of computing provisioned more like an electrical utility.
The terms Serverless Computing and Functions-as-a-Service are synonomous.
Serverless does not mean servers are no longer needed, just that they are no longer specified or controlled by the IT organizations. That responsibility is handed off to cloud providers.
The term can be misleading because servers are still needed. The difference is that developers can do their work without having to worry about servers at all.
Serverless computing offers many advantages over traditional server-centric or cloud-based infrastructure. For many developers, serverless architectures offer greater scalability, more flexibility, and quicker time to release, all at a reduced cost.
Serverless computing offers many advantages over traditional server-centric or cloud-based infrastructure. For businesses, serverless architectures offer greater scalability, more flexibility, and quicker time to release, all at a reduced cost. Additionally, businesses can take advantage of an infinitely-scalable computing infrastructure without having to perform capacity planning or employ DevOps personnel. For businesses that have seasonal demand, serverless provides great price-performance since computing automatically scales up to meet demand and scales down when not required.
The longest running job you can run using 8base serverless functions is currently 15 minutes.