æ¦è¦ PlayFrameworkãAkka HTTPãã¤ãã£ã¦ãã¦ããã¾ãããã©ã¼ãã³ã¹ãã§ãªãã£ãçµé¨ããã¾ããã? ãããããããããã¹ã¬ãããã¼ã«ããã¾ãåå²ã§ãã¦ããªãã£ãããããããã¾ããã PlayFrameworkãAkka HTTPãªã©ããã³ããããã³ã°I/Oãåæã«ã¤ããããã©ã¤ãã©ãªããã¬ã¼ã ã¯ã¼ã¯ã§ã¯ãããããã³ã°I/Oã«ååãªæ³¨æãæãå¿ è¦ãããã¾ãã å ·ä½çã«è¨ãã¨ããã³ããããã³ã°I/Oã®å¦çã®ã¿ãå®è¡ããã¹ã¬ãããã¼ã«ã¨ãããããã³ã°I/O(I/Oå¾ ã¡ã«ããã¹ã¬ãããå æãã)ãå«ãå¦çãå®è¡ããã¹ã¬ãããã¼ã«ã¯åå²ããããããé©åã«è¨å®ããå¿ è¦ãããã¾ãã ãªãã¹ã¬ãããã¼ã«ããããã ãã³ããããã³ã°I/Oã¯ãã®ç¹æ§ä¸ãI/Oå¾ æ©ä¸ã«CPUãã¹ã¬ãããå°æãããä»ã®å¦çã«å²ãå½ã¦ããã¨ãã§ãã¾ãã ãã®ç¹æ§ãæ´»ãããPlayFrameworkãAkka H
ã·ã¹ãã ã®éæ©è½è¦ä»¶ã¯ä»¥åããé«ãè¦æ±ãæ±ããããå¾åã«ããã¾ãã ãã¨ãã°ã â ããå¤ãã®ã³ã¢ã使ãã«ã¯ï¼ â ããçãå¿çæéã«ããã«ã¯ï¼ â éããªã0æéã«è¿ããã¦ã³ã¿ã¤ã ã«ããã«ã¯ï¼ â ãã¿è¦æ¨¡ã®ãã¼ã¿ãæ±ãã«ã¯ï¼ ãªã©ã¨èããæ©ä¼ãå¢ããã¨æãã¾ãã ãã®ãããªèæ¯ã§ç»å ´ããã³ã³ã»ããããâã¬ã¹ãã³ã¹ãéãã»é害ã«å¼·ãã»è² è·ã«å¿ãã¦ã¹ã±ã¼ã«ããâ ç¹å¾´ãæã¤ãªã¢ã¯ãã£ãã·ã¹ãã (ãªã¢ã¯ãã£ãããã°ã©ãã³ã°ã®ãã¨ã§ã¯ããã¾ãã)ã§ããæè¿æ³¨ç®ããã¦ããã®ã§ãè¨èã ãã¯è³ã«ãããã¨ãããã®ã§ã¯ãªãã§ãããããã¯ã©ã¦ããããã°ãã¼ã¿åºç¤ã®é²åã«åããã¦ã¢ããªã±ã¼ã·ã§ã³è¨è¨ã®èãæ¹ã転æããææã ãã注ç®ããã¦ããã®ããããã¾ãããããããªããããªã¢ã¯ãã£ãã·ã¹ãã ã¯ç»å ´ãã¦ã¾ã éããªãã®ã§ãä»å¾ã«åãã¦ãã®é¼åãæãã¦ããããã»ãã·ã§ã³ã«ãããã¨æãã¾ãã ããã¦ããã®ãªã¢ã¯ãã£
2. Akka Stream & HTTP ãªãªã¼ã¹ããã§ã¨ãï¼ ãã³ããããã³ã°ã§èå§å¶å¾¡ã«æºã¡ãã¨ã³ã·ã¹ãã å½¢æã®å¹éãã«ãªããã¨ãæå¾ ãã¾ã 3. Akka HTTPã¨ã¯ ⢠akka IOã¨Akka Streamã使ã£ã¦ãNIOãã¤èå§å¶å¾¡ ã«åºã¥ããHTTPã¢ã¸ã¥ã¼ã« ⢠ä½ã¬ãã«APIã®akka-http-coreã¨é«ã¬ãã«APIã®akka- http-experimentalããã ⢠Akka Streamãã·ã¹ãã å ã®èª¿åãä¿ã¤ã¨ãããã Akka HTTPã¯ã·ã¹ãã éã®èª¿åãå®ç¾ãã 4. ãã¤ã¯ããµã¼ãã¹ã®é£ãã âevery single one of your peer teams suddenly becomes a potential DOS attackerâ å¨ãã®å ¨ã¦ã®ååãã¼ã ããçªå¦ DOS ã¢ã¿ãã«ã¼ã«ãªããã ããã«ãªã£ã å訳åæ Steve
äºæ¥éã®ScalaMatsuriãçµäºãã¾ããã http://scalamatsuri.org/scalamatsuri.org ä»å¹´ã¯ä¼ç¤¾ã¨ãã¦ã ãã§ã¯ãªããGitBucketã§ãã¹ãã³ãµã¼ãããã¦ããã ãã¾ãããæ®å¿µãªããCFPã¯è½ã¡ã¦ãã¾ã£ãã®ã§ä¸åå è ã¨ãã¦æ¥½ãã¾ãã¦ããã ããã¨æã£ã¦ããã®ã§ãããå¯ãå¹´æ³¢ã«ã¯åã¦ããä½èª¿çã«ä¸¡æ¥ã¨ãåå¾ããã®åå ã¨ãªã£ã¦ãã¾ãã¾ããã ã¾ããäºæ¥ç®ã¯ã©ãªããæ¸ãã¦ãã ãã£ãã®ãåãã¾ãããã¢ã³ã«ã³ãã¡ã¬ã³ã¹ãã¿ã¨ãã¦Scalaããºã«ãä¸ãã¦ãã ãã£ãæ¹ãããããããã§æ¥é½æºåããã¦ããã®ã§ä»ã®ã»ãã·ã§ã³ã«ã¯ã²ã¨ã¤ãåå ãããã¨ãã§ãã¾ããã§ãããScala.jsã³ã³ãã¤ã©ã®è©±ãèãããã£ãã®ã§ããç¡å¿µã â¦ã ã¨ããããã§ã»ãã·ã§ã³ã«åå ã§ããã®ã¯åæ¥ã®åå¾ã®ã¿ã¨ãªãã¾ãããã¾ãã¯åå ããã»ãã·ã§ã³ã®ææ³ããã ããããã Akka Stream
In Play meetup 2 (2015/07/05) by @okapies https://playframeworkja.doorkeeper.jp/events/27023 â» Reactive Streams å ¥é (https://speakerdeck.com/okapies/reaâ¦
https://gist.github.com/xuwei-k/20f6b813aa0d5452198e ã³ã³ãããªã³ã«ããããã¡ã½ããä½ãã®æ¨å¥¨ããã¦ãçç±ã¯ãgistã«è²¼ã£ããããã®å ¬å¼ããã¥ã¡ã³ãèªãã§ãã ããã ãããã¯ä»¥åå¾®å¦ã«é¢é£ãããã¤ãæ¸ããã®ã§ãã¡ããã©ãã akkaã«ãããActorã®çææã®æ³¨æäºé ãããããã¡ã ãã£ã¨ããæ¹æ³ãã(ãã¯ãã¢ããã¼ã·ã§ã³ãããªããã¯ã使ãï¼) ãªã©ã®æè¦ãå¾ ã¡ãã¦ããã¾ããæãã¯ãã¢ããã¼ã·ã§ã³ã§é å¼µã£ããã¨ããã£ããã© https://github.com/xuwei-k/akka-actor-macro IDEã対å¿ãã¦ãªãã£ããsbtã®ã¤ã³ã¯ãªã¡ã³ã¿ã«ã³ã³ãã¤ã©ããã¡ãªã®ã§ããã¯ãã¢ããã¼ã·ã§ã³ã¯å´ä¸(´ã»Ïã»ï½) ãã¨ãå¾®å¦ã«é¢ä¿ãããããªãªããããªè©±ã¨ãã¦ãå人çãªãã©ã¯ãã£ã¹ã¨ãã¦ããã®ActorCompanion使ãã
åãã¾ãã¦ãæ°åã®å¢ç°ã¨ç³ãã¾ã(^o^) å ¥ç¤¾å¾ã¯Javaã使ã£ã¦ãã¦ããã¼ã ãç°åãã¦åãã¦Scalaã触ãå§ããã»ã»ã» ã¨ããé ã«ãAkkaã¨ãããã¬ã¼ã ã¯ã¼ã¯ã使ãã®ã§åå¼·ããããã«è¨ããã¾ãã(^o^;) ã¾ãå ¥éæ¸ãè²·ããã¨ããã®ã§ãããæ¥æ¬èªã®æ¬ããªãã»ã»ã»(T_T) ããã¥ã¡ã³ããè±èªã ãä½æ¸ãã¦ããã®ããã£ã±ãããããªãã»ã»ã»(T_T) Scalaãå§ããã°ã£ãã§ããããããªãã»ã»ã»(T_T) ã¨ããç¶æ³ã ã£ãã®ã§ãè±èªã§ãããã¥ã¡ã³ãããå ¥éæ¸ã®æ¹ãã¾ã ç解ã§ããããã»ã»ã»ã¨æããDeveloping an Akka Edgeãã¨ããæ¬ãè³¼å ¥ãã¾ããã ãã®æ¬ãèªã¿ãªãããããã¥ã¡ã³ããèªã¿ãªãããå 輩ã«èããã調ã¹ãªããAkkaã«ã¤ãã¦åå¼·ãããã¨ãã¹ã©ã¤ãã«ã¾ã¨ãã¾ããï¼ ãã ã¨ã¦ãé·ãã®ã§ããã®ããã°ã§ã¯ç°¡æ½ãªã¾ã¨ãï¼èª¬æã®ããã®ç°¡åãªã³ã¼ããæ¸ãã¦ããã¾ã(^o
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}