Skip to content

What can we do with Midway Serverless?

Lellansin Huang edited this page Sep 7, 2020 · 1 revision

What can we do with FaaS?

Many people are not very clear about functions and what they can do. The current function can be used as a small container. Originally, we wanted to write a complete application to carry the capability. Now we only need to write the logical part in the middle and consider the input and output data.

You can use triggers bound to the platform to carry traffic such as HTTP and Socket.

The BaaS SDK provided by the platform allows you to call services such as databases and Redis.

Functions can provide traditional HTTP API services and render beautiful pages in combination with existing front-end frameworks (react,vue, etc.). They can also be used as independent data modules, waiting to be called (triggered), such as common file upload changes, decompression, etc., can also be used as a logical part of a scheduled task, and is executed at a specified time or interval.

With the change of time and the iteration of the platform, the function capability will become stronger and stronger, while the user's start-up cost and server cost will become lower and lower.

What can we do with Midway Serverless?

Midway Serverless is a Serverless Framework used to build Node.js cloud functions. Help you in the cloud native era Significantly reduced Maintenance costs, more focus on product research and development.

  • Cross-cloud vendors:One piece of code can be quickly deployed among multiple cloud platforms without worrying that your products will be bound by cloud vendors.
  • Cloud integration: It provides multiple integrated development solutions with React and Vue at the front end of the community.
  • Code reuse: Through the dependency injection capability of the framework, each logical unit is naturally reusable and can be quickly and conveniently combined to generate complex applications.
  • Traditional migration: Through the runtime extension of the framework, traditional applications such as Egg.js, Koa, and Express.js can be seamlessly migrated to Cloud Functions of cloud vendors.

You can use Midway to build your Full Stack Application , can also be published Function Service , Restful interface, etc., can also add front-end (react,vue) code Building background projects , you can also use the solution provided by Midway Traditional migration Elastic containers on Egg, Koa, and Express applications.