All Projects → frees-io → Freestyle

frees-io / Freestyle

Licence: apache-2.0
A cohesive & pragmatic framework of FP centric Scala libraries

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to Freestyle

Dockerfiles
50+ DockerHub public images for Docker & Kubernetes - Hadoop, Kafka, ZooKeeper, HBase, Cassandra, Solr, SolrCloud, Presto, Apache Drill, Nifi, Spark, Consul, Riak, TeamCity and DevOps tools built on the major Linux distros: Alpine, CentOS, Debian, Fedora, Ubuntu
Stars: ✭ 847 (+35.09%)
Mutual labels:  kafka, spark, cassandra
Iot Traffic Monitor
Stars: ✭ 131 (-79.11%)
Mutual labels:  kafka, spark, cassandra
Nagios Plugins
450+ AWS, Hadoop, Cloud, Kafka, Docker, Elasticsearch, RabbitMQ, Redis, HBase, Solr, Cassandra, ZooKeeper, HDFS, Yarn, Hive, Presto, Drill, Impala, Consul, Spark, Jenkins, Travis CI, Git, MySQL, Linux, DNS, Whois, SSL Certs, Yum Security Updates, Kubernetes, Cloudera etc...
Stars: ✭ 1,000 (+59.49%)
Mutual labels:  kafka, redis, cassandra
Stream Reactor
Streaming reference architecture for ETL with Kafka and Kafka-Connect. You can find more on http://lenses.io on how we provide a unified solution to manage your connectors, most advanced SQL engine for Kafka and Kafka Streams, cluster monitoring and alerting, and more.
Stars: ✭ 753 (+20.1%)
Mutual labels:  kafka, redis, cassandra
Whatsmars
Java生态研究(Spring Boot + Redis + Dubbo + RocketMQ + Elasticsearch)🔥🔥🔥🔥🔥
Stars: ✭ 1,389 (+121.53%)
Mutual labels:  rpc, kafka, redis
Es Cqrs Shopping Cart
A resilient and scalable shopping cart system designed using Event Sourcing (ES) and Command Query Responsibility Segregation (CQRS)
Stars: ✭ 19 (-96.97%)
Mutual labels:  kafka, cassandra, functional-programming
Flink Learning
flink learning blog. http://www.54tianzhisheng.cn/ 含 Flink 入门、概念、原理、实战、性能调优、源码解析等内容。涉及 Flink Connector、Metrics、Library、DataStream API、Table API & SQL 等内容的学习案例,还有 Flink 落地应用的大型项目案例(PVUV、日志存储、百亿数据实时去重、监控告警)分享。欢迎大家支持我的专栏《大数据实时计算引擎 Flink 实战与性能优化》
Stars: ✭ 11,378 (+1714.67%)
Mutual labels:  kafka, spark, redis
Szt Bigdata
深圳地铁大数据客流分析系统🚇🚄🌟
Stars: ✭ 826 (+31.74%)
Mutual labels:  kafka, spark, redis
Gimel
Big Data Processing Framework - Unified Data API or SQL on Any Storage
Stars: ✭ 216 (-65.55%)
Mutual labels:  kafka, spark, cassandra
Firecamp
Serverless Platform for the stateful services
Stars: ✭ 194 (-69.06%)
Mutual labels:  kafka, redis, cassandra
Logisland
Scalable stream processing platform for advanced realtime analytics on top of Kafka and Spark. LogIsland also supports MQTT and Kafka Streams (Flink being in the roadmap). The platform does complex event processing and is suitable for time series analysis. A large set of valuable ready to use processors, data sources and sinks are available.
Stars: ✭ 97 (-84.53%)
Mutual labels:  kafka, spark, cassandra
Mu Scala
Mu is a purely functional library for building RPC endpoint based services with support for RPC and HTTP/2
Stars: ✭ 266 (-57.58%)
Mutual labels:  rpc, monads, functional-programming
Spark Structured Streaming Examples
Spark Structured Streaming / Kafka / Cassandra / Elastic
Stars: ✭ 168 (-73.21%)
Mutual labels:  kafka, spark, cassandra
Thunder
⚡️ Nepxion Thunder is a distribution RPC framework based on Netty + Hessian + Kafka + ActiveMQ + Tibco + Zookeeper + Redis + Spring Web MVC + Spring Boot + Docker 多协议、多组件、多序列化的分布式RPC调用框架
Stars: ✭ 204 (-67.46%)
Mutual labels:  rpc, kafka, redis
Kafka Connect Ui
Web tool for Kafka Connect |
Stars: ✭ 388 (-38.12%)
Mutual labels:  kafka, redis, cassandra
Spring Boot Study
SpringBoot框架源码实战(已更新到springboot2版本实现)~基本用法,Rest,Controller,事件监听,连接数据库MySQL,jpa,redis集成,mybatis集成(声明式与xml两种方式~对应的添删查改功能),日志处理,devtools配置,拦截器用法,资源配置读取,测试集成,Web层实现请求映射,security安全验证,rabbitMq集成,kafka集成,分布式id生成器等。项目实战:https://github.com/hemin1003/yfax-parent 已投入生产线上使用
Stars: ✭ 440 (-29.82%)
Mutual labels:  kafka, redis
Cookbook
🎉🎉🎉JAVA高级架构师技术栈==任何技能通过 “刻意练习” 都可以达到融会贯通的境界,就像烹饪一样,这里有一份JAVA开发技术手册,只需要增加自己练习的次数。🏃🏃🏃
Stars: ✭ 428 (-31.74%)
Mutual labels:  kafka, redis
God Of Bigdata
专注大数据学习面试,大数据成神之路开启。Flink/Spark/Hadoop/Hbase/Hive...
Stars: ✭ 6,008 (+858.21%)
Mutual labels:  kafka, spark
Bdp Dataplatform
大数据生态解决方案数据平台:基于大数据、数据平台、微服务、机器学习、商城、自动化运维、DevOps、容器部署平台、数据平台采集、数据平台存储、数据平台计算、数据平台开发、数据平台应用搭建的大数据解决方案。
Stars: ✭ 456 (-27.27%)
Mutual labels:  spark, redis
Whyhaskellmatters
In this article I try to explain why Haskell keeps being such an important language by presenting some of its most important and distinguishing features and detailing them with working code examples. The presentation aims to be self-contained and does not require any previous knowledge of the language.
Stars: ✭ 418 (-33.33%)
Mutual labels:  monads, functional-programming

