Better HN
topnewbestaskshowjobs
Log inSign up

bmdhacks

42 karma · joined Mar 18, 2013 (13y ago) · 10 submissions

Submissions

comment 1y ago · link · parent

Asahi linux is essentially in a holding pattern with only support up to M2. Likely linux will never be supported above M2 and even M2 has a lot of rough edges. When my monitor sleeps on M2 linux it can never reawaken without a reboot.

comment 11y ago · link · parent

Take a look at the Stack class (an example of a free monad) and how it's used to compose clients:

https://github.com/twitter/finagle/blob/master/finagle-core/...

https://github.com/twitter/finagle/blob/master/finagle-core/...

http://twitter.github.io/finagle/guide/Clients.html

A client is a layer of various components like load balancers and stats recorders, but they're also all configurable. Only using the expressiveness of scala could such a data structure be created to compose all of these pieces, yet still keep them modifiable and type-safe.

comment 12y ago · link · parent

Fanout is soft realtime, but yeah, we don't block lady gagas tweets to 40 million people until they're all delivered. Note that she counts as 1 in the tps calculation when she tweets. Btw, we're hiring if you'd like to help us make twitter even better.

comment 12y ago · link · parent

34k tweets per second * follower fanout. Trading platforms don't deliver curated individual timelines of single trades you are interested in.

comment 13y ago · link · parent

One of the projects I've been working on is doing more aggregate analysis of zipkin data: https://github.com/twitter/zipkin/pull/276

We're using this at Twitter to better understand usage patterns for services upstream and downstream. For example, Gizmoduck, the user store at twitter is backed by memcache, and some disk-based storage behind the cache. While we can view individual traces that hit by memcache, the aggregate info shows us both the proportion of traffic for services calling Gizmoduck, as well as the proportion of time Gizmoduck spends in memcache versus the backend store.

Furthermore, it can be useful for notifying of unusual behavior. If a service's aggregate durations has changed since yesterday, perhaps that's something we want to look at. Or if the ratio of traffic from some upstream service doubles, that's interesting to know.

comment 13y ago · link · parent

That's what we do, but it's built into the RPC library we use, finagle: https://github.com/twitter/finagle/blob/master/finagle-core/...

BTW, to the readers at home, note how almost all our core infrastructure is open-sourced.

comment 13y ago · link · parent

Merged thanks

comment 13y ago · link · parent

Zipkin is designed to piece together operations that are distributed across a fleet of systems. IE: nginx calls your rails server which calls memcache then calls your login server which hits a mysql database. It's most useful when your serving architecture is distributed across many many machines and many many different services.

comment 13y ago · link · parent

Twitter util to the rescue! https://github.com/twitter/util/blob/master/util-core/src/ma...

comment 13y ago · link · parent

Hey, developer on zipkin here. Happy to answer any questions you have.