Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 8
    But this would still require serializing to bytes, yes? The OP said he was trying to avoid that. Commented Jul 2, 2012 at 23:49
  • This would some kind of serialisation, yes. Perhaps custom serialisation would do a better job if the object type is known. Alternatively include a hash code to avoid re-deserialising an object twice. However this is done, serialisation is required. Commented Jul 2, 2012 at 23:54
  • Are you sure? Network + redis would be comparatively expensive. Why not profile it? Commented Jul 3, 2012 at 0:28
  • Redis is running on the machine, it's not a network redis server Commented Jul 3, 2012 at 1:04
  • Still, you're either doing it over a domain socket or a local TCP socket, right? Commented Jul 3, 2012 at 6:11