一个好的远程调用服务(PRC)应该支持以下特性
- 服务发现
- 负载均衡(可配置策略)
- 限流(熔断)
- 鉴权
- 调用策略(重试,降级)
- 分布式追踪与性能监控
{ | |
repository(name: "996.ICU", owner: "996icu") { | |
id | |
issues(first: 50) { | |
totalCount | |
nodes { | |
id | |
title | |
body | |
bodyText |
一个好的远程调用服务(PRC)应该支持以下特性
case class Obj(val elems: (String, json)*) derives Eql | |
case class Arr(val elems: json*) | |
type json = Number | String | Obj | Arr | |
val s: json = Obj("a" -> 3, "b" -> "cd", "ar" -> Arr(1, "abc")) | |
println(s) |
[repositories] | |
#本地源 | |
local | |
# repox-ivy: http://repox.gtan.com:8078/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext] | |
# repox-maven: http://repox.gtan.com:8078/ | |
aliyun: http://maven.aliyun.com/nexus/content/groups/public/ | |
#添加国外源备用 | |
typesafe-ivy: https://dl.bintray.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext] | |
jboss-repository: http://repository.jboss.org/nexus/content/groups/public/ | |
sbt: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext] |
FROM nginx | |
# COPY nginx.conf /etc/nginx/conf.d/default.conf | |
ADD run-nginx.sh . | |
CMD ["bash", "run-nginx.sh"] |
Fetch the following csv files and get top 10 rating movies.
It follows the interface (trait) oriented programming style.
sdk install java 22.3.r19-grl
sdk use java 22.3.r19-grl
Build a persistent, high availability and low latency key-value storage engine for derived data. One of such use cases is feature store. These use cases share some common characteristics, that we could utililze to build a better performing database.
In summary, it's like a scalable cache engine.