Finagle
msdemos
Our great sponsors
Finagle | msdemos | |
---|---|---|
24 | 3 | |
8,753 | 13 | |
0.2% | - | |
7.1 | 0.0 | |
26 days ago | over 1 year ago | |
Scala | Jupyter Notebook | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Finagle
-
Features of Project Loom incorporated in Java 21
Not sure about now but a few years back the company I worked for was heavily vested in Finagle [1] using Future pools. I'm sure virtual threads would only enhance this framework. Also, Spring and it's reactive webflux would probably benefit as well [2].
[1] https://twitter.github.io/finagle/
[2] https://docs.spring.io/spring-framework/reference/web/webflu...
- Twitter Finagle: Backoff.scala
-
Twitter (re)Releases Recommendation Algorithm on GitHub
Don't really see how "enterprise scala" has anything to do with this, scala is meant to be parallelized , that's like it's whole thing with akka / actors / twitter's finagle (https://twitter.github.io/finagle/)
-
We switched from Scala 2 to Rust
So biased. Twitter dropping Scala3 is simply untrue, ticket is there and still is open https://github.com/twitter/finagle/issues/932
-
Introduction to Bazel for Scala developers
Thank you. I only took a quick look, but this looks like a goldmine of info if you are interested in using bazel to build a scala monorepo: https://github.com/twitter/finagle
-
Server Stack Options for Scala
Finagle
-
Elon: "[Twitter's] recommendation algorithm was using absolute block count, rather than percentile block count, causing accounts with many followers to be dumped, even if blocks were only 0.1% of followers."
And the engineering team are far from imbeciles because they built one of the worlds' best cache and RPC microservice components. As well as the fact that up until Musk took over the website was running just fine (other than your issue with product decisions).
-
Pretty incredible thread where Elon confuses how GraphQL works, thinks the Android client itself is making one thousand requests, and then publicly fires an employee who corrects him.
Bro it's their fucking project lolhttps://twitter.github.io/finagle/
-
Elon Musk publicly feuding with and firing his developers on Twitter
RPC generally means server side calls, probably this https://twitter.github.io/finagle/, and XHR is not RPC.
-
Pretending to know what you're talking about
not familiar with twitter internals but it would be atypical to use gql for internal communications even if you expose it as a public api. twitter also develops a widely-used RPC system https://github.com/twitter/finagle
msdemos
-
what library/framework should I use for backend development?
You're not confined to the usual suggestions below (play, http4s). There's a ton of options. (I wrote test cases using a bunch of different frameworks a few years ago at https://github.com/hohonuuli/msdemos). Having written services using a variety of frameworks in production, I would strongly suggest using one that auto-generates API docs (openapi, swagger) for you. That will save you a huge amount of time later on. For heavier services, like the one at https://fathomnet.org/, I tend to the Java side (Quarkus is my current top choice, but Micronaut and Helidon are both great). For everything else I use Scala. My go-to right now is tapir using a vertx backend. See https://tapir.softwaremill.com/
-
New to Scala, looking for REST API Framework recommendations.
I've put together simple examples (in Scala 3), that all do exactly the same thing, using various frameworks and benchmarked them. The source code is at https://github.com/hohonuuli/msdemos. For the record, I usually use Scalatra for Scala projects, Helidon or Micronaut for Java projects. If you're new and looking for something super simple, try out Cask or SparkJava.
-
Akka became the de-facto solution for Scala web development?
I've written sample apps in Scala 3 that all do the same thing at https://github.com/hohonuuli/msdemos using akka-http (some issues at the moment), cask, finatra (which doesn't work with Scala 3), helidon, http4s, javalin, scalatra, sparkjava, vertx, and zio-http. I wrote those as an exercise in understanding particular frameworks and benchmarking them. (I write a lot of microservices). You can peruse the code there to get a feel for what it takes to write a service in a particular framework
What are some alternatives?
gRPC - The Java gRPC implementation. HTTP/2 based RPC
Play - The Community Maintained High Velocity Web Framework For Java and Scala.
Netty - Netty project - an event-driven asynchronous network application framework
Finch.io - Scala combinator library for building Finagle HTTP services
OkHttp - Square’s meticulous HTTP client for the JVM, Android, and GraalVM.
Akka - Build highly concurrent, distributed, and resilient message-driven applications on the JVM
tapir - Declarative, type-safe web endpoints library
Finatra - Fast, testable, Scala services built on TwitterServer and Finagle
Lagom - Reactive Microservices for the JVM
Dubbo - The java implementation of Apache Dubbo. An RPC and microservice framework.
Async Http Client - Asynchronous Http and WebSocket Client library for Java