Distributed computing experience 2

Source: Internet
Author: User
In the previous article "experience of distributed computing 1", in order to transmit data to the application server for processing, a large volume of data will inevitably be transmitted over the network. Where the network bandwidth is limited, the distributed processing scheme is obviously affected. I solved the data compression problem and found two solutions online. One is GZ found on Msdnlibrary.

In the previous article "experience of distributed computing 1", in order to transmit data to the application server for processing, a large volume of data will inevitably be transmitted over the network. Where the network bandwidth is limited, the distributed processing scheme is obviously affected. I solved the data compression problem and found two solutions online. One is the GZ found on the Msdn library.

Next, article titled distributed computing experience 1

To transmit data to the application server for processing, a large volume of data is transmitted over the network. Where the network bandwidth is limited, the distributed processing scheme is obviously affected.

I solved the data compression problem and found two solutions online. One is the GZipStream found on the Msdn library, and the other is the open-source GZip.

GZipStream provides stream compression, but it is included in. in the. Net 2.0 Framework, to use the 2.0 Framework, you must use the VC ++ 2005 version. Now I am using the VC ++ 2003 version. The open-source Gzip file is written in standard C ++. In contrast to the two solutions, I certainly chose the former, after all, in the. Net Framework.

So I immediately downloaded a trial version of VC ++ 2005 on Microsoft's website. However, after I upgraded my current VC ++ 2003 project to VC ++ 2005, I was shocked by the current situation. The entire project cannot be compiled. More than 20 errors are reported during compilation. I checked SDK 2.0 immediately and found that VC ++ 2005 has added a lot of keywords. At that time, my first thought was disgusting!

Indeed, many of our functions depend on the framework. To use GZipStream In the 2.0 Framework, I have to accept the new elements of VC ++ 2005. However, I still suspect that VC ++ 2005 is still C ++. From _ gc new in VC ++ 2003 to gcnew in VC ++ 2005, we can easily see that Microsoft is transforming C ++ to adapt it to development in a hosted environment, the hosting environment makes a wild horse running on the prairie look like a home horse in a circle.

Of course, these are my personal opinions. After all, I am far away from Microsoft engineers. What they think is what I can expect. Things are developing. Now I suddenly think of the network. Isn't data transmission on the network a socket, but is there a lot of things?

In fact, I am also Dong. The simpler things, the easier it is to spread, and the easier it is to make one thing simpler, I think Microsoft engineers are also painstaking for the birth of VC ++ 2005. From the bottom of my heart, I admire and respect them very much.

However, they managed the environment and managed us. They designed an excellent hosting environment to manage not only memory resources, but also a living programmer, one of their outstanding architectures has become one of our prisons (and they are still very solid ). In particular, the current server-oriented design architecture, once mature, has become a secondary development for Microsoft (or other developers.

The last time I mentioned open source in my blog, I also thought of open source here, which is a completely different sky. If we compare our architectural development to the cement city where we live, open source is the virgin forest in nature, where we can breathe freely. But when I wanted to leave the open-source sky where I now live in the Cement City, I began to hesitate and even began to fear it.

Yes, we can get freedom there, but it is inconvenient or even dangerous. A lot of things should be taken into consideration by ourselves, and they may be killed if they are not careful.

That place can now be where I am looking for excitement, but not where I live. But the pursuit of freedom cannot be prevented, and I will continue to stand the test!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.