melezhikOPtoOpen Source@lemmy.ml•Dormitory - Dead simple dockerless microservice framework
3·
1 day agoThe plan is to build the entire system on top of Sparky which is written on Raku and extended by Raku
The plan is to build the entire system on top of Sparky which is written on Raku and extended by Raku
What is an advantage of using yaml based dsl over regular programming language?
Also Sparrow itself is already a DSL, so task-run() functions is all one needs to build a pipeline
my 2 cents here, though I don’t understand all the context, you might take a look at sparky - which is lightweight task runner with web console, so you may throw a bunch of jobs into it to do all the “bootstrapping” so that you may later repeat the same if required on any fresh environment …
Ok. Huge part of building microservices framework is infrastructure automation - like setup nginx load balancing in runtime, build and deploy apps from source code, configuring services, tcp ports, health checks, horizontal scaling (adding new worker nodes), setup logging and monitoring, etc, also this needs to be propagated to all cluster nodes, I am not going to do this from the scratch - Sparky is alike (rough comparison though) ansible but with UI and programmable on Raku, so as Sparky has already addressed the mentioned tasks, it’s logical for me to carry on with it. If we take Sparky out of equation, Raku by itself is reach and super flexible language to automate infrastructure, I don’t see why can’t I use it for that …