• 推荐接口压测报告


    背景:
    【推荐-策略】短视频推荐泛需求排序优化、Hometab儿童页、B站商业化资源推广
    【推荐-策略】短视频 homefeed排序、短视频相关推荐召回
    【长视频】hometab猜你喜欢个性化推荐
    【短视频】播放器tab FM 排序
    功能点:
    基于SpringBoot框架 httpclient框架开发的自动化脚本、测试覆盖提测rec_type 小流量id等 校验接口的全部返参字段
    测试结论:
    rec_type=20 23 result_items.score从高到底排序,result_items.score有0.0的情况
    rec_type=29 分数都为0
    rec_type=29 同一用户一个接口返回下,result_items.vip_info为0 1
    rec_type=20 result_items.vip_info均为""
    rec_type=7 dumisid=" " result_items.score从高到底排序,且有的score连续一样
    rec_type=20 dumisid=506084 result_items.score从高到底排序,result_items.score有0.0的情况(末尾5个)
    rec_type=20 dumisid=506085 result_items.score从高到底排序,result_items.score有0.0的情况(末尾5个)
    rec_type=20,dumisid=" " result_items.score从高到底排序,result_items.score有0.0的情况(末尾5个)
    rec_type=23 dumisid=506084 result_items.score从高到底排序,result_items.score有0.0的情况(末尾5个)
    rec_type=23 dumisid=506085 result_items.score从高到底排序,result_items.score有0.0的情况(末尾5个)
    rec_type=23 dumisid=" " result_items.score均为0.0的情况
    rec_type=29 result_items.item_id为1
    rec_type=29 dumisid= 所有分类 result_items.score==0.0
    性能测试:压测机器:2013 x86_64 GNU/Linux 、32核(top 按下1)
    左侧测试分支 右侧主干分支 
    线上流量:
    0.线上回放rs的流量的耗时数据
    a. 取线上3万个uid,回放线上流量570018条,测试rec_type为老类型7 13 20 23 24 26 
    小流量id以及基准桶,如图共20个文件
    1.所有的rec_type请求平均值all_t对比结果:all_t上升14.6ms,self_t上升2.2ms 需要Review
    2. rec_type=7 无小流量id 需要Review
    13. rec_type=24 小流量id=506104 不需要Review
    14. rec_type=24 小流量id=506105 不需要Review
    测试版本对比主干版本对每个小流量,使用全流量压测对比主干的结果:正常

  • 相关阅读:
    SpringBoot通过自定义注解实现日志打印
    小程序api(常用)
    小米玩机------MIUI里那些你可能不知道的冷知识
    SpringBoot2基础篇(二)—— 基础配置
    【高性能计算】NCNN源码解析笔记之
    洛谷P1607 Fair Shuttle G
    正则表达式在java里的运用
    离线部署uni-app,替换启动页
    Linux操作系统命令
    【postgresql】ERROR: cannot alter type of a column used by a view or rule
  • 原文地址:https://blog.csdn.net/weixin_42498050/article/details/138161698