Architect Methodology

##################################################
2017.12.13
Data is lazy, far and near, the farther the distance should be Minimize dependencies.

Registers , method parameters, same context, same session, same thread, same process, same system, same subnet, same computer room, same region,
in system design, try to consider the degree of data dependency, try to do as much as possible. To the most natural state


################################################################################################################################################################################################################################################################################## "Passive Determining Protocol Interface" Passive Pan-Protocol Interface "Active Determining Protocol Interface" Active Pan-Protocol Interface "Message Body" Interface Parameters>. . . When designing the system , give priority to the low-coupling design method. First use: Client > Parameters > Message Queue Notification > Business Asynchronous Abstract Notification > Business Interface Accurate Definition Notification > Data Source . Stack data, global data, thread data, persistent data, non-persistent sub-data, memory data, local data, data in the same computer room, etc., you can refer to this method to make a trade-off design Note : Throughout, according to lazy The lower the layer, the less conducive to the expansion and decoupling of the system. For example : SSP -> ADX SSP itself does CPT. When obtaining bidding advertisements from ADX, in order to make the advertisements from ADX inconsistent with its own CPT advertisements Repeat, there are the following design methods 1, data source sharing 2, message queue notification 3, business protocol interface notification (SSP->ADX) or perception (ADX->SSP)



















4. The platform protocol interface notifies ADX (available message queue)
5. Requests the ADX advertising interface to add blacklist parameters
6. Client-side processing

Comprehensive consideration, 6 does not work, priority is given to 5.

In addition, the difference between 2 and 5 can be compared
according to Di Mitte minimum design principle
2 way, ADX will indirectly rely on lazy SSP information (CPT advertisement, CPT advertisement effective/expiration time)
5 way, only rely on lazy (CPT advertisement) information
To sum up , choosing 5 way is the most good way

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326154298&siteId=291194637
Recommended