layotto icon indicating copy to clipboard operation
layotto copied to clipboard

Community tasks 新手任务计划

Open seeflood opened this issue 3 years ago • 87 comments

Community tasks

As a programming enthusiast , have you ever felt that you want to participate in the development of an open source project, but don't know where to start? In order to help everyone better participate in open source projects, the MOSN community will regularly publish community tasks to help everyone learn by doing!

Task List

Tasks of different difficulty are released:

Easy

Layotto runtime

  • [x] Reduce the risk of panic. Add recover for all codes that create new goroutines. See #197
  • [x] Fail fast,make Layotto kill itself when error accurs during startup. See https://github.com/mosn/layotto/issues/275

Bug fix

  • [x] fix bug of actuator: apollo health status "INIT",even if no apollo component configurated. see #462
  • [ ] 修复 rpc 相关代码的单元测试报错问题 https://github.com/mosn/layotto/issues/550

Write a Feature

  • [x] Use in-memory component to implement the Actuator API. See #463

Comment related

  • Add comment to exported function/method/interface/variable (such as RPC/distributed lock modules), see https://github.com/mosn/layotto/issues/112 Considering that the workload of adding comments to all the modules is relatively large, we split it into multiple tasks:
  • [x] add comments to RPC related code
  • [x] add comments to pubsub related code
  • [x] add comments to lock related code . assigned
  • [ ] add comments to state API related code
  • [ ] add comments to actuator related code
  • [ ] add comments to tcpdump related code
  • [x] add comments to WASM related code
  • [ ] add comments to flow-control related code
  • [ ] Add comments for file API related code in the proto file. image

SDK related

  • [ ] add metadata field for go,js and dotnet sdk. See #320
  • [ ] add distributed lock API for java sdk
  • [x] add distributed sequncer API for java sdk
  • [x] add nodejs sdk. assigned ,see https://github.com/mosn/layotto/issues/258
  • [ ] add python sdk
  • [ ] add c/c++ sdk
  • [x] add .net sdk assigned.see #130
  • [x] add more sdk api into java sdk(currently there are only protobuf files,but some users ask us to add more feature in sdk) assigned. see #153
  • [x] compile proto files into java code as java sdk. See #79 Already done by @MentosL

Document related

  • [ ] add go-sdk usage documents.See http://mosn.io/layotto/#/en/sdk_reference/go/start

  • [x] add document for State API.See https://mosn.io/layotto/#/en/api_reference/state/reference

  • [x] add document for Pub/Sub API.See https://mosn.io/layotto/#/en/api_reference/pubsub/reference

  • [x] add document for Distributed Lock API.See https://mosn.io/layotto/#/en/api_reference/lock/reference

  • [x] add document for RPC API.See https://mosn.io/layotto/#/en/api_reference/rpc/reference already assigned #185

  • [ ] Change MinIO's demo to use docker to deploy MinIO by default, and Layotto to invoke local MinIO. Currently, the demo uses the MinIO official demo service by default, but the service is unstable, so we want to use docker to deploy MinIO and make the demo more stable. See https://github.com/mosn/layotto/issues/450

  • [ ] Delete redundent demos. See https://github.com/mosn/layotto/issues

Translation

Tests related

  • [ ] Add unit tests for actuator module. The code is under pkg/filter/stream/actuator/http image

  • [x] Understand the implementation of wasm module & add unit tests: see #105

  • [ ] add more unit test whereever you like to make layotto's unit test coverage higher(currently it's only 46%)

  • [x] Add unit tests for runtime/runtime.go and grpc/api.go. These two files are the core engine code of layotto, responsible for component lifecycle management and grpc request processing respectively Already assigned to @tianjipeng See #138

  • [x] Add integration test cases for a certain type of API. See #107 assigned to @seeflood

  • [x] Understand the implementation of the rpc module & add unit tests: see #106 Already done by @tianjipeng

  • [ ] Add integrate test. see #415

