斯卡拉框架的REST API服务器? [英] Scala framework for a Rest API Server?

查看:120
本文介绍了斯卡拉框架的REST API服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在思考将我们的REST API服务器(它是Web服务中,在Symfony的PHP)到斯卡拉以下几个原因:速度快,无开销,更少的CPU,少code,可扩展性,等等。我没知道斯卡拉,直到数天前,但我一直在享受我一直在学习这些天,斯卡拉书和所有的博客文章和问题(它不是那么难看!)

We are thinking on moving our Rest API Server (it is inside the web service, on Symfony PHP) to Scala for several reasons: speed, no overhead, less CPU, less code, scalability, etc. I didn't know Scala until several days ago but I've been enjoying what I've been learning these days with the Scala book and all the blog posts and questions (it's not so ugly!)

我有以下选择:


  • 从从头开始构建的REST API服务器

  • 使用如了Scalatra
  • 一个微小的Scala Web框架
  • 使用电梯

有些事情,我将不得不使用:HTTP请求,JSON输出,MySQL的(数据),OAuth的,内存缓存(高速缓存),日志文件上传,统计(也许Redis的)

Some things that I will have to use: HTTP requests, JSON output, MySQL (data), OAuth, Memcache (cache), Logs, File uploads, Stats (maybe Redis).

你有什么建议?

推荐答案

阿卡IO

喷雾

DropWizard

REST.li

http4s

蓝眼睛

欺骗 - 容错,协议无关的RPC系统

Finagle - A fault tolerant, protocol-agnostic RPC system

玩!即插即用迷你!文章

提起 /电梯JSON.-可以很方便地提供REST服务。

Lift / Lift JSON.- makes it simple to provide REST services.

这篇关于斯卡拉框架的REST API服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