Better HN
topnewbestaskshowjobs
Log inSign up

bdarfler

17 karma · joined Feb 1, 2011 (15y ago) · 20 submissions

Submissions

1.

Innovating with Distributed Hackathons(engineering.invisionapp.com ↗)

18 points · by bdarfler · 6y ago · discuss

comment 9y ago · link · parent

Looks like AWS recommends TSC as well.

https://www.slideshare.net/AmazonWebServices/cmp402-amazon-e...

comment 10y ago · link · parent

Thanks to gorhill there is now an update to uBlock to address this.

https://twitter.com/gorhill/status/776183271210229760

4.

Testing AWS Scala Microservices(eng.localytics.com ↗)

11 points · by bdarfler · 10y ago · discuss

comment 10y ago · link · parent

I keep meaning to try out https://perch.co/.

comment 11y ago · link · parent

You are exactly right, however Vertica already handles the data locality, columnar data storage and data compression for us. Vertica is so good at its job that we are CPU bound on most queries and these types of strategies around reducing locking and using shorter data types make a difference.

comment 11y ago · link · parent

There is always a balance here between CPU and IO. For a long time databases and big data platforms were pretty terrible with IO. However, as the computer engineering community has had time to work with these problems we have gotten considerably better at understanding how to store data via sorted and compressed columnar formats how to exploit data locality via segmentation and partitioning. As such most well constructed big data products are CPU bound at this point. For instance check out the NSDI `15 paper on Spark performance that found it was CPU bound. Vertica is also generally CPU bound.

https://www.usenix.org/conference/nsdi15/technical-sessions/...

8.

Using Enumerations to Make a Faster Activity Feed in Rails(blog.givegab.com ↗)

8 points · by bdarfler · 12y ago · discuss

9.

11 Best Practices for Low Latency Systems(codedependents.com ↗)

3 points · by bdarfler · 12y ago · discuss

10.

Mathematical Purity in Distributed Systems: CRDTs Without Fear(codedependents.com ↗)

1 points · by bdarfler · 12y ago · discuss

11.

NoSQL Database Comparison(nosqldbs.io ↗)

1 points · by bdarfler · 12y ago · discuss

comment 13y ago · link · parent

http://foundationdb.com/ supports multiple doc transactions.

13.

Web Scale Analytics Reading List(codedependents.com ↗)

2 points · by bdarfler · 14y ago · discuss

14.

A Sequential I/O Reading List(codedependents.com ↗)

4 points · by bdarfler · 14y ago · discuss

comment 15y ago · link · parent

Go to 10gens site. Watch some of the videos and see the huge volume of data (in TPS or in TBs) that people are working with. Go on the google group and see what problems people have. Don't take an anonymous post on pastebin as the gospel.

comment 15y ago · link · parent

We easily support 10s of millions of writes and reads against Mongo per hour on a very small (single digit) number of shards in the cloud (i.e. crappy disk I/O). While that is around an order of magnitude less than 30k a second I would be surprised if we couldn't scale mostly linearly by adding shards.

P.S. If your stack is KV then you should use a KV store.

comment 15y ago · link · parent

Yah, MySql 4.0 sucked, thats why I don't use 5.5 now. Come on.

comment 15y ago · link · parent

It seems a bit disingenuous to post slides now reviewing a year old version of MongoDB that is almost 3 major revs behind.

These days auto-sharding works and works well. There is a learning curve to optimize it (i.e. picking a good shard key, analogous to picking a good _id field) but that is to be expected.

Replica sets work exactly as advertised in my experience. Automatic fail over and no need to wake up at 3am is a huge win.

Finally single server durability directly addresses durability concerns that many have.

The first two points are the reason why my company and so many others are switching even if that means needing to understand how to pick good ids/shard keys and having to shorten our field names by hand. I can see why, if they were not available at the time, MongoDB might not be a good choice but the fact of the matter is that they are available today.

comment 15y ago · link · parent

Some/M=most Mongodb client libraries can do this for you. I can see arguments both ways to keep it in the server or keep it in the client library. 10gen does a hell of a job supporting a wide variety of very good client libraries.

comment 15y ago · link · parent

As mathias_10gen points out below this is the default behavior of ObjectId. You just have to be carful if you decide to override the _id field.