Ruby Business Users Conference 2018 2018-02-23 (Fri) 14:00 - 17:00 http://www.ruby.or.jp/rbuc2018/ https://rubyassociation.doorkeeper.jp/events/69247
MySQLã³ãã¥ããã£ããã¼ã¸ã£ã®Morgan Tockeræ°ã«ãããMySQL 5.6ãã¤ã³ã¹ãã¼ã«ããå¾ã«ããã©ã«ãå¤ããå¤æ´ããæ¹ããããã©ã¡ã¼ã¿ã®è§£èª¬ã æ°ã ã®ããã©ã«ãå¤ã®æ¹åã«ãã£ã¦ãéå»ã®ãã¼ã¸ã§ã³ã¨æ¯ã¹ã¦MySQL 5.6ã§ã¯è¨å®ããªãã¦ã¯ãªããªãå¤ãããªãæ¸ã£ããã¨ã¯è¨ããå¤æ´ãã¹ããã®ã«ã¤ãã¦ããã§æ¸ãã¦ããããã InnoDBã®è¨å® innodb_buffer_pool_size - ããã©ã«ãã¯128Mãããã¯ãã¡ã¢ãªã«ãã¼ãããããã¼ã¿ã¨ã¤ã³ããã¯ã¹ã®ããã«InnoDBãã©ã®ãããã¡ã¢ãªã使ãããæå®ãããã®ãªã®ã§ãè¨å®ãã¹ãéè¦ãªå¤ã ãMySQLã®å°ç¨ãµã¼ããªããæè¼ããã¦ããã¡ã¢ãªã®50%ãã80%ãæ¨å¥¨ãããè¨å®å¤ã ãä¾ãã°ã64GBã®RAMãæè¼ãã¦ãããµã¼ããªãããããã¡ãã¼ã«ã¯50GBç¨åº¦ã«ãã¹ãã ããã innodb_log_file_size -
ããã¾ã§ã«ã(主ã«)Amazon Redshiftã§æ´»ç¨åºæ¥ãGUIãã¼ã«ã¨ãã¦ãIntellij IDEA Ultimate EditionãããAginityãçãç´¹ä»ãã¦æ¥ã¾ããããIntellij IDEAãéçºãã¦ããJetBrain社ããå¥ç¨®ã®DBé¢é£ãã¼ã«ãéçºããã¦ããã¨ããæ å ±ãå æ¥ç¥ãã¾ããã Amazon Redshiftã®Mac OS XåãGUIãã¼ã«ã¨ãã¦ãIntellij IDEA Ultimate Editionãã®Database Toolsã使ã ï½ Developers.IO Redshiftå°ç¨ Windows GUIãã¼ã«ãAginity Workbench for Amazon Redshiftãã便å©ãããããªã件 ï½ Developers.IO ããããã®ã0xDBEãã¨å¼ã°ãããã®ã«ãªãã¾ããã¢ãã¦ã³ã¹èªä½ã¯1年以ä¸åãããªããã¦ããæ§ã§ã
ãããã¯ã㧠CQO ãæ å½ãã¦ãã¦ï¼Qiita:Team ããããªãæãåã§ããï¼é£ããå«ãã¯è¯ããªããªã¨ãããã¨ã§ï¼esa.io ããã©ã¤ã¢ã«ã§ä½¿ã£ã¦ã¿ãï¼ å®éã«ãã¹ããã¦ã¿ããï¼ãã«ããè¦ã¦ã¿ã¦ï¼åºæ¬çãªã¨ãã㯠Qiita:Team ã¨ä¼¼ã¦ããªã¼ã¨ããå°è±¡ãåãããã ãã©ï¼Qiita:Team ã¨æ¯è¼ã㦠esa.io ã®æ¹ãå§åçã«åªãã¦ããªã¨æãæ©è½ã3ç¹ãç¥ã£ã¦ãã¾ã£ãã®ã§ï¼ç±éé«ãã¾ã¨ãã¦ã¿ãï¼ã¾ãå§åçã¯è¨ãéããããwww 1. ã«ãã´ãªã¼ã¨ããæ¦å¿µãããã㨠esa.io ã®ãã¹ãã¯ï¼ã¿ã°ä»¥å¤ã«ã«ãã´ãªã¼ã¨ããã¡ã¿æ å ±ãä»ãããã¨ãã§ãã¦ï¼ããã¯ä¾¿å©ï¼ Qiita:Team ã ã¨ã¿ã°ãããªãã®ã§ï¼ä¾ãã°æ¥å ±ã®ããã«æç³»åã«æ²¿ã£ãæ å ±ãæ¢ããããããã¨ãã§ããï¼çµæ§ãã¹ããå没ããå¾åã«ããã¨ãã課é¡ã¯ã©ãã®ãããã¯ãã§ãããããããªãããªã¨æãï¼ ã¡ãªã¿ã« Qiit
ãã¡ãã§ããPerl ã§ãã㨠Devel::KYTProf ã«æ§è³ªãã¡ããã motemen/go-loghttp · GitHub (GoDoc) 使ç¨ä¾ ãã¨ãã°ããããã³ã¼ãã«â¦ package main import ( "io" "log" "net/http" "os" ) func main() { resp, err := http.Get(os.Args[1]) if err != nil { log.Fatal(err) } io.Copy(os.Stdout, resp.Body) } % go run main.go http://example.com/ <!doctype html> ... ä¸è¡è¿½å ããã¨: package main import ( "io" "log" "net/http" "os" _ "github.com/motemen/go-lo
解説 worker_processes auto; - Nginxæ¬ä½ã®ããã»ã¹æ°ãautoã«ãã¦nginxå é¨å¤å®ã«ä»»ããã®ã¯è³¢æ worker_rlimit_nofile 100000; - workerããã»ã¹ãæ大ã«éãããã¡ã¤ã«æ°ã®å¶éããã®ããã«è¨å®ããããulimit -a以ä¸ã®ãã¡ã¤ã«æ°ãå¦çã§ããããã«ãªããtoo many open filesåé¡ãåé¿ã§ãã worker_connections 2048; - ä¸ã¤ã®workerããã»ã°ãéããæ大ã³ãã¯ã·ã§ã³æ° multi_accept on; - ã§ããã ãã¯ã©ã¤ã¢ã³ãããã®ãªã¯ã¨ã¹ããåãåã use epoll; - Linuxã«ã¼ãã«2.6以ä¸ã®å ´åã¯epollãBSDã®å ´åkqueue server_tokens off; - ã»ãã¥ãªãã£å¯¾çã§ããã¨ã©ã¼ç»é¢ã®nginxãã¼ã¸ã§ã³çªå·ãé表示 sendf
2. ã·ã¹ãã æ¦è¦ homingã¯ãã¢ã¡ã¼ããã°é¢é£ãµã¼ãã¹ã®ããããã«ãã°ã¤ã³ãã¦ããã¦ã¼ã¶ã«å¯¾ãã¦ãåãµã¼ãã¹ã®éç¥æ å ±ã横æçã«ããã·ã¥éç¥ãã¾ãã ã·ã¹ãã ã®æ§æã¯ä»¥ä¸ã®éãã§ãã å³2-1. ã·ã¹ãã æ¦è¦ 2-1. APIãµã¼ã ã¦ã¼ã¶ã¸ã®éç¥è¦æ±ãåãä»ããREST fullãªAPIãåããWebãµã¼ãã§ãã Node.jsã®Clusterã«ãããmaster/workeræ§æã§ç¨¼åãã¾ãã éç¥è¦æ±ã¯ã¯ã¼ã«ããã»ã¹ã§å¦çãã¾ãã å³2-2. APIãµã¼ã 2-2. Redisãµã¼ãï¼ãã¼ã¿ã¹ãã¢ç¨ï¼ ä¸æçãªãã¼ã¿ãã¹ãã¢ããããã®Redisãµã¼ãã§ãã sentinelããã»ã¹ã«ãããmaster/slaveæ§æã§ç¨¼åãã¾ãã ã¹ãã¢ããããã¼ã¿ã¯ã¡ã¢ãªä¸ã®ã¿ã§ç®¡çãããã£ã¹ã¯ã¸ã®æ¸ãè¾¼ã¿ã¯è¡ãã¾ããã 以ä¸ã®æ å ±ã管çãã¾ãã ã¦ã¼ã¶ã®ãªã³ã©ã¤ã³æ å ± ã¦ã¼ã¶IDã®ç´¢
ãã®ãã¡ã¤ã³ã¯ ãåå.com ããåå¾ããã¾ããã ãåå.com 㯠GMOã¤ã³ã¿ã¼ãããã°ã«ã¼ã(æ ª) ãéå¶ããå½å ã·ã§ã¢No.1ã®ãã¡ã¤ã³ç»é²ãµã¼ãã¹ã§ãã â»è¡¨ç¤ºä¾¡æ ¼ã¯ãå ¨ã¦ç¨è¾¼ã§ãã â»ãµã¼ãã¹å質ç¶æã®ãããä¸æçã«å¯¾è±¡ã¨ãªãæéã¸ä¸å®å²åã®ããµã¼ãã¹ç¶æ調æ´è²»ããå ç®ããã¦ããã ãã¾ãã â»1 ãå½å ã·ã§ã¢ãã¯ãICANN(ã¤ã³ã¿ã¼ãããã®ãã¡ã¤ã³åãªã©ã®è³æºã管çããéå¶å©å£ä½)ã®å ¬è¡¨æ°å¤ããã¨ã«éè¨ãgTLDãéè¨ã®å¯¾è±¡ã æ¥æ¬ã®ãã¡ã¤ã³ç»é²æ¥è (ã¬ã¸ã¹ãã©)ï¼ãICANNãã¬ã¸ã¹ãã©ã¨ãã¦èªå®ããä¼æ¥ãä¸è¦§ï¼InterNICæä¾ï¼å ã«ãJapanãã®è¨è¼ããããã®ï¼ã対象ã ã¬ã¸ã¹ãã©ãGMO Internet Group, Inc. d/b/a Onamae.comãã®ã·ã§ã¢å¤ãéè¨ã 2023å¹´10ææç¹ã®èª¿æ»ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}