Posted in Development, Lookery, RSS Syndicated | Permalink
Author Archive
Building Voldemort read-only stores with Hadoop
Posted by David Cancel
- June 18, 2009 at 6:27 am PST
At Lookery, we have been working very hard to transform most of our data processing tasks into batch-oriented workflows in order to deal with growth. For example, we were already using Hadoop to compute our index and data files for our largest database, but the process of serving that information took place over too many network hops (load balancers, reverse proxies and Amazon S3). Therefore, as soon as I learned that Project Voldemort supported offline building of distributed stores, I decided to try it and we’re now running it in production. Just visit the guest blog post over that Project Voldemort blog for full details.
Every user on every web page
Posted by David Cancel
- February 23, 2009 at 2:19 pm PST
Posted in Advertising, Analytics, Lookery | Permalink
Thoughts on “Efficient”
Posted by David Cancel
- February 17, 2009 at 10:29 am PST
Interesting conversation at lunch yesterday. Elias and I had a different take on what it means for a dev team to be “efficient” (I’ll have to make a special post when the two of us find ourselves in total agreement on something ;-). I’m going to caricature what we were saying a bit, because I think it captures two things developers strive for:
Efficiency Definition 1: developers spend as little time as possible not coding (meaning, as few meetings as possible, as little interaction with ticket systems as possible, etc).
Efficiency Definition 2: developers spend as little time as possible coding features which no one needs
Those two aren’t exactly in direct conflict, but they do imply different tradeoffs. If you go for 2, you’re willing to hit a few meetings, jump through some ticket system hoops, because you live in abject fear of writing the wrong code. That’s where I find myself, at this point in my career. That’s part of why I don’t trust dev teams that romanticize overwork — it’s almost impossible to avoid writing the wrong code when you’re pulling 60 hour weeks, and working in constant low-grade fear.
-Dan M
Posted in Development, Lookery, RSS Syndicated | Permalink
Erlang/Eunit Test Structuring Idea
Posted by David Cancel
- January 29, 2009 at 6:44 am PST
Nifty post from Adam Lindberg on the Erlang-Questions mailing list, about how he structures his eunit tests:
In myapp/src/foo.erl I put a small header file inclusion:
-ifdef(TEST).
-include("foo_test.hrl").
-endif.
And myapp/test/foo_tests.hrl looks like this:
-include_lib("eunit/include/eunit.hrl").
foo_test_() ->
[?_assertEqual(ok, public_function())].
bar_test_() ->
[?_assertEqual(ok, private_function())].
With the right compile options, you get tests only built into the code during dev, and you get to keep your tests in a separate file (but still have full access to the internal functions, which I find absolutely necessary).
-Dan M
Posted in Development, Lookery, RSS Syndicated | Permalink
Recent Posts
“Lookery Resurrected: Audience Networks For Pubs Calling it “Lookery Prequel, Inc.,”…”
“Lookery Resurrected: Audience Networks For Pubs Calling it “Lookery Prequel, Inc.,” Scott Rafer has rolled ...
Posted by Scott Rafer, February 26, 2010 at 6:04 pm“I think we’ve begun to see this already in how Bravo, HBO and others have jumped to partner with…”
“I think we’ve begun to see this already in how Bravo, HBO and others have ...
Posted by Scott Rafer, February 25, 2010 at 2:10 pm“I think we’ve begun to see this already in how Bravo, HBO and others have jumped to partner with…”
“I think we’ve begun to see this already in how Bravo, HBO and others have ...
Posted by Scott Rafer, February 25, 2010 at 2:10 pm