/**function/** * Idea: * 1) for each friend ID, find out where the machine is located: int machine_index=getmachineidforuser (PersonID); * 2) Go to the machine numbered #machine_index. * 3) on that machine, execute: Person Friend=getpersonwithid (person_id). * * Defines a server class that contains a list of all machines, and a machine class that represents a single computer. Find data effectively with a hash table. * */class server{hashmap。*/Copyright NOTICE: This article for Bo Master original
If the database needs to be split horizontally, this is actually a very happy thing, because it represents the company's business is growing rapidly, for developers that is there are endless projects to do, although it will feel very busy, but the full of people, the heart is also steadfast.
Database horizontal split Simple is to first the original database in a table in the vertical split out to place in a separate database and separate tables and then further split the table that is a whole in
temporarily stored in Message Queuing for processing, reducing load pressure on backend storage such as databases.
At present, open source and commercial distributed Message Queuing products have many, more famous have Apache Activemq, and so on, the following is the architecture principle of distributed Message queue:
2, the use of distributed services to create reusable business platform
Using distributed services is another important means of
[Reading Notes] 2016.12.10 "building high-performance Web sites" to build high-performance web Sites
Address of this Article
Sharing outline:
1. Overview
2. knowledge points
3. Waiting for sorting
4. References
1. Overview
1.1) [Book Information]
Building a high-performance Web site:
-- Baidu encyclopedia
-- Book directory:Chapter 2 Introduction 1st waiting truth 1.1 bottleneck where 1.2 increase
web| Server | site
Installing IIS
Step 1 Click Start, point to Settings, click Control Panel, and then start the Add/Remove Programs application.
Step 2 Select Configure Windows, click the Components button, and then follow the on-screen prompts to install, remove, or add the IIS components, as shown after installation.
Note: If you upgrade to Windows 2000, only Iis,iis 5.0 installed in previous versions of Windows will be installed by default.
Introduction to Web
How to supplement the page capture of other sites across sites and capture site pages
In practical applications, we often encounter special situations, such as the need for news, weather forecasts, and so on, however, as personal websites or websites with low strength, we cannot do this with so much human, material, and financial resources. What should we do?Fortunately, resources are shared on the Interne
Lamp: Configure multiple virtual sites and lamp multiple sites
Add multiple domain name sites under the same ip address!
1. View ip addresses
Command: ifconfig
2. Add a domain name
Command: vi/etc/hosts
Enter a domain name, for example
192.168.160.127 www.test.com
192.168.160.127 www.test2.com
3. Create a folder and file for the site to be configured
. Var/www/t
Cross-site crawling of other sites to supplement the page, capture site pages. How to supplement the page capture of other sites across sites, capture site pages in practical applications, often encounter some special circumstances, such as the need for news, weather forecasts, and so on, however, how does one supplement the page capture of other
In practical applications, we often encounter special situations, such as the need for news, weather forecasts, and so on, however, as personal websites or websites with low strength, we cannot do this with so much human, material, and financial resources. what should we do? Fortunately, resources are shared on the internet. we can use programs to automatically capture the pages of other sites and process them before they are applied in actual applica
Microsoft has changed the open-source [several sites], and Microsoft has released several open-source sites.
Switch codeplex to the current mainstream open-source centerHttps://github.com/microsoft
Websites with several core technologiesHttps://github.com/Microsoft/dotnetHttps://github.com/aspnetHttps://github.com/microsoft/vscode
Basic siteHttps://opensource.microsoft.com/Https://open.microsoft.com/
Lo
Configure multiple sites in apache and sites in apache
The following configuration is available in the httpd. conf file (Note: remove the comments from the httpd. conf file)
Listen 80ServerName localhost
(It is best to clear the browser cache before testing). Enter http: // localhost/Workshop/Apache/in the browser to access all files under E:/Workshop/Apache, note that the root Directory here is E:, but the
Summary of required sites for front-end development and summary of required sites for development
Common Front-end manual:
Http://caniuse.com/
Http://www.w3school.com.cn/
Http://www.runoob.com/
Http://www.css88.com/
Pre-compiled official website:
Http://www.1024i.com/demo/less/
Http://lesscss.cn/
Http://www.sass.hk/
Http://sass-lang.com/
Official website of common class library frameworks:
Https://plugins.j
Summary of required sites for front-end development and summary of required sites for development
Common Front-end manual:
Http://caniuse.com/
Http://www.w3school.com.cn/
Http://www.runoob.com/
Http://www.css88.com/
Pre-compiled official website:
Http://www.1024i.com/demo/less/
Http://lesscss.cn/
Http://www.sass.hk/
Http://sass-lang.com/
Official website of common class library frameworks:
Https://plugins.j
Recently in the forum to see someone asked how Linux set only allow domain name access to the site and prohibit IP access to the site, before they have used this function, you can prevent others to use IP address to visit their own site, below I have my own environment to give a solution, I use Oneinstack A key package, LANMP environment, in fact, are not too much, similar, as long as the understanding of the principle, the following is good to run.The specific method is: To find the Apache conf
Opening a new tab page in IE9 lists the most commonly used Web sites, which are ordered from highest to lowest according to how often you use a Web site. but for a website, if you accidentally click the Red Fork button and delete it, it may appear that no matter how many times you open the site, the site will not appear in the list of most commonly used sites.
This type of problem, the most commonly used
: This article mainly introduces how to supplement pages of other sites through cross-site capturing. For more information about PHP tutorials, see. In practical applications, we often encounter special situations, such as the need for news, weather forecasts, and so on, however, as personal websites or websites with low strength, we cannot do this with so much human, material, and financial resources. what should we do?
Fortunately, resources are sh
In this article I will describe how to manage URL management for secure sites and non-secure sites.The content of the secure site is sent using the HTTPSSSL (Secure Sockets Layer) protocol, rather than the secure site using the HTTP protocol. To describe the simple, we call the former HTTPS content/page, the latter ' HTTP ' content/page. A demanding site usually requires some pages to use HTTPS, and some pages to use HTTP. For example, to prevent pass
In practical applications, we often encounter special situations, such as the need for news, weather forecasts, and so on, however, as personal websites or websites with low strength, we cannot do this with so much human, material, and financial resources. What should we do?Fortunately, resources are shared on the Internet. We can use programs to automatically capture the pages of other sites and use them for processing.What is the use? What the comra
This article is mainly to share with you wampserver how to configure the PHP site multi-site, mainly in the form of code and everyone to share, hope to help everyone.
httpd.conf files can be added in the port
For example:
Listen 0.0.0.0:8080Listen [:: 0]:8080
httpd-vhosts.conf files Setting up multiple sites
Require all granted is set to be accessed by the extranet
.
User Experience Comparisons
The responsive web site ensures consistency between the PC end and the mobile end, streaming layout.
The adaptive site ensures a more user-friendly experience on the mobile side.
SEO Comparison
Adaptive sites do not easily aggregate site weights, but can be aggregated by redirection weights.
Response-type web site easily aggregated weight, easy to move the weight of the end of the PC and the weight of the stack, improve
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.