https://yuru-sre.connpass.com/event/317749/ ã® LT è³æã§ã
転è·ã®ãç¥ããããããã¯å人ã®æ¥è¨ã§ãã 6æãã以ä¸ã®ããã«æå±å¤æ´ã¨ãªã£ã¦ãã¾ãã From æ ªå¼ä¼ç¤¾ã¯ã¦ãª To æ ªå¼ä¼ç¤¾ä¸ä¼ ããã¼ã¸ã£ã§ã¯ãªããã¨ãã«å½¹è·ã®ãªãã½ããã¦ã§ã¢ã¨ã³ã¸ãã¢ã¨ãã¦åãã¾ããããããIC (individual contributor)ã¨ãããã¤ã§ãã ãã£ãã ã¯ã¦ãªã«ã¯æ°åã¨ãã¦å ¥ç¤¾ãã¦ä»¥æ¥11å¹´ãå¤ãã¦ãã¤ã³ã¿ã¼ã³ãã¢ã«ãã¤ãã¨ãã¦é¢ãã£ãææããæ°ããã¨16å¹´ã«ãªãã¾ããåºå ¥ãã®æ¿ãããã®æ¥çã§ãã£ã¨1社ããç¥ããã«éããã®ã¯è² ãç®ã«æãã¦ãã¾ãããã¾ããå¹´é½¢çã«ãä»å¹´ã§40æ³ã«ãªããã¨ããã£ã¦ããããã転è·ãçµé¨ãã¦ãããªãã¨ã¾ããã¨ããç¦ããããã¾ããã ãããªã¨ãã«ã大å¦ã®åæã§ãã©ã¤ãã¼ãã§ã仲è¯ãããã¦ããã£ã¦ããid:suzakãã声ãããã¦ããããã¡ãã£ã¨çå£ã«è»¢è·ãèããã®ããã£ããã§ããã ã§ãããã¨ã§ã¯ãªãããããã㨠ã¯ã¦ãªã§
ç·ã¯ãªãå¤ç¬æ»ããã®ã ä½è :ãã¼ãã¹ã»ã¸ã§ã¤ãã¼æ¶æ社Amazonãã®ãç·ã¯ãªãå¤ç¬æ»ããã®ããã¯ä¸»ã«ç·æ§ã®å¤ç¬ã«ç¦ç¹ããã¦ããªãç·æ§ã¯å¤ç¬ã«é¥ããã¡ãªã®ããããã¦ã(æ¬äººãæã¾ã¬)å¤ç¬ãã©ã解æ¶ããã°ããã®ãã«ã¤ãã¦æ¸ãããä¸åã§ããããå¤ç¬æ»ãã¨ããã¨æ¥æ¬ã§ã¯ä¸è¬çã«ãä¸äººæ®ããã®äººã誰ã«ãçåãããã«æ»ã¬ãã¨ããæãããæ¬æ¸ã®åé¡ã¯ãLonely at the Topãã§ãããã¾ã§ãå¤ç¬ããèªä½ããã¼ãã§ãããå¤ç¬æ»ããã¼ãã«ãªã£ã¦ããããã§ã¯ãªããå¤ç¬æ»ãè¯ãï¼æªãã¨ãã話ã¯ãªããã家ã§ä¸äººã§æ»ã¬ãã¨ã«é¢ããè¨åããªãã ãªããç·æ§ã®å¤ç¬ãã«æ³¨ç®ããå¿ è¦ãããã®ã ãã¦ãã§ã¯ãªããç·æ§ã®å¤ç¬ãã«æ³¨ç®ããå¿ è¦ãããã®ããå¤ç¬ã«é¥ãã®ã¯ä½ãç·æ§ã ãã®ç¹æ¨©ã§ã¯ãªãã®ã ããã女æ§ãç·æ§ãã²ã£ãããã¦è«ããã°ããã§ã¯ãªããã¨æããããããªãããããã«ã¯ããã¤ãã®çç±ãåå¨ãã¦ããããã¨ãã°
ã¯ããã¾ãã¦ã2019å¹´4æããå¦å¨ ã»åºç£ã¢ããªãBabyãã©ã¹ãã®éçºãã¼ã ã«JOINãã濱ç°ã§ãã ãBabyãã©ã¹ãã®ããã¯ã¨ã³ãã¯Railsã§å®è£ ããã¦ããã®ã§ãããã¨ããCSVçæå¦çãã¨ã¦ãé ãã£ãã®ã§100å以ä¸ã«é«éåãã¾ããããã®éç¨ã§Railsã¢ããªã®å¦çé«éåã«é¢ãã以ä¸ã®ç¥è¦ãå¾ãããã®ã§ãå ·ä½ä¾ã交ãã¦å ±æãã¾ãããã®ç¥è¦ã¯ãActiveRecordã使ç¨ãã¦MySQLãªã©ã®RDBMSãããã¼ã¿æ½åºãããæ§ã ãªå ´é¢ã§æ´»ç¨ã§ããã¨æãã¾ãã ãããããN+1åé¡ããèµ·ãããªãã®ã¯åºæ¬ ãActiveRecordã¤ã³ã¹ã¿ã³ã¹ã®çæã³ã¹ããã¯ãããªãã«é«ã pluckã¯joinsã¨çµã¿åããããã¨ã§ä»ãã¼ãã«ã®ã«ã©ã å¤ãåå¾ã§ãã åæ: DBã¹ãã¼ãã¨ãã¼ã¿è¦æ¨¡ ä»åã®å¦çé«éåã«é¢ããã¢ãã«ã®DBã¹ãã¼ãã¨ãã¼ã¿è¦æ¨¡ã¯ä»¥ä¸ã®éãã§ãããªãããããã¯æ¬ã¨ã³ããªåãã«å°
Railsã®ActiveRecordã®ã¤ã³ã¹ã¿ã³ã¹çæã¯éãã 大éã®ã¤ã³ã¹ã¿ã³ã¹ãçæããã¨ãæ§è½ãå£åããã¡ã«ãªãã åç §ç¨ãã¼ã¿ã§ããã°JSONã«å¤æãã¦ãã£ãã·ã¥ã«å ¥ãããªã©ã®å·¥å¤«ããããã¨æãã¾ãããå ¨é¨ããã§å¯¾å¿ããã®ã¯ãªããªãããã©ãã ã¤ã³ã¹ã¿ã³ã¹çæã³ã¹ãããããªæãã§æãããããã£ã¦ããã²ã¨ã¤ã®ããæ¹ã æ¸ãã¦ã¦ãªããªãæä½ãªããæ¹ã ãªã¨æã£ãããèã«è ¹ã¯ä»£ããããªããæªæãªã®ã§ãã©ããã¦ãã£ã¦å ´åç¨ åæ Railsã¬ã¤ãã«ããé¢é£ããµã³ãã«ã«ãããç°å¢ã¯Rails 4.1.8 class Customer < ActiveRecord::Base has_many :orders, dependent: :destroy end class Order < ActiveRecord::Base belongs_to :customer end
HTTP ã¬ã¤ã HTTP ã®æ¦è¦ å ¸åç㪠HTTP ã»ãã·ã§ã³ HTTP ã¡ãã»ã¼ã¸ MIME ã¿ã¤ãï¼IANA ã¡ãã£ã¢ç¨®å¥ï¼ HTTP ã®å§ç¸® HTTP ãã£ãã·ã¥ HTTP èªè¨¼ HTTP Cookie ã®ä½¿ç¨ HTTP ã®ãªãã¤ã¬ã¯ã HTTP æ¡ä»¶ä»ããªã¯ã¨ã¹ã HTTP ç¯å²ãªã¯ã¨ã¹ã ã³ã³ãã³ããã´ã·ã¨ã¼ã·ã§ã³ HTTP/1.x ã®ã³ãã¯ã·ã§ã³ç®¡ç HTTP ã®é²å ãããã³ã«ã®ã¢ããã°ã¬ã¼ãã®ä»çµã¿ ãããã·ãµã¼ãã¼ã¨ãã³ããªã³ã° HTTP ã¯ã©ã¤ã¢ã³ããã³ã HTTP ã»ãã¥ãªã㣠ãµã¤ãã®å®å ¨å HTTP Observatory Permissions Policy ã³ã³ãã³ãã»ãã¥ãªãã£ããªã·ã¼ (CSP) ãªãªã¸ã³éãªã½ã¼ã¹å ±æ (CORS) Cross-Origin Resource Policy (CORP) Strict-Transport-Securit
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}