Components

  • [ ] Change the apollo sdk to https://github.com/apolloconfig/agollo .Currently we are using github.com/zouyx/agollo

in-memory components

See https://github.com/mosn/layotto/issues/67#issuecomment-975134341 We want to let users and sdk developers run our demo without go , docker and back-end storage (e.g. redis) pre-installed. To achieve this goal, we need to add in-memory components,including:

  • [x] pubsub
  • [x] lock
  • [x] sequencer
  • [ ] configuration API

You can take the in-memory state store component as an example,see #327

Medium

Add support for Dapr API

We want Layotto to support both Layotto API and Dapr API. In this way, if users are worried about vendor lock-in, they can use Dapr SDK to switch between Layotto and Dapr freely. You can refer to: https://github.com/mosn/layotto/issues/361 https://github.com/mosn/layotto/pull/362

  • [x] InvokeService
  • [x] InvokeBinding
  • [x] State
  • [x] pubsub. See https://github.com/mosn/layotto/pull/406
  • [ ] Configuration
  • [x] Secret
  • [ ] GetMetadata/SetMetadata
  • [ ] Shutdown

SDK

  • [x] Improve .net sdk. Make it have the same capabilities and api as go sdk assigned.see #130

  • [ ] Develop python sdk Because we want to reduce the cost of maintaining multi-language SDKs, we want to reuse Dapr SDKs as much as possible. Therefore, this task suggests to fork the Dapr python SDKs for modification (because the package path of the proto interface is different, so the code compiled by proto is different, so we need to do some modification).

  • [x] Develop the spring-boot-layotto package. See https://github.com/layotto/java-sdk/pull/8 Let layotto integrate spring boot so that users can use annotations to register pubsub subscription callback

Actuator

  • [x] Add a actuator metrics API. See #201

WASM

  • [x] Let Layotto monitor whether the .wasm file has changed, and reload the .wasm file if there is a change. Achieve the effect of dynamically replacing .wasm at runtime. see #165
  • [x] WASM Function access cache through state API. see #192
  • [x] Upgrade the wasm demo developed by rust. see #255
  • [x] Upgrade the wasm demo developed by AssemblyScript. see #256

File api implementation

  • Add components for file api. File api have been supported in layotto, need add other components for file api. https://github.com/mosn/layotto/issues/236 , https://github.com/mosn/layotto/issues/98
    • [x] awsOss
    • [x] local file system(file on local disk)
    • [x] HDFS
    • [x] minIo
    • [ ] Implementing File API components with ceph

Sequencer API related

  • Sequencer API Component:Choose an open source component or cloud service you like (such as zookeeper, leaf, etc.) to implement distributed auto-increment id generation service.

    • [x] Etcd

    • [x] Stand-alone redis assigned

    • [x] Zookeeper assigned

    • [ ] Leaf

    • [x] Mongo

    • [ ] Consul

    • [ ] snowflake algorithm (need to avoid clock rollback problems) assigned.see https://github.com/mosn/layotto/issues/193

    • [ ] Mysql

    • [ ] PostgreSQL

    • [ ] Any other storage

  • [x] Implement the segment caching feature of Sequencer API. assigned to @ZLBer ,see #158 You can refer to Leaf to do double buffer optimization The function to be implemented is at https://github.com/mosn/layotto/blob/main/pkg/runtime/sequencer/cache.go

Distributed Lock API

  • Choose an open source component or cloud service (such as zookeeper) you like to implement distributed lock API. See #104
    • [x] redis standalone done
    • [x] redis cluster (with redlock or some other algorithm to make it safer)
    • [x] zookeeper assigned.see #111
    • [x] etcd assigned.see #128
    • [x] Consul assigned.see #129
    • [x] Mongo assigned.see #348
    • [ ] Cassandra refer to https://github.com/dekses/cassandra-lock
    • [ ] anything else. e.g. some build block provided by AWS or aliyun

