Electric Vehicle licence
Big Shanghai Life is not easy, because the place is far from work, buy a car to drive a larger consumption, also quite traffic jams, do the bus is very slow. So bought an electric car, the work experience has risen a lot. Yesterday when the weather was fine, I asked for a fake to get on board. To the Traffic police brigade, a priori car, and then copy Electric vehicle certificate, invoice, ID card, residence permit. Then line up to receive the certificate.
The above is done. The main point is to come back on the way, the road through a small square, non-motorway side, a green worker hands carrying the kind of lawn mower with motor in the pruning holly. I'm looking a little bit dangerous and on the other side of the past. The guy came up with a big loopback lawn mower and turned around. It scared me so much that I almost fell out of the car. Fortunately the non-motorized vehicle is wider, or the new car or my leg has to open a hole. That's moon me too! After I stopped, I stared at him angrily, and looked at him with a little fright, and I did not continue to delve into it.
The above is done.
One article to summarize
Micro-Service Authorization verification
To run a license plate, buy a house and other life, in the harmonious big China and foreign countries, all need a variety of certificates. depend on each other.
Similar authorization certifications should be provided in the MicroServices world. This is a safe line of defense.
Micro-Service Alerts
If the road is too narrow, or micro-service in the world of hard disk space, network traffic overrun, such as risk situations, to anticipate, alarm. In real life, the whistle can be used to remind the other person to pay attention to safety, or pedestrian autonomy according to safety to stop or bypass immediately. This in the micro-service world, should have a corresponding embodiment. Consider the monitoring of memory, CPU, hard disk, network traffic and other dimensions. Automatic or manual auxiliary adjustment according to the warning information.
Micro-service Distributed monitoring
Talking about the license plate, a variety of license plates, driving in the streets, under the supervision of the street Eagle Eye, driving track clear. Card for license plate, Eagle Eye Monitor the license plate without directly monitoring your ID card. This is similar to decoupling in the software world. We switch to the MicroServices world, where a key-to-parameter generates a unique key, which is recorded in any call between the systems and is monitored. Each key is recorded in a code, scattered, boundless, and formed a micro-service distributed business monitoring.
Service isolation
For security reasons, there are motor vehicles, non-motorized vehicles, pedestrian trails. To transform into a software idea, we need to isolate parts of the business based on security, time-consuming, business, and so on, without affecting some other part of the logic.
Bounding context
The domain-driven design often mentions the bounds of the bounding box, which distinguishes the boundaries of the lines of business. Roadway, non-motorized carriageway is naturally consistent with this practice. It also provides cross-transfer at different intersections. and provide the necessary interoperability.
Micro-service comes from life, above life.
Because Jane Book mobile phone terminal operation is convenient, has started simple book: