#Scala
共 3 篇文章
解决 Gatling 报错 j.n.ConnectException Connection refused 压测连接被拒修复
排查 使用 Scala/Java 现代压测框架 Gatling 执行阶梯上量时,模拟用户突发报 j.n.ConnectException: Connection refused 或 Cannot assign requested address,分析 TCP TIME_WAIT 与系统端口枯竭。
解决 Apache Spark 报错 Total size of serialized results is bigger 修复
排查 Spark 执行 collect() 抛出 SparkException: Total size of serialized results of 16 tasks is bigger than spark.driver.maxResultSize,优化驱动节点聚合。
解决 Akka Streams 报错 Stage failure Stream dead 阶段失败流终止修复
排查 Akka Streams / Pekko 处理数据流时,因单个元素解析异常导致整条拓扑流死亡停止处理数据,分析 Supervision Strategy 监督策略与 RestartSource 自愈。


