Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Using Micro Services As Proxies.md #226

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
### Using Micro Services As Proxies
### Using Micro Services as Proxies

A part on that I had to recommend is the creation of a micro service for each client. And this micro service is basically a proxy, is basically a wrapper around the original service which usually tends to be massive, very complex massive legacy issues, massive versionning issues.
Creating a micro service for each client is something I am happy to recommend. A micro service is basically a proxy, or a wrapper around the original service. The original service usually tends to be massive, with complex legacy and versioning issues.

So, in a way instead of a particular client like a mobile or desktop or website via ajax consuming the main web service directly, what they do is they consume a micro service.
So, instead of a particular client, such as a mobile, or desktop, or website, consuming the main web service directly via Ajax, the client consumes a micro service.

And this micro service needs to be maintained and created by both teams. So basically it is a project that has in a way two owners, one owner is the client like the mobile team, the other owner is the actual web service team the original one or the one that you proxy.
This micro service needs to be maintained and created by both teams. It is a project that in a way has two owners. One owner is the client (like the mobile team); the other owner is the actual web service team, which is the original one and therefore the one that you proxy.

And what this means, it means that now when the mobile team needs a new API or a new entry point, or needs to get data differently, or needs to version it they are able to because they control that web service.
This means that if the mobile team needs a new API, or a new entry point, or if it needs to get data differently, or needs to version it, they are able to because they now control that web service.

And the logic is that the core functionality, let's say for example all dedication decisions, all transition decisions, business logic, any kind of major should be on the main web service.
The logic is that the core functionality -- all the dedication decisions, all transition decisions, business logic, or any other kind of major decision-- should now be on the main web service.

The power of this work flow is that because you then have the unit test that lock the micro web service, you could move that new functionality in a way the web service, the main one on time. And what that means it means that you allow the main web service to be conservative in the making changes and sustainability, robustness, consolidation re-factoring knowing that the clients are the micro web services so there is a very tight relationship there which can then obstruct those and secure them and performance, and queue them and perform all sorts of stuff before it reaches the client.
The power of this workflow is that because you now have the unit test that locks the micro web service, you could move that new functionality to the micro service, and leave the main one online. This means that you allow the main web service to be conservative in making changes and sustainability. This supports robustness, consolidation, and re-factoring. Knowing that the clients are the micro web services, there is a very tight relationship between them which can secure, queue, and perform all sorts of tests before it reaches the client.

So, a common problem is for example an API wasn't designed for a mobile use which basically means that the API provides more data than it should, provides data in a non scale able way and this micro service will now allow you to fix that because you can normalize the APIs, you can basically create multiple versions, you can much better support multiple types of clients, for example multiple versions to mobile which each one has different versions.
A common problem, for example, is an API that wasn't designed for mobile use. This means that the API provides more data than it should, and it provides data in a non-scalable way. The micro service will allow you to fix that because you can normalize the APIs, you can create multiple versions, and you can much better support multiple types of clients, such as multiple versions to mobile where each one has different versions.

It is easy to depreciate those in a way API versionning becomes a much better thing and what you have is then the ability to run them in the containers because they become really easy to containerize because suddenly they are now in this environment where they could be run in multiple instances.
With this workflow API versioning becomes much better. What you have then is the ability to run them in the containers. They become really easy to container-ize because they are now in this environment where they can be run in multiple instances.

You can have multiple versions even running in parallel and you can have multiple instances of that particular micro service running on top of the whole stack. So, that allows you to use containers like docker and you have a much more scale able and robust in a way secure solutions.
You can even have multiple versions running in parallel, and you can have multiple instances of that particular micro service running on top of the whole stack. This allows you to use containers like Docker, and it gives you much more scalable, robust, and secure solutions.