22

Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack
Page 2: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● Jelly Button Games - Introduction

● Pirate Kings - Growth Challenges

● Redis Use Cases

● Summary

Page 3: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack
Page 5: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

Spin the wheel to earn cash and build your island. Attack and steal from your friends, But beware they can take revenge!

Page 6: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack
Page 7: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

Pirate Kings

Page 8: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● Soft launch in Israel and Sweden

● Featured in Google Play Asia

● Game grew virally from 100K to 3.5M in 3 months

● 2M Daily Active Users in 10 days

○ 1M requests per minute

Page 9: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● “Always online” players

● Social network with interactions

● Near real-time

○ No lazy dumps

Page 10: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

Pirate Kings

Page 11: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

- Our “Swiss Army Knife”

- Using ServiceStack’s Redis client

- Efficient

- Running on RedisLabs

Page 12: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● 100GB DB’s

● Clustered DB’s have 5 shards each (multi-AZ)

● At least 8 CPUs per instance

● Latency: 0.1 msec (avg)

● Network usage: 80k-90k packets/second

Page 13: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

Redis

Page 14: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● Cache

● Leaderboard

● Persistent DB

● Pub/Sub

● Time Sync

Page 15: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● 13M keys

● 2,500 concurrent connections

● 20K ops/sec

● Average latency of 0.06ms

Page 16: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● A leaderboard is a SortedSet

● Global / Per Country Leaderboard

● Complexity: O(log(n))

Page 17: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● Logging malicious users’ IPs

(INC with TTL)

● Identifying social relations

(Set)

● Cash King super-fast calculation

(SortedSet)

● Beware: Unbounded growth

Page 18: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● Instant player updates

● Configuration changes

Page 19: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● Time syncing issue between

AWS servers

● Used Redis as “Central Time”

● Avoid using as a solution for

time sensitive features

Page 20: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack
Page 21: Summary Jelly Button Games - Introduction€¦ · 05/03/2016  · Pirate Kings - Growth Challenges Redis Use Cases Summary. Spin the wheel to earn cash and build your island. Attack

● Jelly Button Games - Introduction

● Pirate Kings - Growth Challenges

● Redis Use Cases