Suche senden
Hochladen
Monitor object
•
5 gefällt mir
•
1,404 views
DaeMyung Kang
Folgen
Melden
Teilen
Melden
Teilen
1 von 50
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Cutting edge android stack. One year later
Cutting edge android stack. One year later
Anton Rutkevich
Categorical Quantum Computing
Categorical Quantum Computing
Joe Mathes
Gae users service
Gae users service
DaeMyung Kang
Command processor
Command processor
DaeMyung Kang
Clean code pm
Clean code pm
DaeMyung Kang
Gae datastore
Gae datastore
DaeMyung Kang
Server modeling with mysql
Server modeling with mysql
DaeMyung Kang
Whole part
Whole part
DaeMyung Kang
Empfohlen
Cutting edge android stack. One year later
Cutting edge android stack. One year later
Anton Rutkevich
Categorical Quantum Computing
Categorical Quantum Computing
Joe Mathes
Gae users service
Gae users service
DaeMyung Kang
Command processor
Command processor
DaeMyung Kang
Clean code pm
Clean code pm
DaeMyung Kang
Gae datastore
Gae datastore
DaeMyung Kang
Server modeling with mysql
Server modeling with mysql
DaeMyung Kang
Whole part
Whole part
DaeMyung Kang
Proactor
Proactor
DaeMyung Kang
Process
Process
DaeMyung Kang
Publisher subscriber pattern
Publisher subscriber pattern
DaeMyung Kang
Scalable
Scalable
DaeMyung Kang
Gearman
Gearman
DaeMyung Kang
Refactoring(inline class, Hide delegate, remove middle man)
Refactoring(inline class, Hide delegate, remove middle man)
DaeMyung Kang
Count min sketch
Count min sketch
DaeMyung Kang
Redis
Redis
DaeMyung Kang
Ansible
Ansible
DaeMyung Kang
Why GUID is needed
Why GUID is needed
DaeMyung Kang
How to use redis well
How to use redis well
DaeMyung Kang
The easiest consistent hashing
The easiest consistent hashing
DaeMyung Kang
How to name a cache key
How to name a cache key
DaeMyung Kang
Integration between Filebeat and logstash
Integration between Filebeat and logstash
DaeMyung Kang
How to build massive service for advance
How to build massive service for advance
DaeMyung Kang
Massive service basic
Massive service basic
DaeMyung Kang
Data Engineering 101
Data Engineering 101
DaeMyung Kang
How To Become Better Engineer
How To Become Better Engineer
DaeMyung Kang
Kafka timestamp offset_final
Kafka timestamp offset_final
DaeMyung Kang
Kafka timestamp offset
Kafka timestamp offset
DaeMyung Kang
Data pipeline and data lake
Data pipeline and data lake
DaeMyung Kang
Redis acl
Redis acl
DaeMyung Kang
Weitere ähnliche Inhalte
Andere mochten auch
Proactor
Proactor
DaeMyung Kang
Process
Process
DaeMyung Kang
Publisher subscriber pattern
Publisher subscriber pattern
DaeMyung Kang
Scalable
Scalable
DaeMyung Kang
Gearman
Gearman
DaeMyung Kang
Refactoring(inline class, Hide delegate, remove middle man)
Refactoring(inline class, Hide delegate, remove middle man)
DaeMyung Kang
Andere mochten auch
(6)
Proactor
Proactor
Process
Process
Publisher subscriber pattern
Publisher subscriber pattern
Scalable
Scalable
Gearman
Gearman
Refactoring(inline class, Hide delegate, remove middle man)
Refactoring(inline class, Hide delegate, remove middle man)
Mehr von DaeMyung Kang
Count min sketch
Count min sketch
DaeMyung Kang
Redis
Redis
DaeMyung Kang
Ansible
Ansible
DaeMyung Kang
Why GUID is needed
Why GUID is needed
DaeMyung Kang
How to use redis well
How to use redis well
DaeMyung Kang
The easiest consistent hashing
The easiest consistent hashing
DaeMyung Kang
How to name a cache key
How to name a cache key
DaeMyung Kang
Integration between Filebeat and logstash
Integration between Filebeat and logstash
DaeMyung Kang
How to build massive service for advance
How to build massive service for advance
DaeMyung Kang
Massive service basic
Massive service basic
DaeMyung Kang
Data Engineering 101
Data Engineering 101
DaeMyung Kang
How To Become Better Engineer
How To Become Better Engineer
DaeMyung Kang
Kafka timestamp offset_final
Kafka timestamp offset_final
DaeMyung Kang
Kafka timestamp offset
Kafka timestamp offset
DaeMyung Kang
Data pipeline and data lake
Data pipeline and data lake
DaeMyung Kang
Redis acl
Redis acl
DaeMyung Kang
Coffee store
Coffee store
DaeMyung Kang
Scalable webservice
Scalable webservice
DaeMyung Kang
Number system
Number system
DaeMyung Kang
webservice scaling for newbie
webservice scaling for newbie
DaeMyung Kang
Mehr von DaeMyung Kang
(20)
Count min sketch
Count min sketch
Redis
Redis
Ansible
Ansible
Why GUID is needed
Why GUID is needed
How to use redis well
How to use redis well
The easiest consistent hashing
The easiest consistent hashing
How to name a cache key
How to name a cache key
Integration between Filebeat and logstash
Integration between Filebeat and logstash
How to build massive service for advance
How to build massive service for advance
Massive service basic
Massive service basic
Data Engineering 101
Data Engineering 101
How To Become Better Engineer
How To Become Better Engineer
Kafka timestamp offset_final
Kafka timestamp offset_final
Kafka timestamp offset
Kafka timestamp offset
Data pipeline and data lake
Data pipeline and data lake
Redis acl
Redis acl
Coffee store
Coffee store
Scalable webservice
Scalable webservice
Number system
Number system
webservice scaling for newbie
webservice scaling for newbie
Monitor object
1.
Monitor Object
charsyam@naver.com
2.
Multiple Threads
3.
Multiple Threads
Shared Object
4.
Thread-Safe
5.
Passive-Object
6.
Thread-Safe
Passive-Object Pattern
7.
Active Object THREAD
1 THREAD 2 Processor Caller ITEM 1 ITEM 1 ITEM 1
8.
Active Object Caller
Thread other-Threads Process Thread
9.
Passive Object THREAD
1 THREAD 2 Processor Processor ITEM 1 ITEM 1 ITEM 1
10.
Passive Object Each
Thread Process Shared Object
11.
Active Object
VS Monitor Object
12.
Active Object
VS Monitor Object
13.
Monitor Object is
14.
Monitor Object is
Part Of Active Object
15.
EXAMPLE
16.
QUEUE
17.
IN Multi-Thread
18.
NEED Synchronization Mechanisms
19.
THREAD 1
ITEM 1 THREAD 2 ITEM 2 ITEM 3 ITEM 4 ITEM 5
20.
THREAD 1
ITEM 1 THREAD 2 ITEM 2 INSERT ITEM 3 ITEM 4 ITEM 5
21.
THREAD 1
ITEM 1 THREAD 2 ITEM 2 INSERT ITEM 3 INSERT ITEM 4 ITEM 5
22.
THREAD 1
ITEM 1 THREAD 2 ITEM 2 INSERT ITEM 3 INSERT ITEM 4 ITEM 5 BROKEN
23.
No Item
In Queue
24.
THREAD 1
THREAD 2 Pop No Items
25.
THREAD 1
THREAD 2 Pop No Items WAIT
26.
THREAD 1
ITEM 1 THREAD 2 Insert Pop WAIT
27.
THREAD 1
ITEM 1 THREAD 2 Insert Pop NOTIFY
28.
THREAD 1
ITEM 1 THREAD 2 Pop
29.
Monitor Object
30.
31.
32.
With Thread-Safe Interface
33.
External Interface
34.
Thread-Safe Interface
35.
Lock and Notify
– 1/2
36.
Lock and Notify
– 2/2
37.
Lock and Notify
– 2/2
38.
Empty and Full
39.
put
40.
Get
41.
SYNCH_STRATEGY 1/2
42.
SYNCH_STRATEGY 2/2
43.
Connection
Pool
44.
Multi-Thread
Queue
45.
Benefits Simplification of concurrency
control Simplification of scheduling method execution
46.
Benefits Simplification of concurrency
control Simplification of scheduling method execution
47.
Liabilities Complicated extensibility of
coupling with Monitor Object’s Inheritance anomaly Nested Monitor Lockout
48.
Liabilities Complicated extensibility of
coupling with Monitor Object’s Inheritance anomaly Nested Monitor Lockout
49.
Liabilities Complicated extensibility of
coupling with Monitor Object’s Inheritance anomaly Nested Monitor Lockout
50.
THANK YOU!
Jetzt herunterladen