Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the reliable performance of WCF?

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly talks about "what are the reliable performance of WCF". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor to take you to learn "what are the reliable performance of WCF?"

For our development projects, we are the safest, if a technology security performance is particularly good, it will be used by us, no one wants to build an application system full of security risks. On the contrary, we will try our best to ensure that our system is secure. If we do this now, we will certainly do it in the future. In the past, it was up to us, developers, architects, or testers to know how to configure our systems in a secure way. We can see countless technologies that provide security for our systems, and it is very difficult to determine which technology or technology as a whole is the right choice for our application security.

Innovative is that WCF supports a variety of security models and can easily implement widely accepted security measures. Since WCF has an extended architecture, it is relatively easy to extend WCF security to meet the needs of special applications. The default security options range from traditional transport security described in WS-Security and related specifications to modern message security.

WCF reliability

Distributed applications often need to support reliable messages. In distributed computing, reliable messages are often mentioned in guarantees. A guarantee is like a guarantee. Here are four guarantees for use in distributed computing scenarios

1. At most one message at a time is guaranteed to be sent to the destination at most once. If a message reaches its destination multiple times, it can be ignored or treated as an error.

two。 At least one message at a time is guaranteed to reach the destination at least once, and if it does not arrive, it is considered an error.

3. With a combination of at most and at least once, it guarantees that the message will arrive at its destination only once.

4. Ordered a logical set of information can be distributed in multiple message bodies, these messages can be sent in a specific order, orderly guarantee is to ensure that messages can be processed in the order in which they are sent.

Experience tells us that the network and the applications that generate network communication are reliable. On the whole, if an application sends a message to another application over the network, the mechanism to ensure that the message reaches its destination traditionally comes from transmission. It is certain that one or two messages may be lost in the course of transmission. Messages received and sent may also be different, although messages arrive more often than they are sent. Many factors lead to non-WCF reliability, including network overload, loss of network connection, program bug and environmental changes.

An unreliable network is irritating, and it can cause more trouble when you are checking email or surfing the Internet, especially in the case of distributed computing. For example, if a sequential processor loses messages when it transmits messages on various computing nodes, these problems can be compared to delayed delivery and angry customers. If an application can learn when a failure occurs, it can take remedial action.

In the past, the reliable requirements of an application indicated the technologies to be used in the application. For example, MSMQ provides WCF reliable transmission between different applications. If an application requires card message transmission, MSMQ is the logical technology choice. Implementing MSMQ, quite frankly, requires MSMQ specification knowledge and MSMQ specification code. To write this code and set up the correct running environment, you need to know something about MSMQ

MSMQ specification that cannot be interoperable with other technologies. In essence, in the past, the determination to send reliable messages from one application to another has affected the code of the application and the knowledge that needs to be written. WCF includes mechanisms for up to once, at least once, only once, and orderly delivery. WCF provides more or less revision to the application system. Even better, the transmission guarantee mechanism is weakly coupled, so message delivery can be guaranteed even through traditional non-secure transport.

Note: do not confuse reliable messages with persistent messages. At a high level, persistent messages are stored in non-volatile media when they are processed. If the application terminates unexpectedly and volatile memory is emptied, the message is still in the persistence media.

Transaction support

In an interconnected world, processing received messages involves subsequent messages sent to other applications. Advantages these tasks need to be performed within the scope of the transaction. Simply put, a transaction is a way to ensure that all or no work can be performed. WCF supports transaction scope across multiple systems.

At this point, I believe you have a deeper understanding of "what is the reliable performance of WCF?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 235

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report