HNHacker News
TopNewBestAskShowJobs

dm_mongodb

224 karma · joined December 31, 2009

contributor, MongoDB (www.mongodb.org) blog: dmerr.tumblr.com
submissionscomments
dm_mongodb··on Follow the money: Apple vs. the FBI
this in no way effects whether one is trusted for payments.
dm_mongodb··on FBI argues it can force Apple to turn over iPhone source code
i can imagine reasons why apple would want or need to be able to update secure enclave firmware without the correct pin entered first. #2-3 are highly speculative:

1) fear of a bug. just the right firmware bug and you have 100 million phones lose data, and perhaps bricked too. unlikely, but consider the cost. i would be worried about this if i were in charge of the iphone project and the secure enclave feature were newish. we can imagine pretty good solutions to this one though, with work and time.

2) out of 100+ countries where they sell phones, over time, some will give them a confidential court order saying they must retain this capability. if a foreign court order, they could refuse to comply, but then would have to exit that market -- infeasible if multiple countries. and a different 'version' for just those countries would be noticed over time by security researchers?

3) they might already have an order as such from the U.S., for foreign intelligence purposes. as mentioned a different international version if noticed is a PR disaster for apple. so the easiest way to comply is just do it that way for all phones.

perhaps they push back on the fbi request because that's the one they can talk about, yet it templates the whole issue.

dm_mongodb··on FBI argues it can force Apple to turn over iPhone source code
I don't understand. Can someone please clarify for me. They physically have the phone right? Could they not just read the whole flash, try a pin, write back the whole flash, repeat? (i.e. take the phone apart)

(given it is a 5C with no secure enclave)

dm_mongodb··on The growing irrelevance of MongoDB
you are correct, that's not in 2.8. might want to follow this jira: https://jira.mongodb.org/browse/SERVER-11500

that said it will be a big release in other aspects, with pluggable storage engines now, and WiredTiger specifically.

dm_mongodb··on If carpenters were hired like programmers (2004)
please tell me most people aren't this silly when they interview folks.

have the carpenter build something (of trivial scope) while you watch. somewhat analogous to coding on the whiteboard in the interview.

come to think of it, it might be darn hard to interview carpenters. but if you watch them work for 2 hours you know everything.

dm_mongodb··on MongoDB Gotchas and How To Avoid Them
SSL support is in the free distribution but you must built it yourself. One reason would be export controls; another is that creates a dependency on the SSL library for those who don't use SSL, which we found awkward (especially if doing all platforms; the subscriber build just does the popular ones).

So it's available; albeit there is an intent to have a subscriber build with some extra features that are heavily enterprise biased in their usefulness.

dm_mongodb··on MongoDB Gotchas and How To Avoid Them
re #2: looking at the source code I don't see this behavior. Perhaps in a version from the past? Anyway, please advise or point me to a jira...

