Everybody says. Actor helps to solve the multithreading problem. Actor is awesome. Threads are ð© Really? An actor model is "just a model", just liâ¦
WIRED ã« âReturn of the Borg: How Twitter Rebuilt Googleâs Secret Weaponâ ã¨ããè¨äºããã£ããTwitter ã Mesos ã¨ããã¯ã©ã¹ã¿ç®¡çã®ã½ããã¦ã§ã¢ãéçºãã¦ããã ããã¯æ¤ç´¢ä¼ç¤¾ã®ãªãã¨ãããã·ã¹ãã ã¿ãããªãããããããã¨ãã話ã ä¸åå¼·ã«ã¤ããã®ãªãã¨ãããã·ã¹ãã ã®ãã¨ã¯ããç¥ããªãããã©ã å»å¹´ã®ä»é éããã Twitter ã® Open House (ASCII ã®ã¬ãã¼ã) ãã®ãããã¦ããã£ãéã Twitter 社ã®ã¨ã©ã¤äºº Rob Benson ã ãããããã¤ã³ãã©ã¯ Mesos ã§ãã!!ã ã¨ç±å¿ã«è©±ãã¦ããã®ãè¦ãã¦ããã WIRED ã®è¨äºã«ããã°ãMesos ãã¼ã¹ã«ç§»è¡ãããã·ã³ã¯äºå²ãããå ¨é¨ç§»è¡ããå¢ããªã®ãã¨ããã£ã¦ããã©ãã¤ã³ãã©ãå¤ããã®ã¯å¤§å¤ãªã®ã ããã ãããã
ãã®è¨äºã¯ãPlay or Scala Advent Calendar 2012ã®25æ¥ãã§ãã Looking back 2012 2012å¹´ã¯ã Playã®ããã¥ã¡ã³ã翻訳 ScalaãPlayã®ãã®ãã¼åãã®çºè¡¨ ä¼ç¤¾ã®æ¥åã§ãScalaã使ããããã«ãªã£ã ãªã©ãå人çã«ã¯Playã¨Scalaã身è¿ãªä¸çã§èºé²ããå¹´ã§ããããããªå¹´ã«ã¢ããã³ãã«ã¬ã³ãã¼ã®æçµæ¥ãæ å½ããã¨ããã®ã¯ãä½ãææ ¨æ·±ããã®ãããã¾ãï¼ æè¿ã¯PlayãScalaãå®è·µã§ä½¿ããå§ããå½±é¿ãããã¤ããªäºææ§ããã«ããã¼ã«ãç¿å¾é¢ãªã©ã®å®è·µçãªèª²é¡ãè²ã ã¨è©±é¡ã«ãªã£ã¦ãã¾ãã課é¡ã«å¯¾ãã¦ã¯æ¥å¹´ç§»è¡ãç²ã ã¨å¯¾å¿ããã¦ãããScalaã®ä»å¾ã®çºå±ã«å¯ä¸ãã¦ããããã¨æãã¾ã ãã¦ãæ¬é¡ã«å ¥ãã¾ããå æ¥ãAkkaã§MMOã®ãµã¼ãï¼ã»ãã®å°ããªãã®ã§ããï¼ãæ¸ãã¾ããããã®æã«ä½¿ã£ãScalaé¢é£ã®æè¡ãããã¤ããç´¹ä»
require 'celluloid' class Counter include Celluloid attr_reader :count def initialize @count = 0 end def increment(n = 1) sleep n @count += n end end actor = Counter.new p actor.count #=> 0 p actor.increment #=> 1 p actor.async.increment(41) #=> nil p actor.count #=> 1 Celluloidã®æ©è½ã使ãã«ã¯ãActorã«ãããã¯ã©ã¹ã«Cellloidãincludeãã¾ãã #asyncãã¯ããã«ç¶ãã¡ã½ããå¼ã³åºããéåæã«ãªããããªãããã·ãè¿ãã¾ããã¡ã½ããå¼ã³åºãã¯nilãè¿ããããæ¬æ¥è¿ã£ã¦ããã¯ãã®è¿ãå¤ã¯ä½¿ãã¾ãã
"Objects can message objects transparently that live on other machines over the network, and you don't have to worry about the networking gunk, and you don't have to worry about finding them, and you don't have to worry about anything. It's just as if you messaged an object that's right next door." --Steve Jobs describing the NeXT Portable Distributed Object system DCell is a simple and easy way t
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}