Build Status codecov.io Maven Central Latest version License Join the chat at https://gitter.im/47deg/freestyle GitHub Issues Scala.js

A Cohesive & Pragmatic Framework of FP centric Scala libraries

Documentation

Full documentation available at http://frees.io

Build purely functional applications and libraries

Build stack-safe purely functional applications and libraries that support parallel and sequential computations where declaration is decoupled from interpretation. Freestyle encourages programs built atop Free algebras that are interpreted at the edge of your application ensuring effects are localized and performed in a controlled environment. Applications built with Freestyle can be interpreted to any runtime semantics supported by the interpreter target type.

import freestyle.free._

@free trait Database {
  def get(id: UserId): FS[User]
}

@free trait Cache {
  def get(id: UserId): FS[User]
}

@module trait Persistence {
  val database: Database
  val cache: Cache
}

Automatic Dependency Injection

Freestyle includes all the implicit machinery necessary to achieve seamless dependency injection of @free and @module Algebras. Simply require any of your @free or @module trait as implicits where needed.

def storedUsers[F[_]]
    (userId: UserId)
    (implicit persistence: Persistence[F]): FreeS[F, (User, User)] = {
  import persistence._
  for {
    cachedUser <- cache.get(userId)
    persistentUser <- database.get(userId)
  } yield (cachedUser, persistentUser)
}

Ready to use integrations

Freestyle ships with ready to use algebras and convenient syntax extensions covering most of the application concerns such as persistence, configuration, logging, etc. In addition Freestyle includes commonly used FP effects stack such as option, error, reader, writer, state based on the capabilities of the target runtime interpreters.

def loadUser[F[_]]
  (userId: UserId)
  (implicit
    doobie: DoobieM[F],
    logging: LoggingM[F]): FreeS[F, User] = {
    import doobie.implicits._
    for {
      user <- (sql"SELECT * FROM User WHERE userId = $userId"
                .query[User]
                .unique
                .liftFS[F])
      _ <- logging.debug(s"Loaded User: ${user.userId}")
    } yield user
}

