Upload
sunao-tomita
View
933
Download
0
Embed Size (px)
Citation preview
Caching
Japan Azure User Group Microsoft MVP for Microsoft Azure
() http://twitter.com/harutama
CDP
Caching Cache-Aside
?
2
26 10
60 10 15
3
4
Q.
?
5
A.
6
http://commons.wikimedia.org/wiki/File:Memory_hierarchy.svg#mediaviewer/%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB:Memory_hierarchy.svg
CPU
7
8
CPU
9 http://pc.watch.impress.co.jp/docs/column/kaigai/20130602_601851.html
10
__ || ( ) | ?
11
1
12 http://www.infonet.co.jp/ueyama/ip/logic/sram.html
DRAM SRAM
1 1
6
(6)
CPU
2.0Ghz CPU 1? 1 / (2.0109)
= 0.5 10-9 sec = 0.5
0.5? (0.5 10-9) (3.0 108)
= 0.15m = 15cm
13
14
15
Q. ?
16
17
18
private static void Example(List list) { for (int i = 0; list.Count > i; i++) { // Console.WriteLine(list[i]); } }
19
20
private static void Example(List list) { foreach (string s in list) { // Console.WriteLine(s); } }
12()
()
21
Caching
22
23
Cache-Aside
24
/
Oracle Coherence IBM WebSphere eXtreme Scale Pivotal GemFire
25
26
Azure Redis Cache
27 http://azure.microsoft.com/ja-jp/services/cache/
Oracle Coherence
28 https://docs.oracle.com/cd/E50629_01/core/FMWLC/products2.htm
Pivotal SQLFire
29
SQLFire SQL JDBC ADO.NETvFabric GemFire Oracle CoherenceSQL SQLFire Chief Architect Jags RamnarayanSQLFire RDBMSOracle, MySQL, Sybase, DB2, SQLServerPostGres RamnarayanVMware
http://www.infoq.com/jp/news/2011/06/VMware-vFabric-SQLFire
30
https://docs.oracle.com/cd/E23332_01/coh.
360/b61368/cache_rtwtwbra.htm
31
1
32
DB
hoge
hoge!
2
33
DB
hoge
3
34
DB
()
CDP
35
/
1
36
DB
hoge
DB
2
37
DB
Hoge
Hoge
38
39
?
!
40
!
1
41
DB
hoge
!
()
2
42
DB
3
43
DB
CDP
44
/
45
Q.
?
46
47
?
48
Cache-Aside
49
Cache-Aside
MVC Movie Azure Redis Cache 15 http://blogs.msdn.com/b/windowsazurej/archive/2014/06/18/blog-mvc-movie-app-with-azure-redis-cache-in-15-minutes.aspx
50
51
52
Web
53
54
? ()
or
55
56
Queue ?
57
Azure Redis Cache Cache-Aside
Queue
58
http://www.theregister.co.uk/2010/07/27/integrated_silicon_photonics/
59
Intel
60
61
?
62
63
__ || ( ) | ?
64
: Single-level store, Single-level storage, SLS () MulticsIBM System/38 AS/400 eServer iSeries System i Power Systems i Edition
DIMM SSD
65
66
ROM(FRAM)(MRAM) DRAMSRAM
http://e-words.jp/w/E4B88DE68FAEE799BAE383A1E383A2E383AA.html
Lets dream and then lets build. - Ray Ozzie
(@harutama) http://twitter.com/harutama