ä»äºã§MySQLã®ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ããã¦ãã¦ãã¤ã³ããã¯ã¹ã«ã¤ãã¦åãã£ã¦ããªããã¨ãå¤ãã£ãã®ã§èª¿ã¹ããã¨ãã¡ã¢ãåºæ¬çãªã¨ããããå¦ç¿ããªãããã MySQLã®ã¤ã³ããã¯ã¹ã¯ãã«ã©ã ãç¹å®ã®å¤ããã¤ã¬ã³ã¼ãã®è¿ éãªæ¤ç´¢ã«ä½¿ç¨ããããã¤ã³ããã¯ã¹ã使ç¨ããã°ãæ°ç¾ã¨ãæ°åãã®ã¬ã³ã¼ããå ¥ã£ã¦ãããã¼ãã«ãããä¸çµã®ã¬ã³ã¼ããè¿ éã«è¦ã¤ãã¦åãåºããã¨ãå¯è½ã«ãªãã ããããã¤ã³ããã¯ã¹ã¯é度ãæ¹åãããã¨ãããããæ¿å ¥ã®éªéã«ãªã£ã¦é ããªããã¨ãããã ã¤ã³ããã¯ã¹ãé©åã«ä½¿ãããã«ãã¾ãã¯ã¤ã³ããã¯ã¹ã®åºæ¬æ¦å¿µãããããå¿ è¦ãããã ã¤ã³ããã¯ã¹ã®æ¦å¿µ ã¤ã³ããã¯ã¹ã¨ã¯ ã¤ã³ããã¯ã¹ã®ä»çµã¿ãç解ããã«ã¯ãã¾ãMySQLãã©ã®ããã«ã¯ã¨ãªã«å¿çããããç¥ãå¿ è¦ãããã ä¾ãã°ã SELECT * FROM phone_book WHERE last_name = 'Hoge'
CakePHPã§æ¸ãããã·ã¹ãã ãå¦ã«éãã¨æã£ãããæ³åãããªãã¨ããã«ããã«ããã¯ããã£ãã®ãçºè¦ãã¦ãã¾ã£ããã¨ãããã¨ãããã¾ããã ãã¨ãã¨ã®ç¶æ³ ãã¼ã«ã«ç°å¢ã§éçºãå§ããã®ã§ããããã¼ã¿ãã¼ã¹ã¸ã®ã¢ã¯ã»ã¹ãã»ã¼ãªãã§ããããåºå®çãªãã³ãã¬ã¼ããåå¾ããã®ã«ãã11ç§ä»¥ä¸ããã£ã¦ãããã¨ã«æ°ã¥ãã¦ãããããã«ãã¤ã³ãµã¼ãã¨è¨ã£ã¦ããããã«ãããã¯ãããããã¨èª¿ã¹ã¦ã¿ããã¨ã«ãã¾ããã Xdebugãä»æãã ããããã¨ãã¯æ ã¦ãé¨ãããã¾ãã¯ãæ¨æ¸¬ããè¨æ¸¬ãã¨ãããã¨ã§ãPHPã«Xdebugãå ¥ãã¦ãããã¡ã¤ãªã³ã°ãã¦ã¿ããã¨ã«ãã¾ãããxdebug.profiler_enable_trigger = 1ã¨è¨å®ãã¦ãããã¨ã§ãXDEBUG_PROFILEã¨ããååã®GET/POSTãã©ã¡ã¼ã¿ã¼ããããã¯Cookieãã»ãããããã¨ã§ãå¿ è¦ãªã¨ãã ããããã¡ã¤ãªã³ã°ãè¡ããã¨ã
åã¿ãããªã©ããããããªã人ãä»ãããã£ã¦çãããã¦ããã®ãã大äºã ã¨ããã£ãä»äºãçºè¦ãããã ãã£ã¦ãããã¨ã«å°½ãããè½åãã»ã³ã¹ããªãããçµé¨ã®é·ãã¨éä¸ããæéã§è£ããããªãã2000å¹´ãæ£ç¢ºã«ã¯1997å¹´ã®ç§ã«ã¨ã£ã¦ãããã¦ã§ã解æã§ãããã¢ã¯ã»ã¹è§£æã ã£ããã¦ã§ã解æã«ãã¨ããããã¸ãã¹ã®æ¸¬å®ããã¸ãã¹ã®æ¹åã¯ãããã¯ãã£ã¨å¤§äºã§ããã¤ã¥ãããã¨ã®ç¢ºä¿¡ããã ã£ãã 2017å¹´ã«ãªã£ããããã¯ãã¥ã¶ãã¥ã¼ãã£ã¼2ã®æªæ¥ã¯éå»ã«ãªããããã»ã¿ãã³ã¿ãããªäººããã©ã³ãã¨ããååã§å¤§çµ±é ã«ãªãã¨ã¯æããªãã£ãã2016å¹´ããä¸æ¡çãªä»®èª¬ãç¾å®ã«ãªãç¶ãã¦ãããç§ã2017å¹´ã«20代ã ã£ããã¦ã§ã解æã®å°é家ãç®æããï¼ã¨ããã°çãã¯Noã ããã¾ãå°é家ã¯ãããããã¦ãæ¹åæ¹æ³ã測å®æ¹æ³ãç 究ããå°½ãããã¦ããã®ã§ãæ ¹æ§ãç´æåããªãç§ã伸ã³ãå¯è½æ§ã¯ãªãã ç§ãã¦ã§ã解æããããã¨ãã¦2
ãã£ã¨è¡¨ç¤ºé度ã®èªç¥ã«ç«ãã¤ãå§ãã 2016å¹´ããæ®ãä¸ã¶æã¨ãªãã¾ãã¦ãWebãµã¤ãããã©ã¼ãã³ã¹ã®Adventã«ã¬ã³ãã¼ãã¹ã¿ã¼ããã¾ããã®ã§ãä»å¹´ã®Webãµã¤ãããã©ã¼ãã³ã¹ã®ååãæ¯ãè¿ã£ã¦ã¿ã¾ãã ä»å¹´ã®1æãã3æãæ¥æ¬ã®ECãµã¤ã売ä¸ä¸ä½150社ã«å¶æ¥ãããã¦ãè²ã ã¨ã話ããã®ã§ãããECãµã¤ãé¢ä¿ã¯ãã¾ã ã¾ã 表示é度ã®éè¦æ§ãèªç¥ãã¦ããªãäºãåããã¾ããã 4社ãèå³ã示ãã¦ããã¾ãããããé ä¿¡å質管çãã¨ããèªèã¾ã§ã¯ãã£ã±ãç¡ãã£ãã§ãã ãæ¥æ¬ã¯ãã®ã¾ã¾å質管çã¨ãã¦ã®Webãµã¤ãããã©ã¼ãã³ã¹ãæ®åããã«ä»å¹´ãä¸å¹´ãéãã¦ãã¾ãã®ãï¼ãã¨å±æ©æãæ±ããä»å¹´ã¯ã以ä¸ã®ã«ã³ãã¡ã¬ã³ã¹çã§è¬æ¼ã®æ©ä¼ãé ãã¾ããã é¢è¥¿ããã³ãã¨ã³ãUGä¸»å¬ frontend conference 2016 ãWebãµã¤ãããã©ã¼ãã³ã¹ã®åºç¤ç¥èã Movable Type Devel
At Tumblr, weâre always looking for new ways to improve the performance of the site. This means things like adding caching to heavily used codepaths, testing out new CDN configurations, or upgrading underlying software. Recently, in a cross-team effort, we upgraded our full web server fleet from PHP 5 to PHP 7. The whole upgrade was a fun project with some very cool results, so we wanted to share
2. ã¨ã³ã¸ãã¢ããã£ã¦ãã¾ãå·ç°ã§ããWebã®ããã©ã¼ãã³ã¹é¢é£ã®ãã¨ã§ãããããã¨æ´»åãã¦ãã¾ã ã¦ã§ãã¨ã³ã¸ã㢠ã»Software Design(æè¡è©è«ç¤¾) 2014å¹´5-7æå· ãWebæ¨æºæè¡ã§ã¯ããã Webããã©ã¼ãã³ã¹æ¹åã ä» ã»html5j ããã©ã¼ãã³ã¹é¨ ã»æ¥æ¬Cordovaã¦ã¼ã¶ã¼ä¼ ã»Microsoft MVP (Internet Explorer) ã»W3C Web-perf WG ä» ãµããã (å·ç° å¯) Published Community 4å¹´åãã¨ããéçºããã¸ã§ã¯ã㧠ããã³ãã¨ã³ãã®æ§è½å£åã«ããªãè¦ãããã 以æ¥ãWebã®ããã©ã¼ãã³ã¹æè¡ã追ã£ã¦ãã¾ã
ç¾å®çãªWebãµã¼ãã¹ç°å¢ã«ããã¦ãDockeråã«ããããã©ã¼ãã³ã¹ä½ä¸ãã©ã®ç¨åº¦ã®ãã®ã調æ»ããããã«ã ISUCON4 ã®äºé¸åé¡ã®ãã¡ãNginx 㨠MySQL é¨åã Docker åãã¦ãã³ããã¼ã¯ãã¨ã£ã¦ã¿ãã å ¸åçãªWebãµã¼ãã¹ã·ã¹ãã ã®3層æ§é ï¼Proxy, App, DBï¼ãæ§ç¯ãããã³ããã¼ã«ã¼ã«ããé«ã¯ã¼ã¯ãã¼ããå®ç¾ã§ããã®ã§ãISUCON ã®äºé¸åé¡ã¯é©å½ãªé¡æã¨ãããã Docker ã®ããã©ã¼ãã³ã¹ã«ã¤ãã¦çæãããã¨ã¯å æ¥æ¸ããã¨ã³ããªã«å ¨ã¦æ¸ãã¦ãã ä¸è¨ã®ã¨ã³ããªãè¦ç´ããã¨ãDocker ã®ããã©ã¼ãã³ã¹ã«ã¤ãã¦éè¦ãªãã¨ã¨ã¯ storage-driver ã®é¸æ (AUFS or Device mapper or ...) Volume ã® ON / OFF AUFS ãªã©ã®å·®åãã¡ã¤ã«ã·ã¹ãã ããã¤ãã¹ãããããªãã Host networ
å»å¹´ã½ã¼ãã«é¢ããè¨äºãæ¸ããããä»æ¥ã¯ãã®ç¶ãã§ããã MySQLã§EXPLAIN SELECT...ãå®è¡ããã¨Extraãã£ã¼ã«ãã§ããè¦ããããUsing filesortãã¨ããæååãFilesortã£ã¦ä¸ä½ãªãã ããï¼ã¨æã£ããã¨ã¯ãªãã ããããååç´å ¥ã«è¨ã£ã¦Filesortã®æ£ä½ã¯ã¯ã¤ãã¯ã½ã¼ãã§ããã ã¯ã¨ãªã«ORDER BYãå«ã¾ããå ´åãMySQLã¯ããç¨åº¦ã®å¤§ããã¾ã§ã¯å ¨ã¦ã¡ã¢ãªå ã§ã¯ã¤ãã¯ã½ã¼ããå¦çãããããç¨åº¦ã®å¤§ããã¨ã¯sort_buffer_sizeã§ãããããã¯ã»ãã·ã§ã³ãã¨ã«å¤æ´å¯è½ã§ãããã½ã¼ãã«å¿ è¦ãªã¡ã¢ãªãsort_buffer_sizeãã大ãããªãã¨ããã³ãã©ãªãã¡ã¤ã«ï¼ãã³ãã©ãªãã¼ãã«ã§ã¯ãªãï¼ãä½æãããã¡ã¢ãªã¨ãã¡ã¤ã«ãä½µç¨ãã¦ã¯ã¤ãã¯ã½ã¼ããå®è¡ãããã Filesortã¯å ¨ã¦ã®ã½ã¼ãå¦çã«ããã¦å®è¡ãããããã§ã¯ãªããååã®è¨äº
ä¸è¨ã®ãããªã·ã¹ãã ã§ããã©ã¼ãã³ã¹ãè¯ãã㪠SQLite ã使ç¨äºå®ã§ããããã£ã¨éããã®ãç¡ãã確èªã®ããä»ã®ãã¼ã¿ãã¼ã¹ã®ããã©ã¼ãã³ã¹ãè¨æ¸¬ãã¦ã¿ã¾ãããSQL å©ç¨åæã§ãããNoSQL ãå§åçãªæ§è½ãåºãå ´åã¯æ¤è¨ããå¿ è¦ãããã®ã§ KVS ã確èªãã¾ããã ãã¼ã¿ä»¶æ°ã¯ 1 å件ç¨åº¦ãJDBC SQL å©ç¨å¯è½ INSERTãUPDATE ã¯ããã SELECT ã¯ä¸»ãã¼ã¢ã¯ã»ã¹æ§è½ãéè¦ å°æ¥ã¹ã±ã¼ã«ã¢ã¦ãã®ããã®åæ£ã¯ããããããã¹ã¿ã³ãã¢ãã³ã§é ãã®ã¯ã ã ãã¼ã¿ãã¼ã¹ã®ããã©ã¼ãã³ã¹æ¯è¼ è¨æ¸¬ãããã¼ã¿ãã¼ã¹ ãã¼ã¿ãã¼ã¹å ã¿ã¤ã å½¢æ è©å¤ è¨æ¸¬ã«ã¤ãã¦ã®åè SQLite RDB çµã¿è¾¼ã¿ â»2 ããã¡ããAndroidæ¨æº JDBCæä½ â»1 H2 RDB çµã¿è¾¼ã¿ â»2 çµã¿è¾¼ã¿æé JDBCæä½ â»1 Derby RDB çµã¿è¾¼ã¿ â»2 Javaæ¨æºã§
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}