1. Interface Interface is a reference data type, the keyword interface. A class can only inherit one class using extends, and implement multiple interfaces using implements. Inheritance first, impl
Month: October 2021
Micro service mode language
Microservice pattern language The following summarizes the pattern language of microservice architecture
Which one should you choose for your application Architecture?
How to decompose
Distributed ID Generating System – Summary
Distributed id generation system–summary UUID Simple and easy to use, but when doing database sharding, UUID is not suitable as a partition Film key
For details, see Leaf——Meituan Dianping D
Simple object-oriented -Web server
import socketimport reimport multiprocessingclass WSGIServer(object): def __init__(self): # Create a socket self.tcp_server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.tcp_serve
Distributed Calculation – Why doesn’t a simple three-way voting can’t solve the Byzantian failure?
I have read many papers about Byzantine fault tolerance recently. There is a common evidence that a 3m 1 computer is needed to handle m Byzantine faults. The general evidence is as follows: < /p> T
How do I copy the architecture and some data from SQL Server to another?
My product uses SQL Server database-each client has its own deployment instance on its own intranet. The db has about 200 tables. Most of them are only a few Row configuration table, but there are
EUREKA Service Configuration (Registration Center)
Description: According to the Restful distributed architecture in the previous article, a basic design architecture has been implemented based on Rest at this time. For the program design in the pr
Abstract method and abstract class
1. Abstract class The purpose of an abstract class is to mark certain classes that cannot be initialized, but can only be inherited and polymorphic, such as Animal is an animal class, there is n
Inheritance – superclass inheritance in React DEFAULTPROPS
I think some props (for example, themes) are so common in components that the processing (for the super class) to extract them makes sense. Then its default value also belongs to There.
But,
Multi-level inheritance C.
Assuming that a class C inherits from class B, it overrides the virtual function defined in A. C does not override the function. When the pointer of type A* points to an object of type C, Will the