News. NET technology + 25 servers How to support the world's 54th largest website once again ignite people's right. NET of technical enthusiasm. This news revealed the stackexchange in the technical aspects of the mix, which is what I admire. So I also strongly promote the mono platform in the community, this short article would like to discuss the mashup with you. NET technology.
Mash-up (mashup) architecture is a new type of application development architecture that integrates various technologies. Traditionally, mashups originated from pop music, a type of music, also known as bastard pop, which refers to the combination of artists or the mix of two different songs (often belonging to different genres) of music and lyrics to create new songs. It has three characteristics: innate innovation, people's experience and the harmony of results.
Feature one: inborn innovation. From its origins, mashups are an innovative combination of content. The focus here is on innovation, although the elements of composition usually originate from irrelevant but very common things, but this is similar to any innovation activity, and once the combination produces a new novelty.
Characteristic two: People's experience. These combinations are synthesized by hand rather than by computational algorithms, and the experience and thinking of people play a decisive role in the mashup process.
Characteristic three: The harmony of the result. Coincidentally, in the real world mashup craze also affect the fashion industry, designers to the street punk elements into the traditional English costumes, with a sports T-shirt mixed with a girl-style canopy skirt, resulting in unexpected matching effect. The fashion world is also called Mix & match style, literally understood, mix is mixed, match is match, combine to translate into mash. Refers to the different styles, different materials, different prices of things in accordance with individual tastes together, so mixed with a completely personalized style. Mix is a mix of two or more elements to show the new user experience. Match refers to a harmonious match of the organic combination, otherwise it is "blind". This is the characteristics of three, the mix and match the results must be harmonious matching, with this mix and take things, real life in addition to music and clothing, as well as Chinese hot pot, multi-cultural, multi-collection, decoration and architectural style, and so on, people's emotions can be said to be a mixture of performance.
For it technology, like creating new music, new costumes, it enables developers to create business mashup it technologies that target specific business needs. Let's take a look at Stackexchange's technical mashup:
1. Mashup Windows and Linux
Stack Overflow to deploy the system on the Windows platform, while using the Linux system, what good use, do not do unnecessary system contention, such as C # on the Windows machine to run the best, we use Iis;redis in *nix The machine can be fully played, using *nix. There's also IIS ARR on Windows, but he doesn't have haproxy on Linux, so it uses haproxy, and there are nlb,linux on windows that have Lvs,lvs better than NLB, so don't be limited to the systems you use, You can mix windows and Linux completely.
2. Mix and match physical servers and virtual machines
Hardware is always cheaper than developers and efficient code. Based on the cask effect, speed is certainly limited to a short board, and existing cloud services are largely limited in capacity and performance. Stackexchange mashup uses physical servers and virtual machines, physical servers can play the power of vertical expansion, the database server uses SSD disks, 365GB of memory, so high-configuration servers are now basically not on the cloud platform, while in some low-load scenarios using virtual machines, such as VMs For deployment, domain controller, monitoring, operations database and other occasions.
3. Mixing and lapping. NET open Source Community technology
Stack Overflow mainly uses Microsoft's. NET technology, mashup. NET open source community technology. The stack overflow itself is a participant in the. NET open source community, using Redis as its cache layer, the most popular redis. NET driver is Servicestack.redis, which is the stack A developer of exchange, Demis Bellot, has developed open source, support. NET and the rest Web Services Framework Servicestack of the mono platform. The miniature orm--dapper is also stack Overflow open source, as well as stack Overflow's open source monitoring solution opserver, and stack Exchange publishing. It is based on. NET Framework, which is somewhat different in the field of monitoring tools.
4. Mix and match other technologies
Using http://logstash.net/for log management, SSDs have changed the way searches are used. Because of the lock problem, luncene.net does not support so's concurrent load, so they turn to ElasticSearch.
In many technical solutions, different technical solutions have its advantages, but from a single way, there will be shortcomings, but the combination of the two technical solutions can solve these problems, to maximize their advantages, to compensate for the shortcomings of different technical solutions. However, only like stackexchange with a rich technical ability of the professional team, can be very good to complete the mashup, so that the use of the later peace of mind.
Any technical solution, management will be risky, mix and match of course there will be. Therefore, before the mix-and-match innovation, first of all, the mixing technology has an accurate assessment, such as your technical solution and to mix and match the technology of innovation has no complementary advantages, Microsoft before 2011 is often a replication community technology, a Microsoft technology users limited to Microsoft technology, which is like inbreeding, Microsoft has now changed its strategy to directly integrate the technology of the community, which is also a mix of innovation, especially the use of Microsoft technology colleagues have to learn to mix and match, 2nd, in the mix and match innovation before the change, to the entire company to communicate with the whole team, so that your team clearly know why to make such mashup innovation, Most people don't like to be changed, so leaders who are determined to change and innovate must persuade their members to tell them what to do without change.
The 2014. NET technology has entered a new height,. NET VNext has a model specifically optimized for the cloud environment, which allows you to deploy the program together with the associated libraries of the. NET Framework that they use. Because. NET runtime and the libraries in the framework are deployed on the Program Foundation (app-basis), so on the same machine, each program can run different versions of. NET VNext, and can be individually upgraded without affecting each other. These libraries have been significantly optimized, streamlined to reduce space used by the framework, and will be published using NuGet. NET development team to develop this model in a cross-platform mindset and actively collaborate with Xamarin in the development process to ensure that the cloud is optimized. NET programs can run on Macs and Linux that have the Mono runtime installed. Treat non-Windows hosts as first-class citizens at once. Microsoft has fully integrated mono and Linux into their build environment and test matrix, and is actively working with the community to transform Mono into a top platform for hosting ASP. Xamarin is also in action recently, and the open source consultant at Cambridge University joins Xamarin full time, His job is to make sure Mono becomes a top citizen on Linux. The news comes from his blog http://t.cn/RPLN4Hj. The huge productivity of net and ASP can be provided to those teams that use the hybrid development environment.
Mashup. NET Technology