This document summarizes a microservices meetup hosted by @mosa_siru. Key points include:
1. @mosa_siru is an engineer at DeNA and CTO of Gunosy.
2. The meetup covered Gunosy's architecture with over 45 GitHub repositories, 30 stacks, 10 Go APIs, and 10 Python batch processes using AWS services like Kinesis, Lambda, SQS and API Gateway.
3. Challenges discussed were managing 30 microservices, ensuring API latency below 50ms across availability zones, and handling 10 requests per second with nginx load balancing across 20 servers.
This document summarizes a microservices meetup hosted by @mosa_siru. Key points include:
1. @mosa_siru is an engineer at DeNA and CTO of Gunosy.
2. The meetup covered Gunosy's architecture with over 45 GitHub repositories, 30 stacks, 10 Go APIs, and 10 Python batch processes using AWS services like Kinesis, Lambda, SQS and API Gateway.
3. Challenges discussed were managing 30 microservices, ensuring API latency below 50ms across availability zones, and handling 10 requests per second with nginx load balancing across 20 servers.
asm.js x emscripten: The foundation of the next level Web gamesNoritada Shimizu
?
Game requires high performance to its run times. asm.js brings Web browsers high performance JavaScript processing and allows us to build heavy games on the top of Web browsers. In this talk, we can see 1 )the background of asm.js 2) asm.js details and 3) overview of emscripten, a compiler which emits asm.js formatted JavaScript code from C/C++.
asm.js の詳細と emscripten の簡単な使い方について解説します。
6. 整数演算
let add1 x = x + 1 addq $2, %rax
ret
let add2 x = x + 2 addq $4, %rax
ret
7. tag bit
? GCのために値にtagを付けている
– intなら最下位bitが常に1
– pointerなら常に0
? Major GCではMark and Sweepをやるため
? 64bitのIntがほしいときはInt64がある
– allocされたナマの64bit int......
https://realworldocaml.org/v1/en/html/memory-representation-of-values.html
23. for式5 共通式2
let f a b n =
for i = 0 to 100 do
a.(i) <- n +. 3.0;
b.(i) <- n +. 4.0;
done
f:
movsd .LC0(%rip), %xmm1
xorl %eax, %eax
addsd %xmm0, %xmm1
addsd .LC1(%rip), %xmm0
.L2:
movsd %xmm1, (%rdi,%rax)
movsd %xmm0, (%rsi,%rax)
addq $8, %rax
cmpq $800, %rax
jne .L2
rep ret