Heard that can use WCF or WebService,
It is so, I use WCF, after connect machines, will manage the machine variable upload server, multiple computer can access the variable, but like every visit to service variables to instantiate the
How I want to ask next concrete implementation, for example? What other technology or use?
Or how to implement a program that is responsible for the interaction and machine port, other programs call this program? , specific how to implement?
CodePudding user response:
You this is not a TCP communications on the machine to create a TCP server other computers create TCP client connect to the server for communication protocol for certain operations
CodePudding user response:
Have extra, don't be partial, XX garden with a lot of people are partial, we can only try to back
Mq + RPC
Or kafka
To a public message bus, we try to isolate
CodePudding user response:
reference 1st floor OrdinaryCoder response: you that this is not the TCP communications on the machine to create a TCP server other computers create TCP client connect to the server for communication protocol for certain operations A machine like connect only one client, CodePudding user response:
Better don't use variables to store Use/Redis database to store data Someone else to access from the inside CodePudding user response:
reference wzWangTank reply: 3/f Quote: refer to 1st floor OrdinaryCoder response: you that this is not the TCP communications on the machine to create a TCP server other computers create TCP client connect to the server for communication protocol for certain operations A machine like connect only one client, A server can have multiple clients connected to communications between the client if you need only require transshipment can server CodePudding user response:
The reference 4 floor stherix reply: don't use variables to store better Use/Redis database to store data Others to access from the inside is good I said the variables are retrieved from the database objects If every time fetch the data from the database, get connected to the machine information, also not achieve much computer connection? CodePudding user response:
Think about your own things, this is just like a present "shopping machine " Pepsi cola, milk tea -- -- -- -- -- -- -- -- -- -- -- -- -- a bunch of stuff in there, are you looking at, (show is a show, 100 is a watch) Then someone want to sell, ok -- -- -- -- -- -- -- -- -- -- you pay, I give you throw out (you want to operate you) So what not even 100 100 people, even so many stem what? Are you going to have operation, no operation are all data CodePudding user response:
Netcore + MVC the simplest Other supersocket Or write an iocp CodePudding user response:
refer to the eighth floor qq14923349 response: netcore + MVC the simplest Other supersocket Line or write an iocp is Continue to back, had a significant impact on XX park, MVC is not considered network, is network equipment in most cases, your web server where access, Supersocket, iocp -- -- -- -- -- -- -- -- the same, the network is considered useless, don't say XX garden is introduced at the same time, with you used, hole bridge? Isolated, -- -- -- -- -- - don't always think, A, B, B A, RPC, netty, mq, kafaka -- -- -- -- -- -- -- -- -- -- - don't say that is a Java stack, who told you the Java stack.net can't use? XX garden every day to say the core, micro service, sugring (see sugring oneself with many Java stack? Log4net, GRPC zookeper conser, mq, Microsoft's own so-called typical service "best" with how much Java stack) CodePudding user response:
references 9 f wanghui0380 response: Quote: refer to the eighth floor qq14923349 response: Netcore + MVC the simplest Other supersocket Line or write an iocp is Continue to back, had a significant impact on XX park, MVC is not considered network, is network equipment in most cases, your web server where access, Supersocket, iocp -- -- -- -- -- -- -- -- the same, the network is considered useless, don't say XX garden is introduced at the same time, with you used, hole bridge? Isolated, -- -- -- -- -- - don't always think, A, B, B A, RPC, netty, mq, kafaka -- -- -- -- -- -- -- -- -- -- - don't say that is a Java stack, who told you the Java stack.net can't use? XX garden every day to say the core, micro service, sugring (see sugring oneself with many Java stack? Log4net, GRPC zookeper conser, mq, Microsoft's own so-called typical service "best" with how much Java stack) Sorry there is something wrong with the MVC supersocket I used? In addition to the high concurrency to special handling said he doesn't need high concurrency Netty mq hprose I also made what ah? The authorship of a bug on the hprose didn't handle here also tell you my I don't know that network is what you say? CodePudding user response:
Yes, you have used, so good from bad, pit how much you know, why not bring people into the ditch CodePudding user response:
The high concurrency is directly with the simplest MVC to fit the fastest From the original poster said between the lines of what do you think of the building foundation is very high? First, from the perspective of the simple MVC know RPC is how this simple processing the concurrent processing Is good for you to understand other assorted framework CodePudding user response:
Push singalr also can do the news CodePudding user response:
With a communication port must be a TCP or udp, also is to use sokect, agreement as to what you need to use your own decide, and can choose by your own environment WCF, HttpLisener tcplisener methods such as can be, also can use MQTT. CodePudding user response:
You read this requirement is server machine values stored in the server, but other computers through the server to read out, if my understanding of Read the values in the cache, other computers through the server in the cache to get, Who with who take good, do not have what relation with push ah, Upstairs and recommend this and recommended that, as if you didn't know the specific what to do, CodePudding user response:
reference 15 floor curiosity is to learn response: you this requirement is the server machine value stored in the server, but other computers through the server to read out, if my understanding of Read the values in the cache, other computers through the server in the cache to get, Who with who take good, do not have what relation with push ah, Upstairs and recommend this and recommended that, don't seem to understand what exactly do you want to do, Demand is that multiple computers connected A machine to achieve communication at the same time, such as computer A and computer B can control A machine at the same time CodePudding user response:
Is it not a gat set problem! A written in the set values to the server cache, other use a GET to take, which come so much communication problem of the communication, and every time you instantiated because at the time of call server do you instantiate the operation! You to define the variable as static, I don't see he also instantiated every time! CodePudding user response:
Multiple computers to connect a machine to achieve communication at the same time sokect connection to do, good! CodePudding user response:
Well, thank you CodePudding user response:
Well, thank you CodePudding user response:
Belong to the socket, WCF programming problems, such as This need you study system, rather than get a variable Involve the communication protocol, cross-domain access to many problems and so on CodePudding user response:
Because there is no C C, sorry CodePudding user response:
Can not achieve one-to-many UDP? nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull