如果我从一个计算机向另一个计算机发送一个包装单,直接通过一个电文网电缆连接,那么它是否更快地在接收计算机上与UDP进行不断的污染,或者将Java RMI用于接收计算机的“give”包装?
我不知道是否有任何业绩变化?
如果我从一个计算机向另一个计算机发送一个包装单,直接通过一个电文网电缆连接,那么它是否更快地在接收计算机上与UDP进行不断的污染,或者将Java RMI用于接收计算机的“give”包装?
我不知道是否有任何业绩变化?
通常更快地进行UDP,因为没有额外确认输电的间接费用,因为不必同时收到收货确认书。
With TCP, there is an acknowledgement transmitted back to the source of the data. Full duplex communications can make the transmission of this acknowledgement occur without disrupting the incoming data stream; however, you do have to wait some amount of time for that acknowledgement to return the the sender, and that sender to process it.
虽然这两台计算机都被认为足以处理数据流处理,但实际世界计算机可能会发现自己从事多重任务,从而可能中断按线速度处理网络交通的能力。 在这种情况下,如果传送计算机不能得到足够迅速的承认(或者接收计算机不能足够快地传送),那么你就可以将不确认的包装单的窗户穷尽,这将导致传送计算机的中断传输,直至确定所传送的内容需要重新发送或接收。
But UDP is no bed of roses, as it s solution to not acknowledging receipt is to allow any packet to disappear without notice at any time. As such, it is ideal for data that doesn t need to be transmitted completely (live voice, if it s dropped it is more important to start with the "now" packet than collect them all), or for data where the retransmission is managed by more efficient application-specific algorithms.
Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...
Check this, List<String> list = new ArrayList<String>(); for (int i = 0; i < 10000; i++) { String value = (""+UUID.randomUUID().getLeastSignificantBits()).substring(3, ...
I am in the middle of solving a problem where I think it s best suited for a decorator and a state pattern. The high level setting is something like a sandwich maker and dispenser, where I have a set ...
I have been trying to execute a MS SQL Server stored procedure via JDBC today and have been unsuccessful thus far. The stored procedure has 1 input and 1 output parameter. With every combination I ...
I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...
If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...
I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....
I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...