getkyo / kyo

Toolkit for Scala Development
https://getkyo.io
Apache License 2.0
481 stars 38 forks source link

Graal Native Http Server #209

Open fwbrasil opened 3 months ago

fwbrasil commented 3 months ago

Following the great success of Graal's native image in projects like Quarkus, Kyo should also provide a straightforward way to ship an HTTP server using kyo-tapir in a native binary. The main challenge of this task is making the necessary configurations in Graal to support Netty.

Pointers:

calvinlfer commented 1 month ago

https://github.com/oracle/graalvm-reachability-metadata might be helpful in assisting with the mappings

fwbrasil commented 1 month ago

/bounty $500

algora-pbc[bot] commented 1 month ago

💎 $500 bounty • Kyo

Steps to solve:

  1. Start working: Comment /attempt #209 with your implementation plan
  2. Submit work: Create a pull request including /claim #209 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to getkyo/kyo!

Add a bounty • Share on socials

Attempt Started (GMT+0) Solution
🟢 @987Nabil May 22, 2024, 1:06:35 AM WIP
fwbrasil commented 1 month ago

Bounty requirements:

  1. A working HTTP server using kyo-tapir
  2. Initial performance analysis of the solution in comparison to the regular JVM
987Nabil commented 1 month ago

/attempt #209 zio-http probably needs something quite similar for graal support. So this might be a two for one

Algora profile Completed bounties Tech Active attempts Options
@987Nabil 34 bounties from 1 project
Scala
Cancel attempt
fwbrasil commented 3 weeks ago

@987Nabil Have you started working on this yet?

987Nabil commented 3 weeks ago

@fwbrasil I did some research. I'll have some more time this week and will continue.

987Nabil commented 2 weeks ago

fyi: I got sick. But I'll still plan to do this.