Alibabacloud.com offers a wide variety of articles about microservices design principles, easily find your microservices design principles information here online.
processing parts related to transaction management are well worth learning, where you can see the management of the data source- Hibernate session management, the combination of threads and so on.For more information, please follow the public number: it haha (it_haha)650) this.width=650; "style=" Width:auto;height:auto; "src=" http://mmbiz.qpic.cn/mmbiz_jpg/ Xruic8oiyw5upuvcv1cifldft9jiazjawtzuqviaytibsdh5le8ricktou2mn0iblkxzw5kgo4ntibmclfng97qyqsntq/640?wx_fmt=jpeg wxfrom=5wx_lazy=1 "alt=" 640
, there are few and relatively simple ideas about database design. Most designs only stay on the surface, which is often fatal and leaves many risks for the system. Either the problem is discovered only during code development, or the problem occurs not long after the system goes online and runs, and it may increase the workload for later maintenance. If you want to modify the database design or optimize it
, there are few and relatively simple ideas about database design. most designs only stay on the surface, which is often fatal and leaves many risks for the system. Either the problem is discovered only during code development, or the problem occurs not long after the system goes online and runs, and it may increase the workload for later maintenance. If you want to modify the database design or optimize it
Article Reprinted from http://www.52robot.cn/bbs/viewthread.php? Tid = 319 extra = Page % 3d1
Industrial Robot Operator
Operating Machine Design Principles and Methods1. Operating Machine Design Principles(1) the principle of minimum inertia is subject to impact and vibration due to frequent changes in the movemen
accessed column as the primary key in order to improve query efficiency. In addition, the normal index of INNODB will hold the key value of the primary key, and all primary keys should choose a shorter data type whenever possible. as you can see, the modification of the primary key should be avoided as much as possible. With the DBA's test, the increment of the primary key can improve insert performance. For section 6, select time from Table a where ID >xxxx. Where ID is the primary key. There
to embedding, unless there are compelling reasons. B. you need to access an object individually, and that object is not intended to be embedded in other objects. C. arrays should not grow indefinitely. If there are hundreds of document objects on the many side, do not embed them with a reference to the ObjectID scheme, if there are thousands of document objects, then do not embed an array of ObjectID. Which scenarios to take depends on the size of the array. D. Please confirm the read/write
inheritance in the design, first assume that you have made a mistake. If you do not make a mistake, try to prove it.
(56) as long as inheritance is used in object-oriented design, I have two questions: (1) is the derived class a special type of the thing it inherits? (2) is the base class part of the derived class?
(57) If you find multiple inheritance relationships in an object-oriented
The stable abstraction principle sap is the last of the six component design principles. It is usually combined with the stable dependency principle SDP to create a high-quality component dependency structure. Finally, it is the last one ,.
The stable abstraction principle (SAP)
A component shoshould be as abstract as it is stable.The degree of abstraction of components should be consistent with its degree
a unified manner according to the design.
(13) do not create all-powerful classes/objects in your system. Be especially careful about the classes whose names include Driver, Manager, System, and Susystem. Plan an interface instead of implementing an interface.
(14) Be careful with classes that define a large number of access methods in public interfaces. A large number of access methods mean that related data and behaviors are not stored in a central
is, the top-level classes should share work in a unified manner according to the design. P30(13) do not create all-powerful classes/objects in your system. Be especially careful about the classes whose names include driver, Manager, system, and susystem. P30Plan an interface instead of implementing an interface.(14) Be careful with classes that define a large number of access methods in public interfaces. A large number of access methods mean that re
. If you do not make a mistake, try to prove it.(56) as long as inheritance is used in object-oriented design, I have two questions: (1) is the derived class a special type of the thing it inherits? (2) is the base class part of the derived class?(57) If you find multiple inheritance relationships in an object-oriented design, make sure that no base class is actually a derived class of another base class.(5
"? What kind of object-oriented principles should we follow?
The object-oriented knowledge obtained from programming languages alone is not competent for object-oriented design and development and requires systematic learning of Object-Oriented Knowledge.
What is an object?-At the conceptual level, an object is an abstract with certain responsibilities.-On the specification layer, an object is a serie
right, here's a bunch of crap. The six principles of object-oriented design are now formally introducedI. Opening and closing principle (OCP)Defined:open for extensions, close for modifications. For example: Your class has monitor, study Committee, sports committee and so on a series of class cadres. Because in a collective activity your organization ability is the teacher fancy, want to promote you on dut
PHP design Pattern--six major principles
It is generally considered that code that complies with the following six principles is easily extensible and reusable:
The six principles of any object-oriented language should be adhered to, in order to make your code easy to expand high-dose to meet the six
Article Description: Examples of some well-known network companies design principles.
People often ask me how I can choose the right one from hundreds of ideas that I get from brainstorming. In addition to intuition and experience, there is a way to help us decide and define design principles. Before 2007, we
, These seemingly magical business classics have been fulfilled. And Apple's Iphone/ipad the principle to the extreme.It's a simple matter to complicate a thing, but it's complicated to make a complicated task simple.Reference : Http://en.wikipedia.org/wiki/KISS_principleProgram to a interface, not an implementationThis is the most fundamental philosophy in design patterns, focusing on interfaces rather than implementations, relying on interfaces, rat
The interview encountered this kind of problem, again make a record, in case just!1. There are two design constructs in Java I/O: Decoration mode and Adapter modeSymmetry in the 2.Java library:(1) output-input symmetry: InputStream and OutputStream handling byte streams; reader and writer handling char streams.(2) Byte-char symmetry: InputStream and reader subclasses are responsible for the input of byte and char respectively, and OutputStream and wri
. Until recently, after reading a few books, I found a good way to guide the design of CSS, which is five why or five questions. The five questions came from Toyota's lean production, which was later naturally derived into lean entrepreneurship, and was seen in DDD and UX-related books, with the main thrust of discovering the real reasons behind the massive phenomenon. At first glance it is a management method, in fact I think it is a way of thinking,
structure instead of a doubly linked list. For each database, there is a namespace file that holds the metadata corresponding to each namespace. We can find the storage block location of the corresponding namespace by querying these meta-data. If you turn on the jorunaling log, there will be files that store all of your operational records. 3, storage mmap way to map the file address to the memory address space, directly manipulate the memory address space can manipulate the file, no longer cal
1, in the creation of the data table, for the string type of the field, if the length of the field is clearly known, the char type, otherwise varchar. Char types query faster, but waste storage spaceThe difference between a string char and a varchar is two points: 1, the storage length is different, the char type stores a fixed length, the varchar type is variable length, and a byte is added to the stored content. Like whatCHAR (5) varchar (5)', Memory accounts for 5 bytes ' 1 bytes' Kingwu_han
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.