mongo-scala-driver
Elastic4s
mongo-scala-driver | Elastic4s | |
---|---|---|
- | 2 | |
289 | 1,633 | |
- | - | |
1.7 | 8.7 | |
over 2 years ago | 7 days ago | |
Scala | Scala | |
Apache License 2.0 | 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.
mongo-scala-driver
We haven't tracked posts mentioning mongo-scala-driver yet.
Tracking mentions began in Dec 2020.
Elastic4s
-
How to decouple logic from Scala future?
Here's an example from a library I've used: https://github.com/sksamuel/elastic4s/blob/master/elastic4s-core/src/main/scala/com/sksamuel/elastic4s/Executor.scala. Then you can provide your own Executor implementation and it will be used instead of the FutureExecutor. You can check out the top level of that repo to see how much complexity this introduces.
-
Abstraction layers over the various JSON libraries?
Seems like the accepted solution is to have a separate subproject for each of the ~5 major json libraries. For example see elastic4s (elastic4s-jackson, elastic4s-circe, ...) or akka-http-json.
What are some alternatives?
doobie - Functional JDBC layer for Scala.
Slick - Slick (Scala Language Integrated Connection Kit) is a modern database query and access library for Scala
ReactiveMongo - :leaves: Non-blocking, Reactive MongoDB Driver for Scala
ReactiveCouchbase - Play 2 plugin for ReactiveCouchbase
scala-sql - scala SQL api
Shade - Memcached client for Scala
Salat - Salat is a simple serialization library for case classes.
scala-redis - A scala library for connecting to a redis server, or a cluster of redis nodes using consistent hashing on the client side.
Scruid - Scala + Druid: Scruid. A library that allows you to compose queries in Scala, and parse the result back into typesafe classes.