Engineering

  • [ ] Make Layotto CI more powerful. See https://github.com/mosn/layotto/issues/532#issuecomment-1116848302
  • [ ] Add more linters. See https://github.com/mosn/layotto/issues/599
  • [x] Provide Layotto Dockerfile,so that users can deploy Layotto with Docker. See #178
  • [x] Automatically generate API documents: use some tools to automatically generate API documents based on proto files. Refer to the document automatically generated by Etcd
  • [x] Automatically check the pull request title and ensure it to meet the format of type(scope): subject in order to make the commit history more readable. See https://github.com/mosn/layotto/issues/243
  • [ ] Automatically check that new PR must have related issues
  • [x] Automatically check code style with go lint in ci/cd pipeline. For example:
    • no Chinese in the code;
    • Every code that starts a new goroutine must have a recover It doesn't matter if these examples can't be realized. As long as we can do valuable automated inspections

Currently we use github actions as ci/cd pipeline, and the configuration file is here You can refer to some github actions high-quality tutorials:

https://www.ruanyifeng.com/blog/2019/09/getting-started-with-github-actions.html

http://www.ruanyifeng.com/blog/2019/12/github_actions.html

  • [x] Automated build: Automatically compile multi-platform binary files (binary files under linux/mac), compress (compress binary files), and build docker images You need to investigate the solution to see whether you write a build script yourself, using the cross-compilation feature of go, or just use a exist platform to help you build

Hard

Observability

  • Integrate with Skywalking, Jaeger and other systems Layotto currently supports tracing and we hope to integrate with observability-related platforms such as Skywalking and Jaeger.
    • [x] Skywalking. assigned #310
    • [x] Jaeger. assigned #547
    • [ ] Zipkin
    • [ ] Some other tracing platform...

Runtime API Lab

Hard

