in reply to Perl microservice framework
If you are just looking for the easiest way to write a web service in Perl, Mojolicious::Lite lets you define the whole thing in a single file, and the Mojolicious dist comes with all the tools you need to write event-driven perl code. Those event-driven tools also make a good foundation for non-web services that talk on a TCP or Unix socket.
There is also the Plack ecosystem, which is designed to glue together Servers, Middleware, and Applications. If your microservice is simple enough, you can write it as a Plack app and not even need a fancier web framework. You would write a file with a single sub($env) { ... } in it, (where $env contains the PSGI environment describing the HTTP request) and then run it behind a server of your choice like Gazelle or Twiggy using the "plackup" command.
Aside from that, I don't have experience with Spring or Springboot to know what you might be expecting to find in a framework.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl microservice framework
by mvanle (Acolyte) on Dec 23, 2024 at 09:28 UTC | |
by NERDVANA (Priest) on Dec 23, 2024 at 16:04 UTC | |
by mvanle (Acolyte) on Dec 24, 2024 at 05:18 UTC | |
by NERDVANA (Priest) on Dec 24, 2024 at 15:31 UTC | |
by LanX (Saint) on Dec 24, 2024 at 11:52 UTC | |
by mvanle (Acolyte) on Dec 26, 2024 at 09:35 UTC | |
| |
by Arunbear (Prior) on Dec 23, 2024 at 12:59 UTC |