News for hackers. Stuff that matters.
Re:Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU by reitzensteinm on Saturday December 24, 2016 @07:40AM (#13249569)
"If you plan to compare Redis to something else, then it is important to evaluate the functional and technical differences, and take them in account.

- Redis is a server: all commands involve network or IPC round trips. It is meaningless to compare it to embedded data stores such as SQLite, Berkeley DB, Tokyo/Kyoto Cabinet, etc ... because the cost of most operations is primarily in network/protocol management."

https://redis.io/topics/benchmarks

Re:Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU by brudgers on Saturday December 24, 2016 @11:15AM (#13250305)
It's not meaningless to compare X to Redis for a particular app in terms of performance. The choice is an architectural decision and often architectural decisions are made by non-architects based on defaults.

That's not to say that the comparison here is bad or good. But it is valid given the diversity of use cases, the complexities of the technical differences you mention, and the pressure that blogs and other media place to adopt large scale solutions for small scale applications.

Re:Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU by reitzensteinm on Saturday December 24, 2016 @01:09PM (#13250888)
The old title claimed it was 50x faster than Redis with no analysis or discussion of tradeoffs. You had to read the fine print to even see the comparison was apples to oranges.

If the comparison were well handled, delving into the architecture tradeoffs, it could be fascinating. But this was just a cheap ploy to get clicks. Now the title has changed, my acidic tone is no longer justified.

Re:Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU by brudgers on Saturday December 24, 2016 @01:30PM (#13251003)
The former title was in place when I wrote my comment.

For what it's worth, according to the guidelines for 'Show HN' an acidic tone is inappropriate. People expose themselves to significant psychological/social risk when posting their own work online as their own work. Show HN is intended to provide a safe productive space. In general, an acidic tone is a bit at odds with HN's general guideline of civility.

Re:Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU by frozenport on Saturday December 24, 2016 @04:38PM (#13251722)

    expose themselves to significant psychological/social risk
Sounds too extreme. Criticism like "you are comparing apples to oranges", isn't the same being a political dissident or losing a loved one.
Re:Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU by marknadal on Saturday December 24, 2016 @07:44AM (#13249586)
Absolutely! I mention this in one of my other comments, thanks for highlighting it. The performance difference is really a matter of the cache being closer (embedded in-memory into your app), not any magical algorithms. But this is still an optimization that many people miss! And it can significantly speed up your web app.
Re:Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU by theseoafs on Saturday December 24, 2016 @02:20PM (#13251216)
So why did you make an HN post to share a result that you admit doesn't mean anything?
Re:Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU by marknadal on Saturday December 24, 2016 @07:09PM (#13252190)
I think it means a lot, it is a brilliant optimization that more databases should take advantage of and more web developers should exploit. There are a lot of valuable insights like this that I go over in my JS perf talk (since JS perf is so bad and full of so much pulpit-preaching versus fact-checking) https://www.youtube.com/watch?v=BEqH-oZ4UXI .