#530

  • [ ] Redis API.

  • [ ] Kafka API. Alicloud SLS component can implement Kafka-like API too.

  • [ ] Design transaction message API (like RocketMQ's) for pubsub

  • [ ] Delay message API for pubsub

  • [ ] Let Layotto support Dapr's Config API (alpha version) We have been discussing and working with Alibaba and Dapr community to contribute a Config API for Dapr since March of this year,and recently it was finally merged into Dapr . Now it's time to can make Layotto support Dapr's Config API. Dapr Config API is still in the alpha version, which is similar to Layotto's existing Config API but lacks some fields. You can refer to Layotto's existing implementation during development. See Dapr's API definition

  • [x] Let Layotto support secret API. Layotto's goal is to build a Runtime API standard with Dapr and other communities (promote Dapr API as an industry standard, and Layotto as an implementation of this API), so it needs to support Dapr's secret API. Therefore, this task needs to port Dapr's secret API into Layotto. For Dapr's secret management related documents, see https://docs.dapr.io/developing-applications/building-blocks/secrets/ assigned. see #212

  • [ ] Layotto support Binding API. Same as above, porting Dapr's binding API into Layotto

WASM Lab

  • [x] Support loading multiple wasm files,so that Layotto can serve as FaaS container. See #176
  • [ ] Support dynamic load wasm file. See #191

If you are interested, you can reply and we will assign the task to you

Kubernetes Lab

  • [x] Deploy Layotto on Kubernetes. see #189

Istio

  • [ ] Integrates with istio 1.10, allowing layotto's invokeService API to reuse istio's traffic management capabilities. See #311

seeflood avatar Jul 02 '21 07:07 seeflood

chinese:

新手任务计划

作为技术同学,你是否有过“想参与某个开源项目的开发、但是不知道从何下手”的感觉? 为了帮助大家更好的参与开源项目,MOSN社区会定期发布适合新手的新手开发任务,帮助大家learning by doing!

任务列表

任务分为不同难度:

  • Easy
  • Medium
  • Hard

上手攻略

新手攻略:从零开始成为 Layotto 贡献者

Easy——从这里开始,成为Layotto Contributor!

Layotto runtime

  • [x] 减少panic风险,给所有创建新协程的代码加上recover。见 #197
  • [x] fail fast,让Layotto启动报错时自杀 目前Layotto配置配错了、连接redis异常时,启动会报错,但是进程不会自动被kill掉。 需要优化成如果启动报错、就panic自杀。见 https://github.com/mosn/layotto/issues/275

Bug fix

  • [x] fix bug of actuator: apollo health status "INIT",even if no apollo component configurated. see #462

Write a Feature

  • [x] Use in-memory component to implement the Actuator API. See #463

注释相关

  • 为Layotto中的关键模块添加注释(例如RPC/分布式锁等模块) 见https://github.com/mosn/layotto/issues/112 考虑到全加注释工作量比较大,因此每个模块可以单独发一个任务
  • [x] add comments to RPC related code
  • [x] add comments to pubsub related code
  • [x] add comments to lock related code . assigned
  • [ ] 为 state API 相关代码添加注释
  • [ ] 为 actuator 相关代码添加注释
  • [ ] 为 tcpdump 相关代码添加注释
  • [x] add comments to WASM related code
  • [ ] 为 flow-control 相关代码添加注释
  • [ ] 为 proto 文件中file API 相关接口 补充注释. 有了更多注释后,可以用工具根据注释生成文档 image

文档相关

  • [ ] 为go-sdk添加使用文档。见http://mosn.io/layotto/#/zh/sdk_reference/go/start

  • [x] 为State API添加接口文档.See https://mosn.io/layotto/#/en/api_reference/state/reference

  • [x] 为 Pub/Sub API添加接口文档.See https://mosn.io/layotto/#/en/api_reference/pubsub/reference

  • [x] 为Distributed Lock API添加接口文档.See https://mosn.io/layotto/#/en/api_reference/lock/reference

  • [x] 为RPC API添加接口文档.See https://mosn.io/layotto/#/en/api_reference/rpc/reference 已assign #185

  • [x] 把 MinIO 的 demo 改成默认使用 docker 部署 MinIO、Layotto 调用本地 MinIO. 目前,该 demo 默认调用 MinIO 的官方演示服务,但该服务不稳定,时常出现磁盘满了之类的情况。 见 https://github.com/mosn/layotto/issues/450

  • 优化demo.见 https://github.com/mosn/layotto/issues/455

    • [ ] 优化 lock api demo,让所有 lock 组件公用一个 demo
    • [x] 优化 sequencer api demo,让所有 sequencer 组件公用一个 demo
    • [x] 优化 pubsub api demo,让所有 pubsub 组件公用一个 demo

翻译

英翻中

中翻英

SDK相关:

  • [ ] add metadata field for go,js and dotnet sdk. See #320
  • [ ] 为java sdk新增分布式锁API
  • [x] 为java sdk新增分布式自增id API
  • [x] 添加 nodejs sdk. assigned ,see https://github.com/mosn/layotto/issues/258
  • [x] 添加 .net sdk assigned.see #130
  • [x] 丰富java sdk的功能,添加更多sdk api(在 @MentosL 的帮助下,我们有了java sdk,目前sdk内包含一些pb生成的java代码,但是最近有用户问我们能否给sdk增加一些功能) assigned. see #153
  • [x] 将proto文件编译成java代码作为java sdk。见 #79 已assign给 @MentosL

测试相关:

  • [ ] 修复 rpc 相关代码的单元测试报错问题 https://github.com/mosn/layotto/issues/550

  • [ ] 为actuator模块添加单测,代码路径在 pkg/filter/stream/actuator/http image

  • [x] 看明白wasm模块的实现原理&补充单测:见 #105

  • [ ] 对你感兴趣的模块添加单元测试,提高Layotto的总体测试覆盖率(目前仅有46%)

  • [x] 为runtime/runtime.go和grpc/api.go添加单元测试。这两个文件是layotto的核心引擎代码,各自负责组件生命周期管理(启动、注册、初始化)和grpc请求处理,完成此任务可以很好的了解Layotto架构 已assign给@tianjipeng 见 #138

  • [x] 为某类你感兴趣的API添加集成测试用例。见 #107 已assign给 @seeflood

  • [x] 看明白rpc模块的实现原理&补充单测。见 #106 已assign给 @tianjipeng

  • [ ] 补充集成测试组件跟用例。见 #415

Components

  • [ ] apollo 组件的客户端改成用 https://github.com/apolloconfig/agollo 之前用的是github.com/zouyx/agollo

in-memory components

见 https://github.com/mosn/layotto/issues/67#issuecomment-975134341 我们想让用户和sdk开发者不用装go,docker和存储系统(比如redis)就能跑起来layotto,减少上手门槛。 为了实现这个目标,我们需要添加in-memory 组件,在内存里增删改查。包括:

  • [x] pubsub
  • [x] lock
  • [x] sequencer
  • [ ] configuration API

You can take the in-memory state store component as an example,see #327

Medium——来实现一些很酷的feature吧!

Layotto支持Dapr API

我们想让 Layotto 既支持 Layotto API,又支持Dapr API。这样用户如果担心厂商绑定,可以使用Dapr SDK,在Layotto和Dapr之间自由切换。 您可以参考: https://github.com/mosn/layotto/issues/361 https://github.com/mosn/layotto/pull/362

  • [x] InvokeService
  • [x] InvokeBinding
  • [x] State
  • [x] pubsub. See https://github.com/mosn/layotto/pull/406
  • [ ] Configuration
  • [x] Secret
  • [ ] GetMetadata/SetMetadata
  • [ ] Shutdown

SDK

  • [ ] 添加 python sdk
  • [ ] 添加 c/c++ sdk
  • [x] 丰富 .net sdk,使其有和go sdk一样的能力和api assigned.see #130
  • [x] 开发spring-boot-layotto包. review中,见https://github.com/layotto/java-sdk/pull/8 让layotto集成spring boot,可以通过注解进行注册pubsub 订阅消息的回调函数

Actuator

  • [x] 设计实现actuator metrics API,用于统计、展示metrics指标. 见 #201

WASM相关

  • [x] 让Layotto能监听.wasm文件有没有变更,有变更的话重新热加载.wasm文件. 达到运行时动态替换.wasm的效果. 见 #165
  • [x] 让wasm可以通过State API访问存储. 见 #192
  • [x] 升级由rust开发的wasm demo. 见 #255
  • [x] 升级由AssemblyScript开发的wasm demo. 见 #256

File Api相关

laytto现在添加了file接口的抽象,默认支持了aliyun的oss的能力,现在需要增加其它的后端文件存储组件。可以参照https://github.com/mosn/layotto/issues/98 , https://github.com/mosn/layotto/issues/236

  • [x] awsOss
  • [x] local file system(file on local disk)
  • [x] HDFS
  • [x] minIo
  • [ ] 用 ceph 实现 File API 组件

Sequencer API相关

  • 组件开发:选择一个你喜欢的开源组件或云服务(比如zookeeper,leaf等)实现分布式自增id生成 。

    • [x] Etcd
    • [x] 单机redis assigned
    • [x] Zookeeper assigned
    • [ ] Leaf
    • [ ] Consul
    • [x] Mongo
    • [ ] 实现snowflake算法(需要避免时钟回拨问题) 见https://github.com/mosn/layotto/issues/193
    • [x] Mysql
    • [x] PostgreSQL
    • [ ] 其他任何存储 参考资料: quick start: https://mosn.io/layotto/#/zh/start/sequencer/start design doc: https://mosn.io/layotto/#/zh/design/sequencer/design
  • [x] 实现Sequencer API的号段缓存功能. assigned to @ZLBer ,see #158 可以参考Leaf,做双buffer优化 待实现的函数在https://github.com/mosn/layotto/blob/main/pkg/runtime/sequencer/cache.go 参考资料: quick start: https://mosn.io/layotto/#/zh/start/sequencer/start design doc: https://mosn.io/layotto/#/zh/design/sequencer/design

分布式锁API相关

  • 选择一个你喜欢的开源组件或云服务(比如zookeeper)实现分布式锁API。
    • [x] 单机redis done
    • [x] redis 集群 (redis集群fo会丢锁,所以要用能尽量提高正确性的算法,比如redlock等)
    • [x] zookeeper assigned.see #111
    • [x] etcd assigned.see #128
    • [x] Consul assigned.see #129
    • [x] Mongo
    • [ ] Cassandra 参考https://github.com/dekses/cassandra-lock
    • [ ] 任何其他的组件. 利用AWS或者阿里云提供的某个分布式协调服务

注意在实现分布式锁之前需要谨慎评估一下这个存储组件是否适合实现分布式锁,会不会很容易出现丢锁、死锁等问题?分布式锁没法保证100%的正确性,但我们也要尽量保证正确,尽量为用户屏蔽复杂的问题~

Mongo的ttl是分钟级可能会太久、异步复制可能丢锁,但是好像能改服务端配置改成同步复制?(我刚查到一篇博客 说能),Cassandra组件我还没有细看,看ShedLock 实现了Cassandra于是就加进来了。总之需要开发者在设计时仔细评估哈~

工程化相关

  • [ ] Make Layotto CI more powerful. See https://github.com/mosn/layotto/issues/532#issuecomment-1116848302
  • [ ] Add more linters. See https://github.com/mosn/layotto/issues/599
  • [x] 提供Dockerfile,以便用户进行镜像化部署。见 #178
  • [x] 自动化生成接口文档:调研实现自动根据proto文件生成接口文档的方案。参考Etcd自动生成的文档
  • [x] 自动化检查Pull request标题,必须满足类型(scope): 主题的格式,以便让commit history 可读性更好。 见 https://github.com/mosn/layotto/issues/243 assigned
  • [ ] 自动化检查提的 PR 有关联issue
  • [x] 自动化检查code style。 我们可以在github workflow中使用go lint自动检查代码风格,检查的细节比如: 代码里不能有中文; 用go xxx()起新协程的地方,必须有recover; 当然这几个例子实现不了也不要紧,只要有有价值的自动化检查就行

目前ci/cd使用github actions,配置文件在这里 可以参考一些github actions优质教程:

https://www.ruanyifeng.com/blog/2019/09/getting-started-with-github-actions.html http://www.ruanyifeng.com/blog/2019/12/github_actions.html

  • [x] 发布新版本时自动化构建: 修改 workflow,每次发布新版本时自动交叉编译出多平台的二进制文件(linux/mac下的二进制文件)、压缩(把二进制文件压缩),以便在发版报告中提供二进制文件或压缩文件 需要调研一下方案,看看是自己写一个构建脚本、用go的交叉编译功能,还是有现成的平台帮忙做构建

  • [x] 自动化构建 Docker 镜像: 每次有PR 合并、发布新版本时,自动构建docker镜像 WIP. See #392

可观测性

Metrics

  • [x] 提供一个 Layotto 集成 Prometheus 的示例 Demo Layotto 跑在 MOSN 上,而 MOSN 已经支持集成 Prometheus 了,我们需要一个 Demo 示例、quickstart 文档,指导用户如何集成

Hard——成为中间件大师!

可观测性

  • 集成Skywalking,Jaeger等系统 目前Layotto支持了trace能力,希望能够和Skywalking,Jaeger等可观测性相关平台做集成
    • [x] Skywalking. assigned #310
    • [x] Jaeger. assigned #547
    • [ ] Zipkin
    • [ ] Some other tracing platform...

Runtime API Lab

开发更多的 API 插件

#530

  • [ ] 设计实现 Redis API

  • [ ] 设计实现 Kafka API 有了这个API后,我们可以用阿里云 SLS 组件来实现这个 API

  • [ ] 设计实现事务消息 API

  • [ ] 设计实现延迟消息 API

  • [ ] 让Layotto 支持 Dapr Config API 自今年3月以来,我们一直在和阿里巴巴、Dapr社区讨论共建 ,希望为Dapr添加一套Config API。最近这个API终于被Dapr合并了 。 现在,是时候让Layotto也支持Dapr这套Config API了。(Dapr Config API还在alpha版本,和Layotto已有的Config API相似但缺少一些字段,开发时可以参考Layotto已有的实现) Dapr的API定义见 https://github.com/dapr/dapr/blob/master/dapr/proto/runtime/v1/dapr.proto

  • [x] 让Layotto支持secret API。 Layotto的目标是和Dapr等社区共建Runtime API标准(把Dapr API推广成行业标准,Layotto作为该API的一个实现),需要支持Dapr的secret API。因此本任务需要将Dapr的secret API移植进Layotto。Dapr 的secret management相关文档见https://docs.dapr.io/developing-applications/building-blocks/secrets/ assigned.see #212

  • [ ] 让Layotto支持Binding API。同上,将Dapr的binding API移植进Layotto

WASM Lab

  • [x] 支持运行多个.wasm模块,以便作为FaaS容器。见 #176
  • [ ] 让Layotto支持通过接口调用的方式动态加载wasm,以支持FaaS场景动态调度. 见 #191

Kubernetes Lab

  • [x] 让Layotto能够简单方便的部署在Kubernetes上. 见 #189

Istio

  • [ ] 集成 istio 1.10, 让 layotto 的 invokeService API 能够复用 istio 的流量治理能力. 见 #311 如果您感兴趣的话,可以在留言里回复下,我们会assign给您

seeflood avatar Jul 02 '21 07:07 seeflood

I want to add unit tests for rpc related code, please assign to me

tianjipeng avatar Jul 02 '21 12:07 tianjipeng

I want to add unit tests for rpc related code, please assign to me

Cool. Feel free to ask for help, and welcome to the community! If you find github conversation inconvenient to communicate,we can chat on dingtalk (in chinese,haha) Our dingtalk group is 31912621

seeflood avatar Jul 02 '21 12:07 seeflood

Hello, I am interested in adding unit tests for WASM related code. Could you please let me try to do it?

oneyue610 avatar Jul 02 '21 13:07 oneyue610

Hello, I am interested in adding unit tests for WASM related code. Could you please let me try to do it?

Welcome! You can reply the issue #105 so that I can assign it to you. If you encounter any problems,feel free to ask for help in github conversation or dingtalk. Webassembly is a cool new tech.I like it too :)

seeflood avatar Jul 02 '21 13:07 seeflood

I want to impl etcd lock, please assign to me

stulzq avatar Jul 08 '21 08:07 stulzq

@stulzq Cool! I added a issue #127. You can reply there and then we can assign it to you

seeflood avatar Jul 08 '21 08:07 seeflood

New tasks added

seeflood avatar Jul 09 '21 03:07 seeflood

I want to add java client base on protobuf , assign to me?

ZLBer avatar Jul 23 '21 05:07 ZLBer

I want to add java client base on protobuf , assign to me?

Ok, I will assign it to you! @MoonShining is developing a rpc method for java client, I think you can add any other features for java sdk

seeflood avatar Jul 23 '21 05:07 seeflood

New tasks added:

  • Add sequencer API components(e.g. zookeeper,leaf)
  • Implement the segment caching feature of Sequencer API

seeflood avatar Jul 23 '21 08:07 seeflood

Sequencer API impl: mongo & Leaf, pls assign to me

stulzq avatar Jul 23 '21 08:07 stulzq

Sequencer API impl: mongo & Leaf, pls assign to me

Cool!

seeflood avatar Jul 23 '21 08:07 seeflood

Sequencer API impl: zk & standalone redis, pls assign to me

ZLBer avatar Jul 23 '21 08:07 ZLBer

Sequencer API impl: zk & standalone redis, pls assign to me

Cool!

seeflood avatar Jul 23 '21 09:07 seeflood

segment caching assign to me , pls

ZLBer avatar Jul 28 '21 13:07 ZLBer

segment caching assign to me , pls

Ok. @ZLBer is so good!

seeflood avatar Jul 28 '21 14:07 seeflood

Added some engineering related tasks:

  • Automatically generate API documents: use some tools to automatically generate API documents based on proto files. Refer to the document automatically generated by Etcd
  • Automated code review in ci/cd pipeline, including: no Chinese in the code; maybe some other necessary checks
  • Automated build: Automatically compile multi-platform binary files (binary files under linux/mac), compress (compress binary files), and build docker images

seeflood avatar Jul 30 '21 07:07 seeflood

New tasks added:

  • Easy

    • #105 reopen
    • Add some translation tasks
  • Medium

    • .wasm module hot reload. see #165

seeflood avatar Aug 06 '21 03:08 seeflood

New tasks added:

  • Medium
    • Provide Layotto Dockerfile,so that users can deploy Layotto with Docker. See #178
  • Hard
    • Support loading multiple wasm files,so that Layotto can serve as FaaS container. See #176

seeflood avatar Aug 13 '21 07:08 seeflood

Hi, Sequencer API related: snowflake algorithm (need to avoid clock rollback problems) could this refer https://github.com/baidu/uid-generator? uid-generator can avoid clock rollback problems but it depends on db if can be done, we just need to implement the go version uid-generator

byene0923 avatar Aug 17 '21 09:08 byene0923

为RPC API添加接口文档.See https://mosn.io/layotto/#/en/api_reference/rpc/reference, assign to me , pls

keleqnma avatar Aug 17 '21 11:08 keleqnma

@byene0923 I haven't used that library before,but I think any existing system which is suitable for id generation can be integrated as a component.So welcome to implement it !

if can be done, we just need to implement the go version uid-generator

Yep,but I am worried that will there be too much work to do? Will the workload be too great? I am not familiar with this library

seeflood avatar Aug 17 '21 11:08 seeflood

为RPC API添加接口文档.See https://mosn.io/layotto/#/en/api_reference/rpc/reference, assign to me , pls

@keleqnma Cool! Thanks for your passion and welcome to the Layotto community! I opened a new issue https://github.com/mosn/layotto/issues/185 ,you can reply there so that I can assign it to you.

seeflood avatar Aug 17 '21 11:08 seeflood

New task added:

  • Hard
    • Deploy Layotto on Kubernetes. see #189

seeflood avatar Aug 19 '21 09:08 seeflood

I want to implement the snowflake algorithm, assign to me pls

keleqnma avatar Aug 23 '21 11:08 keleqnma

@keleqnma Thanks for your passion! I add a new issue https://github.com/mosn/layotto/issues/193 You can reply there so that I can assign to you. If you are not confident about how to implement it,you can write your design before coding Feel free to talk with us in github or dingtalk. I'm on vacation this week but @zhenjunMa is willing to help 😄

seeflood avatar Aug 23 '21 11:08 seeflood

WASM Function access cache through state API, assign to me pls

zach030 avatar Aug 27 '21 15:08 zach030

@zach030 Cool,you can reply in the issue #192 so that we can assign it to u. If you are not confident about how to implement it,you can write your design before coding. Feel free to ask us for help

seeflood avatar Aug 27 '21 15:08 seeflood

New tasks added:

  • Easy
    • Reduce the risk of panic. Add recover for all codes that create new goroutines. See #197
  • Medium
    • Add a actuator metrics API. See #201

seeflood avatar Sep 01 '21 06:09 seeflood