Upload
atlassian
View
59
Download
7
Tags:
Embed Size (px)
Citation preview
Get your add-on in shape for Data Center
MICHAEL HEEMSKERK • ARCHITECT • ATLASSIAN • @MICHAELHEEMSKRK
AT L A S S I A N - C A C H E
API• CacheFactory• Cache<K, V>• CachedReference<V>• CacheLoader<K, V>• CacheSettings• CacheListener
Synchronisation
• Avoid it if you can• Optimistic locking in the database• atlassian-beehive: cluster-aware lock service
Event handling
• Events are node-local only• Options for node-node coordination
• atlassian-cache (+ listener)• product-specific APIs
Scheduling
Node 1Node 2
JobRunnerJobRunner
SchedulerService
JobRunnerJobConfig
scheduled jobs
JobRunnerJobConfig
SchedulerService
JobRunnerJobRunner
scheduled jobs
replicated *
Documentation• Data Center add-on development: http://bit.ly/1IguwLq• Atlassian Cache 2 Overview: http://bit.ly/1Il8WZg• Stash - Making cluster-safe plugins: http://bit.ly/1G9aeE6
Get your add-on in shape for Data Center
Submit your feedback: go.atlassian.com/acaddondc