MerLoc is a live AWS Lambda development and debugging tool, supporting Java, Go, Python, Node.js & .NET runtimes & works with serverless framework & AWS SAM under the hood.
Looks quite promising. One question; how do I configure CPU limits of the function? I could see that there is a variable for memory configuration in environments file but not for CPU. Or maybe the same logic applies here as in lambda where we set the memory and computing power is adjusted accordingly?
Currently there is no CPU limit for any function running on local. Because MerLoc runs functions in embedded mode. But we are working on a solution to be able to run functions on your local Docker. Then you will be able to limit CPU and memory usages per function on your local and total limit will bound to your host machine CPU and memory limits.
So there is almost no performance loss here, that is cool. And your quick start guide also seems nice: https://docs.runsidekick.com/installation/installing-agents/.... I wonder how much memory this agent requires? How often it flushes the collected data?
We buffer all the data and send them asynchronously in batch without blocking your code execution, so it would be around 40-50 MB but there are configurations for our buffer thresholds.