Can you describe the features of Springboot that you find valuable when developing a microservice?

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.


In reply to Re: Perl microservice framework by NERDVANA
in thread Perl microservice framework by mvanle

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.