Dimension scores are derived from public data and fields; weighted into the composite. Reference only.
Longevity is a persistence framework for Scala and NoSQL. Its core proposition is to let developers focus on the domain model rather than designing the database model first. According to the site, it stores persistent objects as JSON and adds the necessary database schema to maintain query performance. It also hides persistence concerns behind a unified API, reducing the maintenance burden of handwritten schemas, conversion layers between domain models and database models, and related integration tests.
In terms of functionality, Longevity provides Cassandra, MongoDB, SQLite, and in-memory backends, along with fully featured repositories. The API uses a finally tagless style and can work with Scala futures, IO monads, or a synchronous blocking approach. It supports streaming query results across four Scala streaming libraries and allows domain models to be built with standard Scala types such as case classes, options, sets, and lists. Its compile-time DSL can express keys, queries, and indexes. It also includes capabilities such as sharding/partitioning control, polymorphic traits, controlled vocabularies, optimistic locking, schema migration, test data generation, and integration testing against real databases.
The crawled text does not disclose pricing, licensing, company ownership, or commercial support information, so its business model cannot be determined. On the documentation side, the site lists a Feature List, Video Demo, User Manual, Getting Started, Scaladocs, Discussion Forum, and Resources, and it shows the package structure for the longevity 0.27.0 API. This suggests that the basic learning materials and API reference resources are fairly complete.
Its strengths are a domain-model-first approach, type safety, and relatively broad coverage of testing and migration capabilities. It is well suited to Scala backends that want to reduce repository-layer boilerplate in NoSQL scenarios. The drawbacks are also clear: the technology stack is highly focused on Scala, so non-Scala teams are unlikely to benefit much. Some capabilities are still listed as upcoming features, such as replacing the in-house reflection tool with shapeless/circe and first-class support for optional values. The page also does not show maintenance activity, licensing, or a long-term support strategy.
Longevity is better suited to teams using Scala with Cassandra, MongoDB, or SQLite that want to organize their persistence layer around DDD or domain models. If you only need a simple SQL ORM, cross-language SDKs, or a cloud-hosted database service, you may want to consider Slick, Doobie, Quill, or the official database drivers instead. The crawled text does not provide information about access from China, so network availability and payment methods cannot be confirmed.
⚠ This review is compiled from public sources and does not constitute a purchase recommendation. Verify all facts on the vendor's official site. Verify on longevityframework.org official site.
longevityframework.org is an Unknown Dev Tools provider. TG4G tracks its product information, an overall rating of 5.0/10, and a China-accessibility score of China direct-connect friendly. Click "Visit Official Site" to reach longevityframework.org directly.