Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion A few questions

Received: by 10.101.128.12 with SMTP id f12mr4759065ann.27.1335555960277;
        Fri, 27 Apr 2012 12:46:00 -0700 (PDT)
X-BeenThere: hyperdex-discuss@googlegroups.com
Received: by 10.236.176.198 with SMTP id b46ls2839500yhm.2.gmail; Fri, 27 Apr
 2012 12:45:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.236.192.230 with SMTP id i66mr392193yhn.4.1335555959938; Fri,
 27 Apr 2012 12:45:59 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
 trustthe...@googlemail.com designates internal as permitted sender)
 smtp.mail=trustthe...@googlemail.com; dkim=pass
 header...@googlemail.com
Received: by j3g2000vba.googlegroups.com with HTTP; Fri, 27 Apr 2012 12:45:59
 -0700 (PDT)
Date: Fri, 27 Apr 2012 12:45:59 -0700 (PDT)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0,gzip(gfe)
Message-ID: <dd84bd06-69ba-4941-9297-71bc04358258@j3g2000vba.googlegroups.com>
Subject: A few questions
From: Maxi <trustthe...@googlemail.com>
To: hyperdex-discuss <hyperdex-discuss@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1

What is your recommendation on storing/retrieving/modifying a list of
comments? I think I need to use the map datatype, as I don't see any
way to delete specific list items based on some kind of attribute in
them. (they can only retain strings or ints after all)

Also, two things: As I understand it, I have to call
hyperclient_loop() every now and then. This is confusing, shouldn't
this be treated by the database? What kind of timeout value should I
use and what do I need the return value for? This sounds like a
function that I have to put into the very core event loop of my
webserver, but like I said, I don't see what utility it has for me.
I feel the same about the thread synchronization. Handling a mutex for
the hyperclient instance is a little inconvenient.

Also, I guess I would appreciate documentation on the subject of how
the project is layed out. How can I start stepping through code in
hyperdex, basically? Where do the python modules fit in, what exactly
is their purpose, why do it  in python, etc. Just some high level
documentation basically.