-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add bun-cluster
preset
#3058
Conversation
Thanks for the PR. Since bun already supports (since it adds complexity to the codebase, I prefer to recommend |
bun-cluster
preset
sure, I'll provide a benchmark soon, in the meantime, pooya, would you please expand on native fetch support? |
Yes indeed (and we do use native fetch for long time). I meant |
I used let number = 1
export default eventHandler(async () => {
return "Hello World! (request number: " + number++ + ")";
}); There were some unexpected/interesting results. 1. Using bun to run
|
Based on the benchmark data, it appears that using the Given this information, it seems that this pull request primarily adds code complexity without providing significant benefits. We could revisit this PR at a later stage after additional releases from Bun to see if future benchmark results change. I will close this for now. Thank you for your input! |
π Linked issue
resolves #3057
β Type of change
π Description
This PR tries to create a new preset to support clustering mode similar to
node-cluster
in bun.π Checklist