Heim > Artikel > Backend-Entwicklung > 請問這幾谈題難嗎?為何面試了幾個均不理想
請問這幾道題難嗎?為何面試了幾個均不理想.
1.提升網站打開速度都有哪些方法?
2.memcache 和 eaccelerator 有哪些差異?
3.mysql 文本檔案 memcache 哪個讀寫速度最快?哪個最慢?
4.一個幾萬行的日誌檔案如果要做分析,從中提取出對我們有用的內容,請問該怎麼做效能最高,日誌如下:
172.246.113.194 - - [20/Mar/2014:03:19:31 +0800] "GET http://www.bing.com/search/?q=unbuilding%20%22 HTTP/1.0" 302 - "http://www.bing.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31"
172.246.113.194 - - [20/Mar/2014:03:19:32 +0800] "GET http://www.***.net/ HTTP/1.0" 200 11629 "http://www.***.net/" "Mozilla/5.0 (Windows NT 5.1; rv:23.0) Gecko/20100101 Firefox/23.0"
113.97.185.207 - - [20/Mar/2014:03:19:56 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
5.下邊有幾行錯誤代碼,請簡單的對每一行錯誤代碼進行說明,並提出解決辦法
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/u378761662/public_html/login/checklogin.php on line 27
[notice] Parent: child process exited with status 1 -- Restarting.
[error] [client 127.2.3.4] File does not exist: C:/vhosts/www.***.com/undefined, referer: http://www.***.com/
Syntax error on line 129
------解决方案--------------------
那很自然,底层程序员不需要知道那么多
知识够了也就可以了,少了不知甚解先入为主,以后发展起来要快的多