Modules

  • freestyle - Core module including building blocks for boilerplate free FP programs and apps over Free monads and cats.

  • effects - MTL style effects such as reader, writer, state, error, and more modeled as free algebras.

  • logging - A purely functional logging algebra over Verizon's Journal.

  • cache - A generic cache with in memory and redis based implementations.

Integrations

  • fetch - Integration with the Fetch library for efficient data access from heterogenous datasources.

  • fs2 - Integration to run fs2 Streams in Freestyle programs.

  • monix - Instances and utilities to interpret to monix.eval.Task.

  • slick - Embedding of DBIO actions in Freestyle programs.

  • doobie - Embedding of Doobie ConnectionIO actions in Freestyle programs.

  • http - Adapters and marshallers to run the Freestyle program in endpoint return types for akka-http, finch, http4s and play.

Freestyle Artifacts

Freestyle is compatible with both Scala JVM and Scala.js.

This project supports Scala 2.11 and 2.12. The project is based on scalameta.

To use the project, add the following to your build.sbt:

addCompilerPlugin("org.scalameta" % "paradise" % "3.0.0-M11" cross CrossVersion.full)

For Scala.jvm:

// required
libraryDependencies += "io.frees" %% "frees-core"               % "0.8.2"

// optional - effects and patterns
libraryDependencies += "io.frees" %% "frees-effects"            % "0.8.2"
libraryDependencies += "io.frees" %% "frees-async"              % "0.8.2"
libraryDependencies += "io.frees" %% "frees-async-cats-effect"  % "0.8.2"
libraryDependencies += "io.frees" %% "frees-async-guava"        % "0.8.2"
libraryDependencies += "io.frees" %% "frees-cache"              % "0.8.2"
libraryDependencies += "io.frees" %% "frees-config"             % "0.8.2"
libraryDependencies += "io.frees" %% "frees-logging"            % "0.8.2"

// optional - integrations
libraryDependencies += "io.frees" %% "frees-cache-redis"        % "0.8.2"
libraryDependencies += "io.frees" %% "frees-doobie"             % "0.8.2"
libraryDependencies += "io.frees" %% "frees-fetch"              % "0.8.2"
libraryDependencies += "io.frees" %% "frees-akka"               % "0.8.2"
libraryDependencies += "io.frees" %% "frees-finch"              % "0.8.2"
libraryDependencies += "io.frees" %% "frees-http-client"        % "0.8.2"
libraryDependencies += "io.frees" %% "frees-http4s"             % "0.8.2"
libraryDependencies += "io.frees" %% "frees-monix"              % "0.8.2"
libraryDependencies += "io.frees" %% "frees-play"               % "0.8.2"
libraryDependencies += "io.frees" %% "frees-slick"              % "0.8.2"
libraryDependencies += "io.frees" %% "frees-twitter-util"       % "0.8.2"

For Scala.js:

// required
libraryDependencies += "io.frees" %%% "frees-core"              % "0.8.2"

// optional - effects and patterns
libraryDependencies += "io.frees" %%% "frees-effects"           % "0.8.2"
libraryDependencies += "io.frees" %%% "frees-async"             % "0.8.2"
libraryDependencies += "io.frees" %%% "frees-async-cats-effect" % "0.8.2"
libraryDependencies += "io.frees" %%% "frees-async-fs2"         % "0.8.2"
libraryDependencies += "io.frees" %%% "frees-async-monix"       % "0.8.2"
libraryDependencies += "io.frees" %%% "frees-cache"             % "0.8.2"
libraryDependencies += "io.frees" %%% "frees-http-client"       % "0.8.2"
libraryDependencies += "io.frees" %%% "frees-logging"           % "0.8.2"

// optional - integrations
libraryDependencies += "io.frees" %%% "frees-fetch"             % "0.8.2"
libraryDependencies += "io.frees" %%% "frees-monix"             % "0.8.2"

Freestyle Examples

Commercial Support

47 Degrees offers commercial support for the Freestyle framework and associated technologies. To find out more, visit 47 Degrees' Open Source Support.

Copyright

Freestyle is designed and developed by 47 Degrees

Copyright (C) 2017-2018 47 Degrees. http://47deg.com

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].