In src/mongo/db/db.cpp I see:

    void _initAndListen(int listenPort ) {
        ...
        dur::startup(); // <- this i believe preallocs journal files
        ...
        listen(listenPort); // after journal prealloc i think
p.s. this blog post is a very interesting article overall i think, without commenting on all the specifics...
dm_mongodb··on MongoDB Gotchas and How To Avoid Them
can you create a Jira ticket for #2 if that is happening it should be easy to fix. jira.mongodb.org
dm_mongodb··on Mark Cuban: High-Frequency Traders Are the Ultimate Hackers
it seems to me that the exchange adding a small random delay (say 1ms) on message reception would dampen the benefits of speed and then there would be less work invested in saving a few microseconds here and there. you still have program trading but a little bit of silly dynamics is dampened.
dm_mongodb··on With $42M more, 10gen wants to take MongoDB mainstream
Goal 1 of the financing was funds to accelerate r&d, to hire engineers to do things like the ones you mention above; in addition more r&d just pushing hard to maximize overall product quality, stability, etc. not sure if those exact things will get done and exactly when yet. I'd definitely like to see the solaris build get some attention. dwight/10gen
dm_mongodb··on Should All Web Traffic Be Encrypted?
i think so yes
dm_mongodb··on Cringely Predicts: Eric Schmidt may replace Steve Ballmer
obviously there will be a new ceo at some point. time passes.

it will not be schmidt.

dm_mongodb··on New MongoDB alerts and advisories page
it's new.
dm_mongodb··on The Sad Reality of Post-Mature Optimization
I imagine Knuth's first version of Tex was pretty darn fast even without 'optimizing'.
dm_mongodb··on Myths about entrepreneurs
I've been an entrepreneur a long time and my take is:

1. Not a myth! Apple, Microsoft, Yahoo, Google, Facebook, Foursquare, ... There are counterexamples but certainly plenty of young ones. I'm 40+ now so no bias. :-) 2. Correct, myth. I could teach you to be an entrepreneur if you wanted to be one. 3. Myth 4. Myth. Gilt Groupe a good example. 5. Myth

dm_mongodb··on Experience porting 4k lines of C code to go
Seems to me comparison to C++ might be more interesting. Wonder how that would be given there are 'growable arrays' and such. There's better (not perfect) safety given scoped_ptr, string classes, etc.
dm_mongodb··on MongoDB 1.8 (stable) released
consolidation of adjacent btree nodes after key deletions when appropriate. arguably should have already done this, but it's there now!
dm_mongodb··on MongoDB 1.7.5 Released with single server durability
development agility is a goal of the project too, in addition to scale-out. i've seen a lot of happy users with a single server (or two) and that's all they need.
dm_mongodb··on MongoDB Performance & Durability
Single server durability is coming, v1.8 in the fall. We chose to prioritize some other things before that. http://jira.mongodb.org/browse/SERVER-980

We've always clearly said don't build a bond trading system with it. Our philosophy is one-size-fits-all is over; use the right tool for the right problem.

Based on how I like to define the term, there is nothing in the NoSQL space that does full "ACID", including complex transactional semantics involving many objects, on many server clusters. That is ok : the perf + scale problem isn't really solvable if you don't give on something.

dm_mongodb··on Clever Chinese trains without stops at stations (concept)
Perhaps a better solution is to make trains more cell-based. (Think ATM.)

Each "car" holds just 2-4 people. they run on the tracks and switch on and off at the right stops. Very granular.

But still like a train in that you have tracks and power from the tracks. There is no conductor then, so everything would have to be computer controlled.

dm_mongodb··on My GitHub Punch Card for SimplyTweet
That's fascinating.

Add 3 hours as lots of the developers are on eastern time. So that explains the smaller dots as 9 (lunch).

dm_mongodb··on Will windows C++ die?
The real question to me is : why in the world are y'all still using C? C++ is just as fast if you don't jump the shark.
dm_mongodb··on Will windows C++ die?
I don't fully understand the question : why is Windows C++ different than C++ on other operating systems?

C++ is great. I really like the control it gives one over initialization at construction and scoped destruction. It's pretty safe these days too give pointers aren't highly involved (shared_ptr, stl containers instead).

dm_mongodb··on Errors in Database Systems, Eventual Consistency, and the CAP Theorem
fwiw, here is the formal version of the theorem from the gilbert/lynch proof paper:

Theorem 1. It is impossible in the asynchronous network model to implement a read/write data object that guarantees the following properties: * Availability, * Atomic consistency, in all fair executions (including those in which messages are lost).

dm_mongodb··on 300,000 requests / second
Correct - MongoDB project was started by ex-DoubleClickers.

DoubleClick doesn't use MongoDB (afaik). My understanding is that it is switching over gradually to internal google infrastructure services - so presumably bigtable like things, and its internal successors, whatever those are. That said, MongoDB is basically what I wish I had had when we began building DART long ago.

In the early days of DART we build a proprietary distributed key/value store called UIS. It was super simple and super fast and worked well. The request volume, both read and write to it, was huge: it was hit in realtime by the ad servers.

dm_mongodb··on 300,000 requests / second
It's ads served per second by DART. Doesn't count adwords, adsense. It is served from several data centers and this is the total.
dm_mongodb··on MongoDB 1.4 Production Release
this blog post talks a bit about a real world implementation and when they do and do not use memcached with mongodb: http://www.businessinsider.com/how-we-use-mongodb-2009-11
dm_mongodb··on JSON DB vs ODBMS
I have to say I'm not quite clear on difference between a graph db and object db.
dm_mongodb··on How Many Nukes Would It Take?
but I live in Manhattan
dm_mongodb··on Coming soon: day-long MongoDB training sessions in SF and NYC
it can run in a very small footprint. the one gotcha is that as it uses memory-mapped files, you need 64 bit OS for multi-GB databases.
Page 1 of 2Next →