Comments (12)
本周提流程。
from midway.
我们现在主要在做函数计算这块。正在内部使用中。
from midway.
from midway.
from midway.
midway-serverless很棒棒哦,那么问题来了,midway-serverless和函数计算怎么选择或者处理好呢?
from midway.
midway-serverless 可以看成一个 serverless framework,解决的是不同平台希望能有统一的开发体验的问题,也方便常见的应用迁移到 FaaS 体系。
from midway.
还没方案吗?凉了吗?
from midway.
焦急又耐心地等待
from midway.
@czy88840616 函数计算大概什么时候上线?
from midway.
现在的问题在于内部方案和社区方案并没有特别一致。简单来说现在阿里云的fc是没法自定义运行时的,只是开放了函数部分,如果要一致的话,这样很多的逻辑就得从运行时移动到用户代码中,感觉不是特别好。
为了和 midway 系列的注入用法,以及跨模块的复用,我们目前还是希望 fc 的写法是 ts + 装饰器的用法,通过不同的生成器来屏蔽入口的差异,这样可以部署到 fc/amazon 等不同的平台上。
举个例子:
我们会把 fc 的参数进行一些包装。
exports.handler = (event, callback) => {
}
变成类似下面的形式。
@func()
export class MainFunction {
@inject()
ctx;
async handler(event) {
}
}
就目前来说,集团内的场景趋于稳定,但是社区的变数还是比较多,如何和各方的工具链协作也是一个问题,不过 就 midway-faas 本身的代码变化不大,大概也就 150 行代码,非常简单。。
from midway.
@czy88840616 可以先开源一部分,在慢慢升级吗?
from midway.
黄花菜都凉透了~ @czy88840616 赶紧申请开源啊!
from midway.
Related Issues (20)
- Prometheus模块是否考虑支持自定义信息到metrics接口内?
- 注入更新问题
- Cause: [HystrixRuntimeException]{soa.xxxtimed-out and no fallback available.} [TimeoutException]{null} " }
- 健康检查生命周期 HOT 6
- [WeeklyReport] Weekly report for midway 10/23/2023 to 10/30/2023 HOT 1
- midway-bull 依赖注入初始化报错没有日志输出
- [WeeklyReport] Weekly report for midway 10/30/2023 to 11/6/2023
- [WeeklyReport] Weekly report for midway 11/6/2023 to 11/13/2023 HOT 1
- [Support] @ApiOperation deprecated 参数无效
- [WeeklyReport] Weekly report for midway 11/13/2023 to 11/20/2023 HOT 1
- simple模式解析query的时候数组长度不能超过20 HOT 1
- [WeeklyReport] Weekly report for midway 11/20/2023 to 11/27/2023 HOT 1
- socketio 获取不到实例的问题 HOT 2
- [WeeklyReport] Weekly report for midway 11/27/2023 to 12/4/2023 HOT 1
- [WeeklyReport] Weekly report for midway 12/4/2023 to 12/11/2023 HOT 1
- [WeeklyReport] Weekly report for midway 12/11/2023 to 12/18/2023 HOT 1
- [WeeklyReport] Weekly report for midway 12/18/2023 to 12/25/2023 HOT 1
- [WeeklyReport] Weekly report for midway 12/25/2023 to 1/1/2024 HOT 1
- [WeeklyReport] Weekly report for midway 1/1/2024 to 1/8/2024 HOT 1
- TypeError: core_2.RequestContext.createAsync is not a function HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from midway.