News for hackers. Stuff that matters.
Re:Ring: Advanced cache interface for Python by youknowone on Tuesday May 28, 2019 @03:23PM (#20033415)
Thanks. I didn't think adding them to the why page. For now, the actual projects work like:

  if DEBUG:
      ring_cache = functools.partial(ring.dict, {}, default_action='execute')
  else:
      ring_cache = functools.partial(ring.redis, client)

  @ring_cache(...)
  def ...

Which is not very good solution at all. I will fix the design and properly document it. Thanks for suggesting why page and mock section.

There are no comments on this comment yet.