code: def update_params(self, params):
          
          if not params.get('BINARY', True):
              raise Warning('To increase performance please use ElastiCache'
                            ' in binary mode')
          else:
              params['BINARY'] = True  # patch params, set binary mode
          if 'OPTIONS' not in params:
              # set special 'behaviors' pylibmc attributes
              params['OPTIONS'] = {
                  'tcp_nodelay': True,
                  'ketama': True
              }
docs: update connection params to maximize performance