Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Elixir 社内布教 第一節

1,272 views

Published on

Future ArchitectのLT大会でElixirの布教に使用したスライドです。

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Elixir 社内布教 第一節

  1. 1. TIG HUJII
  2. 2. .fi$§¢? %@%H®k®&3DH -*9fi% -fi? fifi
  3. 3. rRubyLZ1LX7‘. :laa§§fl’§'—_J§§§J ---+/ £‘<1LX‘c7:; L - l3§¥5z§_J7‘; ;0>c: $)J/ E%t:1§ b L - 3&7“/72£§Ei£0)LL - E3JEl’JE'—J1?J‘§
  4. 4. x=1 {_, x} — {1, 2} # = > x = 2 defmodule Recursionsample do def hoge(0) do IO. puts 0 end def hoge(foo) do IO. inspect foo hoge(foo - 1) end end
  5. 5. Integer to_string(1) #= > “1” 1 | > Integer to_string #= > “1” 1..10 | > Enum. map(fn(x) -> x * x end) | > IO. inspect #= > IO. inspect(Enum. map(1..10, fn(x) -> x * x end)) Fa§§5Z§2§§§’C‘t; tuZ~3E<‘: EEEL5 73 U —1|: ”Ee‘fi§5Zfa‘I: */1 ’&l? é:iEFfit; t ”‘ wwffiofétfl&#E%t%fifl®%§Etfifiu1u<
  6. 6. mix — bundler & rake <77~7‘: L7§Iw”E2/u V) iex — pry <7>'~7:L72Cw”E>/ u ' Phoenix — Rails o">*7‘: L7§I¥)/ u '. ... ..:1; an maru - gin <71~7‘. :L‘72C3b/ u L
  7. 7. - | aa§§*z‘5Zfl7‘ot0)L: $)J/ E%t:1/E L L - 3E9“/72iEE>‘£0)LL — §JEI’]§2fi§§? :‘I - Erlang/ OTPOD%§“eti BEAM%E‘§’é}‘
  8. 8. - Erlang %§%§: —‘¥iEricsson’C‘1’F *5 «’rLf: %§§5E? §«"&’f? %$'JfiU}5fi UDEEE 1}i3". E7°/ ‘/J: ’C°§JJf’F3'Z>. §i7°l: Hz7<’£’f§o7‘: §[12§'J9LLfEE’: i'4?rT§‘5l<‘:3'%> Let it crash! ! 3 0 $5 <‘: §T: #’«1 ° OTP - Open Telecom Platform. jtifiti 5:‘§5l fit? ‘ flfi9‘I5.$—%’&%$E'§'ZvfEJ7b‘ -Efiéfiwivb7—7%§itMa%%fl%fi>z? Aw&fi&t54 7“? U a>%. ’€JVI~° - : 7rL7h*‘$EH’~Jt: ErIangEE§t t ‘y I~ ’6~t7%1¢t$ inrc L 6.,
  9. 9. Amazon EC2 Amazon EC2 [ecZ—usere1p—17Z—31—10—ZS3 wrk]S . /wrk —t4 —cZ000 —d10S http: //S2.68.19512514000/? num=30 Runntng 105 test 5 http: //52.68.19S.1ZS:4000/? nuw=30 4 threads and 2000 connectlons Thread Stats Avg Stdev Max ~/ - Stdev Latency Z7.4Sms Z6.7Sms Z90.07ms 85.44% . Req/ Sec 7.78k 2.36k 13.0Sk 64.25% n 308726 requests 1n 10.035, 34.74MB read Socket errors: connect 983, read 0, write 0, txmeout 0 Requests/ sec: 30789.12 Transfer/ sec: 3.46MB [ecZ-userelp-172-31410-ZS3 wrk]S . /wrk ~t4 ~cZ000 -d10S http: //52.68.19512524000/? num:30 Runmng 105 test 5 http: //SZ.68.19S.1ZS:4000/? num=30 4 threads and 2000 connectlons Thread Stats Avg Stdev Max -/ — Stdev Latency 18.06mS 9.1ZmS 509.8-1ms 81.96% Rea/ Sec 10.37k l.40k l4.69k 70.21% m a 412263 requests 1n 10.085. 73.19MB read Socket errors: connect 983, read 0, mr1te 0, tlmeout 0 Requests/ sec: 40888.79 Transfer/ sec: 7.26MB
  10. 10. HYPERLEDGER pm at e-) Digital Asset Holdings SWITCHING TO JAVA/ SCALA " to better integrate with the existing Digital Asset Platform and make it easier for financial institutions to deploy and develop. ” ---+i7‘c“'7‘/ ?T"/ Ef73%c‘: /E't35
  11. 11. ism (>: <Efi< 7f; L200pi£) ’sa>PfiUE—o>EIixir$u%

×