Lann

Results 146 comments of Lann

> I'm wondering if we can take this prototype one step further, and embed the application metadata for this one-component approach in a custom section? We probably can, but that...

Hi @ethanfrey; good question. The [Extending and Embedding Spin](https://developer.fermyon.com/spin/v2/extending-and-embedding) section of the docs covers this in somewhat more detail, though it's still true that the topic isn't very well covered....

Ah, adding imports for custom triggers is indeed entirely undocumented afaik. I'll try to outline the necessary steps here; apologies if I miss something: - Implement [`TriggerExecutor::configure_engine`](https://github.com/fermyon/spin/blob/fb45f59f92348cf6ddb2a6405af53168223b3a52/crates/trigger/src/lib.rs#L37), which gives you...

I should also add: we are planning to embark on a major redesign of `spin-core` in the next ~quarter which will _hopefully_ make some of the above more obvious and...

> that didn't seem to provide an extension point for custom code, as it uses a private member of TriggerExecutorBuilder Indeed there are some limitations here and in fact that...

I think my hesitation with this feature request has been the lack of motivating use cases. Off the top of my head I can imagine different categories that might suggest...

Hello, thanks for the report. I am not aware of any reason for a local execution to be that much slower than Fermyon Cloud. Would it be possible for you...

For comparison, on my Linux AMD 5900X desktop, `time curl http://127.0.0.1:3000/float` takes ~0.22s. Could you give more information about your local environment?

Wasm itself already allows for this kind of initialization but there is still some missing toolchain support, i.e. I'm not sure if there is _any_ way to run arbitrary init...

If the output of `ToSql` is correct then it isn't an issue with squirrel. Those values get passed on to whatever database driver you are using.