Serverless (Backend as a service)
Добрый день коллеги, кто игрался с этой штукой поделитесь опытом.
Интересны случаи использования из Java/.NET мира. (openwhisk.org например)
Как производительность ?
Serverless Web Request
Within a serverless infrastructure, each request corresponds to it’s own server. After the server processes the function, it is immediately destroyed. For example, here’s how Jones’s Zappa handles a web request:The request comes in through an API Gateway.
The API request is mapped to a dictionary using Velocity Template Language (VTL).
A server is created.
The server then converts the dictionary to a standard Python WSGI and feeds it into the application.
The application returns it, and it passess it through the API Gateway.
The server is destroyed.
Astoundingly, all this occurs under 30 milliseconds, so that “by the time the user actually sees the [content appear on the] page, the server has disappeared... which is actually a pretty zen thing if you think about it,” says Jones.
7 коментарів
Додати коментар Підписатись на коментаріВідписатись від коментарів