The Programmer News Hubb
Advertisement Banner
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
Gourmet News Hubb
No Result
View All Result
Home Tricks & Tutorial

How do you do local development with microservices? : softwaredevelopment

admin by admin
October 4, 2022
in Tricks & Tutorial


Hi everyone! Given the challenges with developing on microservices, I have an idea for a framework and wanted to get feedback from the community on whether this would world or not, and how valuable it would be to dev teams. Your thoughts are much appreciated!

Problem:
Engineering teams often start with devs running the entire stack locally/in a personal cloud. As the infra grows in complexity and multiple services are created, some problems arise.

  • it’s too resource intensive to run the stack locally

  • it’s too expensive to run in personal cloud environments

  • can’t develop with prod-like data and resources.

  • mocking is hard to set up and maintain.

So the teams move to a shared dev env, but this leads to new problems:

  • delays caused by coordination and conflicts (merge resolutions, “sorry I broke the build, wait for me to fix it”)

  • slower iteration from the overhead of merging and pushing to dev to develop against dependencies

Idea:
A hybrid service management framework that allows you to run any subset of services locally, on a personal cloud env, shared dev env, or temporary env. You could mix and match in real time which services are pointed to which in a given instance of the stack. For example, you could run your own copy of service A & B connected to shared prod-like instances of services C & D. If you decide you need to make a change to service C, in a few clicks you could spin up a personal copy, all of the connections would be adjusted, and you could immediately iterate on it. Or you decide to test with prod-like data in service B, you could swap out the connection to point to the a shared prod-like db. Potentially we could get into helping to seed test databases and mock services. This would enable:

  • cost savings by only spinning up the necessary resources while leveraging shared resources

  • faster iteration and testing against prod-like data and services, without conflicts and without having to merge/deploy, as if everything was running locally

We’re aware of technical complexities involving VPC peering, two way request-based proxying, and data dependencies/shared dbs causing issues in this hybrid setup.

Alternatives:
Tools like Okteto, Releasehub, Docker Compose, Tilt offer the ability to spin up environments easily, but don’t allow you to mix and match connections between different environments during development/testing, so the above problems would appear to persist. Telepresence and

Garden.io seem to be closer to this, but aren’t complete drop-in solutions and aren’t flexible for managing subsets of services.

Would you pay to use something like this?



Source link

Previous Post

How to Create a Color Palette for Your Design System

Next Post

Why Classic WordPress Themes Aren’t Going Away

Next Post

Why Classic WordPress Themes Aren't Going Away

Recommended

The dichotomy of AI for the software developer

2 months ago

Tips for Graphic Designers Who Want to Build Websites

7 months ago

Top 22 Python Book for Beginners and Advanced Coders

8 months ago

Predicting the Next Opportunities for WordPress Innovation

10 months ago

Microsoft to end support for the Visual Studio for Mac IDE

1 month ago

How to Create the Perfect Hero Image for Your Portfolio Site

11 months ago

© The Programmer News Hubb All rights reserved.

Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Privacy Policy and Terms & Conditions.

Navigate Site

  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

Newsletter Sign Up.

No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

© 2022 The Programmer News Hubb All rights reserved.