bufbuild / buf

The best way of working with Protocol Buffers.

Home Page:https://buf.build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Programmatic/on-demand Compilation

austince opened this issue · comments

I'm experimenting with a server that can support dynamically registering new schemas without restarting, similar to Kubernetes CustomResourceDefinitions. Ideally, these schemas will be proto.

For scale, looking to support on the order of 100s of schemas, each less than 500kb.

Naively, thinking I'll need to compile them at runtime on each instance of the server. I'd worry if this poses feasibility concerns, depending on how expensive it is to compile.

Has there been any similar use cases discussed here? Are there any simpler ways to go about it?

Apologies for the delay in response - would you be open to setting up a call to discuss?

Hey there, sure thing happy to join a call.

Sent an email to the email address listed on your GitHub profile - happy to chat. I think this issue is unlikely to be directly related to the CLI, so I'm going to close this issue, but looking forward to talking.