Monday, 24 October 2022

Show HN: mirrord – run your local code in the context of your cloud environment https://bit.ly/3VU6IJ8

Show HN: mirrord – run your local code in the context of your cloud environment Hey everyone, I’m Eyal, co-founder and CTO of MetalBear, the company behind mirrord. We’ve recently released version 3.0 of mirrord - it’s the first version of the product that we believe can provide daily value for backend developers. mirrord is a free, open-source (MIT) product that cuts your development loops by making it easier and faster for your local code to “meet” your cloud environment. mirrord lets you “plug” your local process into your Kubernetes cluster. When you run your process with mirrord, it completely wraps your process in the context of the corresponding service on your cluster - it essentially proxies all of your process’ input/output to the remote pod, from network traffic to file access to environment variables, so that you can keep running your process from the familiar comfort of your local environment, but with input, configuration, and state from the cloud. While mirrord can be used in a lot of ways, our ideal use case is for it to be used for concurrent work on a shared, mature development or staging environment. Instead of maintaining multiple environments, each with its own state, maintenance, and cloud costs, organizations can now leverage a single well-maintained production-like environment for use by multiple developers or teams. mirrord is written in Rust, and the technology behind it is quite interesting (and we actually wrote some blog posts about it, see in our company blog [1]): - mirrord injects itself into the executed process, hooking most of the libc APIs, then decides what to run locally and what to run remotely - This lets us run only a specific process in the context of the remote environment, unlike similar solutions which use VPN or edit system files - In order to hook functions, it uses the fantastic Frida framework As for our business model, we plan to launch a managed service to complement the open-source offering of mirrord. The service is intended to help you manage the use of the product in a team/enterprise context. We would love your feedback, and would appreciate your support by: - Trying out mirrord [2]! - Joining our Backend Engineers Discord community [3] - Telling your friends - Contributing to our codebase or opening issues [4] Let me know what you think! [1] https://bit.ly/3TzWCM2 [2] https://bit.ly/3smt8Fg [3] https://bit.ly/3FaZJ8w [4] https://bit.ly/3VYoFWQ https://bit.ly/3N0hbi0 October 24, 2022 at 01:58PM

No comments:

Post a Comment