【51CTO.com original article】 Activity description : Aiti Tribe is a service community that provides core developers with in-depth technical exchanges, solutions to development needs, and resource sharing. Based on this community, we invite industry technology experts to provide one-on-one breakthroughs on development needs and remove stumbling blocks in the development process. We help developers solve development problems with the most professional and efficient answers. Topic keywords : Cluster/Java/MySQL/JSP/MUI Tribe lineup : 51CTO community think tank Object-oriented : Java development engineer, front-end development engineer, cloud computing engineer, database development engineer How to participate : Join the 51CTO developer QQ exchange group (669593076). If you have any technical questions, ask in the group or send them to the group owner. Event Details : Guangzhou @鹏@Android : Dear experts, I have a question. How are 10 million web requests per second distributed to different nginx servers? If nginx load balancing is used, it seems that it can only handle more than 50,000 requests per second. 1>IT cloud server-Hu Huaqiu-Beijing : use lvs cluster. 2> Test-Gavin-Beijing : DNS will be processed separately, starting with DNS balancing, and then balancing the subsequent layers one by one. C#-Po-Chengdu : If your PC doesn’t have plusready, try it on your phone. Front-end-Dry Pot-Chengdu : Where does the problem lie? 1>C#-Po-Chengdu : Here 2>Front-end-wang-Nanjing : Add a comma, as shown below: 3>Front-CHB-Beijing : Your JSON format is obviously incorrect. Front-end-Guangzhou : Isn't mui.ajax cross-domain? 1> Guangzhou - Front-end - Huang Xiaowen : Are you an app or an M-site? Only in the app can cross-domain. 2>C#-Po-Chengdu : Only available on mobile phones, ordinary ajax is still used on computers. WeChat Mini Program - Nanyounan - Shaoguan : My problem is that I edited the front-end file with HBuilder and used mui and get methods to get data from the server The server is: As a result, an error is reported as soon as it is run XMLHttpRequest cannot load http://nanyounan.com/public/index.php/admin/index/index?type=test. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8020' is therefore not allowed access." is a server opened by xampp. C#-Po-Chengdu : It's a cross-domain problem. There are two ways. If it's MUI, use the AJAX method of MUI to request directly, and the other is to change the server code to allow cross-domain. You can also use JSONP or something like that to solve it, but this is the more direct way. The php code is configured with header('Access-Control-Allow-Origin', '*'); Java-Backend-Guangzhou : Why is the output a jar package instead of a war package? 1> Backend - Li Zi - Hefei : Check the packaging parameters of this file. 2>Java-Afei-Nanjing : If you use Maven, set it in .pom to package it as war. Java-Haiyan-Wuhu : It is clearly transmitted to jsp, why is it not displayed? I saved the bean in the request and forwarded it to the jsp page, then used EL to display it in jsp. I used Google's plug-in and it clearly showed that it could be obtained, but it did not display in the jsp page. I couldn't print it out using <%%> ${}, but it stands to reason that there is something in the returned data, so why can't it be printed out? 1>Java+Li Sai+Zhengzhou : Is there any problem with the EL of the page? Print the bean on the page to see if there is any problem. 2>Java—Xiao Liu—Changsha : Setting <%@ page isELIgnored="false"%>No. PHP-Shi Xiaojun-Beijing : How to get the number of affected rows after batch insertion, why can only *** be returned? Linux&oracle-SHI-Chengdu : Is it about the database? If so, try to find the dif table in the data dictionary. For ORACLE, try to find the USER_COMPARISON_ROW_DIF table. Chengdu-Xingzi : I have a question for everyone. The router, switch, and network cable are all normal, but when I ping the internal network gateway, packets are dropped. What is the reason? Is it related to the loop? The layout is very simple, just the external network comes in, and the router and switch are connected. In order to save money, the company only replaced part of it and kept the other part. Two network cables are required. 1> Anhui-Coeus-PHP : Are you sure there is no loop? Check if there are two lines from the same switch plugged into the router. If the problem is with individual computers, check ARP. I had a LAN ARP problem before, and half of the company's computers had problems. 2>Operation and Maintenance-When That Day Comes-Shenzhen : Does the computer obtain an IP address automatically or manually? 3>Quanzhou - Mouzhen - Network Security Maintenance : See if you have DHCP, or a second layer connected to the external network. You didn’t give me a specific solution to the problem, and I don’t know what the problem is. Maybe you can try to manually set the IP and DNS. If you have other questions, ask me again. 4> Network - Guangzhou - Tianya : Check whether the two ends of the crystal head are in good contact. If not, redo the crystal head. 5>Linux&oracle-SHI-Chengdu : First check whether the switch has learned the Mac of your host. If it has, please check whether the Mac is bound on the corresponding port of the switch. If the Mac is learned and no Mac binding is done, please check whether the access port of the switch has VLAN, and whether the trunk port allows this VLAN to pass. By the way, check whether your switch is connected to the router normally. Java-Afei-Nanjing : That one is free to install. Check it out when you download it. Some are installed with .exe, and some are installed with the above files. Pay attention when you download it. You can choose what to install with the installation version. Cloud Computing - Rookie - Suzhou : Is there any expert who can explain what the symbol value of MySQL is? Java+Li Sai+Zhengzhou : mark positive and negative values. Do you still have questions about these solutions? Welcome to join the 51CTO developer QQ exchange group 669593076 for discussion. Next event: January 31 Keywords: front-end development, Java, database, big data Activity Review: The eighth episode of the Aiti Tribe Clinic: Eliminate these common Android development problems The ninth episode of the Aiti Tribe Clinic: Java, Python, PHP, they all say they are simple The tenth episode of the Aiti Tribe Clinic: How to learn Python? The method is very important Episode 11 of Aiti Tribe Clinic: How to check 30 million data in seconds [51CTO original article, please indicate the original author and source as 51CTO.com when reprinting on partner sites] |
The birth of any new technology is always met wit...
According to foreign media CNET, Sir Tim Berners-...
[51CTO.com original article] On July 16, Siemens ...
[Shanghai, China, September 24, 2020] During HUAW...
HostDare has launched a promotion for May. This m...
At present, the world is experiencing a profound ...
Justhost.ru launched a Black Friday promotion yes...
5G network has many advantages such as high speed...
Enterprise digital transformation has promoted t...
= [[335538]] This article is reprinted from the W...
What was the past life like, what is the present ...
Computing power is the core of cloud computing. W...
If you don't talk about AI after dinner, you ...
Aoyou Host is a long-established foreign VPS host...
[[374909]] This article will first introduce the ...