Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
Storing Data in Redis like a pro@omerlh
The storage quest
q Meet our requirements
q Secure
q We can access it
q We can monitor it
Storage Requirements
q High Availability
q High Performance
q Strong Consistency
q SaaS Solution
q Key-Value Store
Wait, what about Redis?
Storage Requirements
✓ High Availability
✓ High Performance
✓ Strong Consistency
✓ SaaS Solution
✓ Key-Value Store
A note about high availability
● Replication
● Append Only File (AOF)
● Snapshots
● Redislabs SLA: 99.99%!
https://redislabs.com/redis-enterprise/technology/highly-available-redis/
Are we done?
What about security?
AUTH command
https://redis.io/commands/auth
Layers of security
● Very strong password (64 crypto random bytes)
● TLS with client-side certificate authentication
● IP filtering
● VNet/VPC
Are we done?
Solution: Rebrow
Rebrow
● Web UI for redis database
● Limit Redis access (read/delete)
● Optional: auth proxy
Are we done?
What about monitoring?
Our use case: Keeping Redis in shape
● Our Redis plan has storage limits
● Redislabs will send a mail when we near the limits
● Issues:
○ Not flexible
○ Alert routing
We need a better solution!
Simple solution: INFO command
https://redis.io/commands/INFO
A secure monitoring solution
Webdis
https://blog.solutotlv.com/keep-redis-shape-3-simple-steps
Are we done?
We have a storage:
✓ Strong Consistency, high availability storage
✓ Secure
✓ We can access it
✓ We can monitor it
Questions?
Thank You!
@omerlh
@SolutoEng