5 ms·
If you're using java, just use finagle's http server and be done with it. It is really good and runs most all of twitter.com's production web services. The very
by SEJeff 9y ago
If you're using java, just use finagle's http server and be done with it. It is really good and runs most all of twitter.com's production web services. The very definition of "web scale":
https://twitter.github.io/finagle/guide/Quickstart.html https://twitter.github.io/finagle/guide/Quickstart.html
- michaelmcmillan 9y agoNot sure if I would use Twitter as a success story for handling scale. Not exactly the poster boy of reliable software.
- ianamartin 9y agoReally good; web scale; reliable. Pick two.
- SEJeff 9y agoYou're kidding, right? After they ditched ruby and wrote finagle, they've been super reliable. They've got one of the biggest Apache Mesos clusters in the world (second only to Apple's Siri backend per Apple employees who presented at MesosCon) and run it all with Apache Aurora, a really nice mesos framework for long running jobs. Twitter, Soundcloud, Salesforce, Pinterest, FitBit, Tumblr, Box, Foursquare... What do they all have in common? They all run finagle in production. For java, it is about as battletested and as good as you'll get unless you want to write your own. Personally, I'm more of a golang and python developer, but respect where it is due. Twitter is massively more scalable than the overwhelmingly majority of the sites on the internet and they've gotten their act together since abandoning Ruby and the fail whale.
- xstartup 9y agoIs it Java or Scala? I only see Scala on this page: https://twitter.github.io/finagle/guide/Quickstart.html#a-minimal-http-server https://twitter.github.io/finagle/guide/Quickstart.html#a-mi...
- SEJeff 9y agoFinagle proper is written in Scala, but you can use java as well for building services with it: https://github.com/jghoman/finagle-java-example https://github.com/jghoman/finagle-java-example
- twic 9y ago"zero dependencies" was an essential feature of this. Finagle would be a dependency. And, according to a quick 'gradle distZip', it drags in a further 49 transitive dependencies.
- SEJeff 9y agoThat seems sensible. Really cool project (and I didn't mean to piss on it), just wanted to point out that generally speaking, finagle is serious business and can be used already.