Skip to content

Instantly share code, notes, and snippets.

View zhangruiskyline's full-sized avatar

Rui Zhang zhangruiskyline

View GitHub Profile
@zhangruiskyline
zhangruiskyline / DiagnoseRedisErrors-ClientSide.md
Created February 27, 2018 05:49 — forked from JonCole/DiagnoseRedisErrors-ClientSide.md
Diagnosing Redis errors caused by issues on the client side

Diagnosing Redis errors on the client side

Customers periodically ask "Why am I getting errors when talking to Redis". The answer is complicated - it could be a client or server side problem. In this article, I am going to talk about client side issues. For server side issues, see here

Clients can see connectivity issues or timeouts for several reason, here are some of the common ones I see:


Memory pressure

@zhangruiskyline
zhangruiskyline / roll_ipython_in_aws.md
Created December 19, 2016 17:26 — forked from iamatypeofwalrus/roll_ipython_in_aws.md
Create an iPython HTML Notebook on Amazon's AWS Free Tier from scratch.

What

Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.

What are we using? What do you need?

  • An active AWS account. First time sign-ups are eligible for the free tier for a year
  • One Micro Tier EC2 Instance
  • With AWS we will use the stock Ubuntu Server AMI and customize it.
  • Anaconda for Python.
  • Coffee/Beer/Time