Introduction to DSS
DSS is a set of. NET platform applications developed for remote data synchronization, which is hosted on a Windows service, consisting of multiple clients and a server, where the client collects data (the data source side), which is used by the server to write data to the specified database (data destination), and the entire data transfer process uses a socket to Implementation, the data volume of a single time around 200K to ensure the performance of the transmission; In the server through the storage of Uncle Cachequeue queue components to solve the problem of high concurrency, the queue in order to facilitate background maintenance, the use of file storage method.
DSS System architecture Diagram
Design of DSS data consistency
DSS Solution diagram
DSS configures a separate port for each client to reduce data conflicts
<socketServer> <servers> <!--maxmessagesize:1000k,socketbuffersize:8192, buffer refers to how many bytes are processed after real processing, such as writing a library and so-<server name="client1"Port="8403"socketbuffersize="819200"messagebuffersize="819200"maxmessagesize="10240000"MaxConnections="200000"servicetype="Tsingda.DSS.Server.ListeningService.Application.DSSCommandManager, Tsingda.DSS.Server.ListeningService.Application"Protocol="dssbinary"/> <server name="Client2"Port="8402"socketbuffersize="819200"messagebuffersize="819200"maxmessagesize="10240000"MaxConnections="200000"servicetype="Tsingda.DSS.Server.ListeningService.Application.DSSCommandManager, Tsingda.DSS.Server.ListeningService.Application"Protocol="dssbinary"/> <server name="Strcmd"Port="8404"socketbuffersize="8192"messagebuffersize="8192"maxmessagesize="102400"MaxConnections="20000"servicetype="Tsingda.DSS.Server.ListeningService.Application.StringCommandManager, Tsingda.DSS.Server.ListeningService.Application"Protocol="asyncbinary"/> </servers> </socketServer>
Well, for the data Porter is introduced here, next time we will analyze the implementation of the source code!
Data Porter dss~ Introduction