Live data from Hacker News

Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ

github.com

1–10 of 34 posts

Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ

#4
post #3

Rather reminds me of ZODB[0]. [0] http://www.zodb.org

It's superficially similar, but also a very different animal. This here is more of a toy database, or perhaps a better way to navigate huge JSON documents, while ZODB is a/the "real deal" object database.

Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ

#6
It might not hold up to heavy use cases, but I can already imagine a bunch of ways this would make my life easier (I use Python scripts to handle a bunch of social media stuff and basic analytics, for instance, where I use either text files or some other proxy to handle state.)

The only request I'd have is a syntactically saccharine way of spinning up the server within the client itself, which is in general an awful idea but would make my life easier for toy use cases.

Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ

#10
What's the purpose/gain of layering ZMQ into this? I read the architecture bit but I'm still unclear as to what benefit this brings. I guess it allows for multiple clients to use the database at the same time? I can see how the queueing thing is useful for writes if you don't want to have to handle more than one at the same time for the sake of complexity, but wouldn't doing this for reading slow things down unnecessarily?
Post reply on HN