dylibso / dylibso/chicory

Support copying an Instance

Open
#945 20 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
71
PR merge metrics
No merged PRs in 30d

Description

I've encountered some proxy-wasm modules (https://github.com/corazawaf/coraza and https://higress.cn/en/docs/latest/plugins/ai/api-o11y/geo-ip/) which do large amount of initialization work. Since the modules are not thread safe, if I want to be able to concurrently use the module, I would need to create multiple instances of the module. But since the initialization is so heavy, this would really slowdown the system. It would be nice if you could initialize one module and then copy it as needed for each concurrent thread.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.