c******n 发帖数: 16666 | |
e*******o 发帖数: 4654 | 2 没用过,要用我也用go版的。
https://github.com/nuveo/prest
There is the PostgREST written in haskell, keep a haskell software in
production is not easy job, with this need that was born the pREST. |
c******n 发帖数: 16666 | 3 嗯 看到原版介绍里的haskell我也颤抖了下
【在 e*******o 的大作中提到】 : 没用过,要用我也用go版的。 : https://github.com/nuveo/prest : There is the PostgREST written in haskell, keep a haskell software in : production is not easy job, with this need that was born the pREST.
|
w********m 发帖数: 1137 | 4 没怎么用,不过感觉很不错。
用的都是是编译的binary,是haskell或者其它语言无所谓。
2K的TPS,性能一般是够了。
另外,postgrest用了jwt,比parse server的明文强多了。
用postgres作数据库是对的。postgres有编程能力,现在还能支持row level security。
把authorization/authentication的逻辑移到DB的话,优点是DB的结构比较简单。 |
m*****n 发帖数: 3575 | 5 postgres比较复杂,但是搞会了用起来还是很爽的,特别是各种trigger可以实现智能 |