baichongyang 3 lat temu
rodzic
commit
3a102bdae2
7 zmienionych plików z 611 dodań i 27 usunięć
  1. 4 3
      Makefile
  2. BIN
      bin_rec
  3. 15 21
      conf/config.json.production
  4. 280 0
      conf/config.json.production.1
  5. 295 0
      pre.config
  6. 14 0
      push.sh
  7. 3 3
      src/main.go

+ 4 - 3
Makefile

@@ -3,8 +3,8 @@ BUILD=go build -mod vendor
 DOCKER?=docker
 SOURCE_DIR=src
 BIN_NAME=bin_rec
-REGISTRY?=registry.cn-hangzhou.aliyuncs.com/ali-recommend
-DOCKER_TAG?=0.0.9
+REGISTRY?=registry-vpc.cn-hangzhou.aliyuncs.com/ali-recommend
+DOCKER_TAG?=0.0.11
 TEMP_DIR_SERVER:=$(shell mktemp -d)
 
 .PHONY: setup build clean
@@ -16,10 +16,11 @@ build:
 release:
 	cd ${SOURCE_DIR}; CGO_ENABLED=0 GOOS=linux ${BUILD} -o ${BIN_NAME} .
 	cd ${SOURCE_DIR}; mv ${BIN_NAME} ${TEMP_DIR_SERVER}/appd
+	docker login --username=stuuudys --password=Qingqu@2019   registry-vpc.cn-hangzhou.aliyuncs.com/ali-recommend
 	cp docker/Dockerfile ${TEMP_DIR_SERVER}/
 	cp conf/config.json.production ${TEMP_DIR_SERVER}/config.json
 	cd ${TEMP_DIR_SERVER}  &&  ${DOCKER} build  -t ${REGISTRY}/${BIN_NAME}:${DOCKER_TAG} .
-	${DOCKER} push ${REGISTRY}/${BIN_NAME}:${DOCKER_TAG}
+	${DOCKER} push ${REGISTRY}/${BIN_NAME}:${DOCKER_TAG} 
 
 clean:
 	-rm -rf ${BIN_NAME}

BIN
bin_rec


+ 15 - 21
conf/config.json.production

@@ -22,18 +22,18 @@
         }
     },
     {
-        "Name": "ItemStateFilter",
+        "Name": "ItemViewStateFilter",
         "FilterType": "ItemStateFilter",
         "ItemStateDaoConf":{
             "AdapterType": "hologres",
             "HologresName": "wx-holo",
-            "HologresTableName": "public.rec_item_status",
+            "HologresTableName": "longvideo.dwd_mdm_item_video_stat",
             "ItemFieldName" : "\"video_id\"",
-            "SelectFields" :"app_recommend_status, audit_status,video_status, pwd_status,charge"
+            "SelectFields" :"app_rec_status, audit_status,open_status,encryption_status,payment_status,transcoding_status"
         },
         "FilterParams" :[
             {
-                "Name" : "app_recommend_status",
+                "Name" : "app_rec_status",
                 "Type" : "int",
                 "Operator" : "in",
                 "Value" : [-6, 1, 10]
@@ -45,22 +45,28 @@
                 "Value" : 5
             },
             {
-                "Name" : "video_status",
+                "Name" : "open_status",
                 "Type" : "int",
                 "Operator" : "equal",
                 "Value" : 1
             },
             {
-                "Name" : "pwd_status",
+                "Name" : "encryption_status",
                 "Type" : "int",
                 "Operator" : "equal",
                 "Value" : 0
             },
             {
-                "Name" : "charge",
+                "Name" : "payment_status",
                 "Type" : "int",
                 "Operator" : "equal",
                 "Value" : 0
+            },
+            {
+                "Name" : "transcoding_status",
+                "Type" : "int",
+                "Operator" : "equal",
+                "Value" : 3
             }
         ]
     },
@@ -197,7 +203,7 @@
 	  "default": [
 		"UniqueFilter",
         "UserExposureFilter",
-        "ItemStateFilter",
+        "ItemViewStateFilter",
         "ItemDurationFilter",
         "PriorityAdjustCountFilter"
 	  ]
@@ -281,20 +287,8 @@
                     "FeatureStore":"user"
                 }
               ]
-            },
-            {
-                "FeatureDaoConf": {
-                    "AdapterType": "hologres",
-                    "HologresName": "wx-holo",
-                    "ItemFeatureKeyName" :"id",
-                    "FeatureKey": "item:id",
-                    "HologresTableName": "wx_video",
-                    "ItemSelectFields":"id, uid, total_time",
-                    "FeatureStore":"item"
-                },
-                "Features" :[
-                ]
             }
+            
           ]
         }
 	},

+ 280 - 0
conf/config.json.production.1

@@ -0,0 +1,280 @@
+{
+	"RunMode": "product",
+	"ListenConf": {
+	  "HttpAddr": "",
+	  "HttpPort": 8000
+	},
+	"ABTestConf": {
+	  "Host": "http://1894469520484605.vpc.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/tzld_pairec_experiment",
+	  "Token": "MDc2MDc0N2E5YTVjMDc0MGE0YjNkZmRiOGQwMzBjYjYxY2U0MDNlNQ=="
+	},
+	"FilterConfs": [
+    {
+        "Name": "UserExposureFilter",
+        "FilterType": "User2ItemExposureFilter",
+        "MaxItems": 100,
+        "TimeInterval": 172800,
+        "WriteLog": true,
+        "DaoConf":{
+            "AdapterType": "hologres",
+            "HologresName": "wx-holo",
+            "HologresTableName": "rec_exposure_history"
+        }
+    },
+    {
+        "Name": "ItemViewStateFilter",
+        "FilterType": "ItemStateFilter",
+        "ItemStateDaoConf":{
+            "AdapterType": "hologres",
+            "HologresName": "wx-holo",
+            "HologresTableName": "longvideo.dwd_mdm_item_video_stat",
+            "ItemFieldName" : "\"video_id\"",
+            "SelectFields" :"app_rec_status, audit_status,open_status,encryption_status,payment_status,transcoding_status"
+        },
+        "FilterParams" :[
+            {
+                "Name" : "app_rec_status",
+                "Type" : "int",
+                "Operator" : "in",
+                "Value" : [-6, 1, 10]
+            },
+            {
+                "Name" : "audit_status",
+                "Type" : "int",
+                "Operator" : "equal",
+                "Value" : 5
+            },
+            {
+                "Name" : "open_status",
+                "Type" : "int",
+                "Operator" : "equal",
+                "Value" : 1
+            },
+            {
+                "Name" : "encryption_status",
+                "Type" : "int",
+                "Operator" : "equal",
+                "Value" : 0
+            },
+            {
+                "Name" : "payment_status",
+                "Type" : "int",
+                "Operator" : "equal",
+                "Value" : 0
+            },
+            {
+                "Name" : "transcoding_status",
+                "Type" : "int",
+                "Operator" : "equal",
+                "Value" : 3
+            }
+        ]
+    },
+    {
+        "Name": "PriorityAdjustCountFilter",
+        "FilterType": "PriorityAdjustCountFilter",
+        "AdjustCountConfs" :[
+        {
+            "RecallName" :"U2IRecall",
+            "Count" :200,
+            "Type" : "accumulator"
+        },
+        {
+            "RecallName" :"SwingU2IRecall",
+            "Count" :400,
+            "Type" : "accumulator"
+        },
+        {
+            "RecallName" :"UserGroupHotRecall",
+            "Count" :450,
+            "Type" : "accumulator"
+        },
+        {
+            "RecallName" :"UserGlobalHotRecall",
+            "Count" :500,
+            "Type" : "accumulator"
+        },
+        {
+            "RecallName" :"ColdStartRecall",
+            "Count" :600,
+            "Type" : "accumulator"
+        }
+        ]
+    }
+	],
+	"RecallConfs": [
+        {
+          "Name":"U2IRecall",
+          "RecallType": "UserCustomRecall",
+          "RecallCount" :1000,
+          "DaoConf":{
+            "AdapterType": "hologres",
+            "HologresName": "wx-holo",
+            "HologresTableName": "rec_etrec_u2i2i_score"
+          }
+        },
+        {
+          "Name":"SwingU2IRecall",
+          "RecallType": "UserCustomRecall",
+          "RecallCount" :1000,
+          "DaoConf":{
+            "AdapterType": "hologres",
+            "HologresName": "wx-holo",
+            "HologresTableName": "rec_swing_u2i2i_score"
+          }
+        },
+        {
+          "Name":"UserGroupHotRecall",
+          "RecallType": "UserGroupHotRecall",
+          "RecallCount" :500,
+          "Triggers": [
+            {
+              "TriggerKey": "machineinfo_platform"
+            },
+            {
+              "TriggerKey": "province"
+            },
+            {
+              "TriggerKey": "gender"
+            }
+          ],
+          "DaoConf":{
+                "AdapterType": "hologres",
+                "HologresName": "wx-holo",
+                "HologresTableName": "rec_group_hotness_score"
+          }
+        },
+        {
+          "Name":"UserGlobalHotRecall",
+          "RecallType": "UserGlobalHotRecall",
+          "RecallCount" :500,
+          "CacheAdapter": "localCache",
+          "CacheTime": 600,
+          "CacheConfig": "{\"defaultExpiration\":600, \"cleanupInterval\":600}",
+          "DaoConf":{
+                "AdapterType": "hologres",
+                "HologresName": "wx-holo",
+                "HologresTableName": "rec_global_hotness_score"
+          }
+        },
+        {
+          "Name":"ColdStartRecall",
+          "RecallType": "ColdStartRecall",
+          "RecallCount" :500,
+          "CacheAdapter": "localCache",
+          "CacheTime": 120,
+          "CacheConfig": "{\"defaultExpiration\":600, \"cleanupInterval\":300}",
+          "ColdStartDaoConf":{
+                "AdapterType": "hologres",
+                "HologresName": "wx-holo",
+                "HologresTableName": "longvideo.wx_video",
+                "WhereClause" : "gmt_create >= ${time}",
+                "PrimaryKey" : "id",
+                "TimeInterval" : 86400
+          }
+        }
+	],
+	"SortNames": {
+	  "default": [
+         "ItemRankScore",
+         "VideoMixSort"
+	  ]
+	},
+	"FilterNames": {
+	  "default": [
+		"UniqueFilter",
+        "UserExposureFilter",
+        "ItemViewStateFilter",
+        "PriorityAdjustCountFilter"
+	  ]
+	},
+	"AlgoConfs": [
+         {
+       "Name": "sv_dbmtl",
+       "Type": "EAS",
+       "EasConf": {
+         "Processor": "EasyRec",
+         "Timeout": 500,
+         "ResponseFuncName": "easyrecMutValResponseFunc",
+         "Url": "http://1894469520484605.vpc.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/sv_dbmtl",
+         "Auth": "MmE2NWFkYTAwM2RmM2I3ODc1MTBjZjk0MjViNThkNjA0ODFhMjNjNA=="
+        }
+      }
+	],
+	"HologresConfs": {
+		"wx-holo" :{
+			"DSN": "postgres://LTAI5t6Wu7AEgtmpY7ksBT6C:xZT7RCgaAT2u1xMdHtrdXre1NMP44W@hgprecn-cn-7pp28y18c00c-cn-hangzhou-vpc.hologres.aliyuncs.com:80/dssm?sslmode=disable&connect_timeout=1"
+		}
+	},
+	"KafkaConfs": {
+	},
+	"RedisConfs": {
+        "redis-cache" :{
+           "Host": "r-bp1lwv3bjpv6zee8zw.redis.rds.aliyuncs.com",
+           "Port": 6379,
+           "Password": "alirecommend@2021",
+           "ConnectTimeout": 1000,
+           "ReadTimeout": 100
+        }
+	},
+	"SceneConfs": {
+        "video_feed":{
+            "default":{
+                "RecallNames":["UserGroupHotRecall", "U2IRecall", "UserGlobalHotRecall", "SwingU2IRecall", "ColdStartRecall"]
+            }
+        }
+	},
+	"LogConf": {
+	  "RetensionDays": 3,
+	  "DiskSize": 20,
+	  "LogLevel": "INFO"
+	},
+	"RankConf": {
+         "video_feed": {
+              "RankAlgoList": [
+                "sv_dbmtl"
+              ],
+              "RankScore": "${sv_dbmtl_probs_is_videoRealPlay} + ${sv_dbmtl_y_playduration} + ${sv_dbmtl_y_play_rate} + 0.5 * ${sv_dbmtl_probs_is_videoShareFriend_videoShareH5_videoFavorite}",
+              "BatchCount" : 100,
+              "Processor": "EasyRec"
+        }
+	},
+	"FeatureConfs": {
+        "video_feed":{
+           "AsynLoadFeature": true,
+           "FeatureLoadConfs" :[
+            {
+              "FeatureDaoConf": {
+                "AdapterType": "hologres",
+                "HologresName": "wx-holo",
+                "FeatureKey": "user:uid",
+                "UserFeatureKeyName": "mid",
+                "HologresTableName": "mid_all_feature",
+                "UserSelectFields": "*",
+                "FeatureStore": "user"
+              },
+              "Features": [
+                {
+                    "FeatureType":"new_feature",
+                    "FeatureName":"day_h",
+                    "Normalizer" : "hour_in_day",
+                    "FeatureStore":"user"
+                },
+                {
+                    "FeatureType":"new_feature",
+                    "FeatureName":"week_day",
+                    "Normalizer" : "weekday",
+                    "FeatureStore":"user"
+                }
+              ]
+            }
+            
+          ]
+        }
+	},
+    "ColdStartRankConfs" :{
+        "video_feed": {
+           "RecallName": "ColdStartRecall"
+        }
+    }
+ }

+ 295 - 0
pre.config

@@ -0,0 +1,295 @@
+{
+    "RunMode": "product",
+    "ListenConf": {
+      "HttpAddr": "",
+      "HttpPort": 8000
+    },
+    "ABTestConf": {
+      "Host": "http://1894469520484605.vpc.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/tzld_pairec_experiment",
+      "Token": "MDc2MDc0N2E5YTVjMDc0MGE0YjNkZmRiOGQwMzBjYjYxY2U0MDNlNQ=="
+    },
+    "FilterConfs": [
+    {
+        "Name": "UserExposureFilter",
+        "FilterType": "User2ItemExposureFilter",
+        "MaxItems": 100,
+        "TimeInterval": 172800,
+        "WriteLog": true,
+        "DaoConf":{
+            "AdapterType": "hologres",
+            "HologresName": "wx-holo",
+            "HologresTableName": "rec_exposure_history"
+        }
+    },
+    {
+        "Name": "ItemStateFilter",
+        "FilterType": "ItemStateFilter",
+        "ItemStateDaoConf":{
+            "AdapterType": "hologres",
+            "HologresName": "wx-holo",
+            "HologresTableName": "public.rec_item_status",
+            "ItemFieldName" : "\"video_id\"",
+            "SelectFields" :"app_recommend_status, audit_status,video_status, pwd_status,charge"
+        },
+        "FilterParams" :[
+            {
+                "Name" : "app_recommend_status",
+                "Type" : "int",
+                "Operator" : "in",
+                "Value" : [-6, 1, 10]
+            },
+            {
+                "Name" : "audit_status",
+                "Type" : "int",
+                "Operator" : "equal",
+                "Value" : 5
+            },
+            {
+                "Name" : "video_status",
+                "Type" : "int",
+                "Operator" : "equal",
+                "Value" : 1
+            },
+            {
+                "Name" : "pwd_status",
+                "Type" : "int",
+                "Operator" : "equal",
+                "Value" : 0
+            },
+            {
+                "Name" : "charge",
+                "Type" : "int",
+                "Operator" : "equal",
+                "Value" : 0
+            }
+        ]
+    },
+        {
+            "Name": "ItemDurationFilter",
+            "FilterType": "ItemStateFilter",
+            "ItemStateDaoConf":{
+                "AdapterType": "hologres",
+                "HologresName": "wx-holo",
+                "HologresTableName": "longvideo.wx_video",
+                "ItemFieldName" : "\"id\"",
+                "SelectFields" :"total_time"
+            },
+            "FilterParams" :[
+                {
+                    "Name" : "total_time",
+                    "Type" : "int",
+                    "Operator" : "greaterThan",
+                    "Value" : 120
+                }
+            ]
+        },
+    {
+        "Name": "PriorityAdjustCountFilter",
+        "FilterType": "PriorityAdjustCountFilter",
+        "AdjustCountConfs" :[
+        {
+            "RecallName" :"U2IRecall",
+            "Count" :200,
+            "Type" : "accumulator"
+        },
+        {
+            "RecallName" :"SwingU2IRecall",
+            "Count" :400,
+            "Type" : "accumulator"
+        },
+        {
+            "RecallName" :"UserGroupHotRecall",
+            "Count" :450,
+            "Type" : "accumulator"
+        },
+        {
+            "RecallName" :"UserGlobalHotRecall",
+            "Count" :500,
+            "Type" : "accumulator"
+        },
+        {
+            "RecallName" :"ColdStartRecall",
+            "Count" :600,
+            "Type" : "accumulator"
+        }
+        ]
+    }
+    ],
+    "RecallConfs": [
+        {
+          "Name":"U2IRecall",
+          "RecallType": "UserCustomRecall",
+          "RecallCount" :1000,
+          "DaoConf":{
+            "AdapterType": "hologres",
+            "HologresName": "wx-holo",
+            "HologresTableName": "rec_etrec_u2i2i_score"
+          }
+        },
+        {
+          "Name":"SwingU2IRecall",
+          "RecallType": "UserCustomRecall",
+          "RecallCount" :1000,
+          "DaoConf":{
+            "AdapterType": "hologres",
+            "HologresName": "wx-holo",
+            "HologresTableName": "rec_swing_u2i2i_score"
+          }
+        },
+        {
+          "Name":"UserGroupHotRecall",
+          "RecallType": "UserGroupHotRecall",
+          "RecallCount" :500,
+          "Triggers": [
+            {
+              "TriggerKey": "machineinfo_platform"
+            },
+            {
+              "TriggerKey": "province"
+            },
+            {
+              "TriggerKey": "gender"
+            }
+          ],
+          "DaoConf":{
+                "AdapterType": "hologres",
+                "HologresName": "wx-holo",
+                "HologresTableName": "rec_group_hotness_score"
+          }
+        },
+        {
+          "Name":"UserGlobalHotRecall",
+          "RecallType": "UserGlobalHotRecall",
+          "RecallCount" :500,
+          "CacheAdapter": "localCache",
+          "CacheTime": 600,
+          "CacheConfig": "{\"defaultExpiration\":600, \"cleanupInterval\":600}",
+          "DaoConf":{
+                "AdapterType": "hologres",
+                "HologresName": "wx-holo",
+                "HologresTableName": "rec_global_hotness_score"
+          }
+        },
+        {
+          "Name":"ColdStartRecall",
+          "RecallType": "ColdStartRecall",
+          "RecallCount" :500,
+          "CacheAdapter": "localCache",
+          "CacheTime": 120,
+          "CacheConfig": "{\"defaultExpiration\":600, \"cleanupInterval\":300}",
+          "ColdStartDaoConf":{
+                "AdapterType": "hologres",
+                "HologresName": "wx-holo",
+                "HologresTableName": "longvideo.wx_video",
+                "WhereClause" : "gmt_create >= ${time}",
+                "PrimaryKey" : "id",
+                "TimeInterval" : 86400
+          }
+        }
+    ],
+    "SortNames": {
+      "default": [
+         "ItemRankScore",
+         "VideoMixSort"
+      ]
+    },
+    "FilterNames": {
+      "default": [
+        "UniqueFilter",
+        "UserExposureFilter",
+        "ItemStateFilter",
+        "ItemDurationFilter",
+        "PriorityAdjustCountFilter"
+      ]
+    },
+    "AlgoConfs": [
+         {
+       "Name": "sv_dbmtl",
+       "Type": "EAS",
+       "EasConf": {
+         "Processor": "EasyRec",
+         "Timeout": 500,
+         "ResponseFuncName": "easyrecMutValResponseFunc",
+         "Url": "http://1894469520484605.vpc.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/sv_dbmtl",
+         "Auth": "MmE2NWFkYTAwM2RmM2I3ODc1MTBjZjk0MjViNThkNjA0ODFhMjNjNA=="
+        }
+      }
+    ],
+    "HologresConfs": {
+        "wx-holo" :{
+            "DSN": "postgres://LTAI5t6Wu7AEgtmpY7ksBT6C:xZT7RCgaAT2u1xMdHtrdXre1NMP44W@hgprecn-cn-7pp28y18c00c-cn-hangzhou-vpc.hologres.aliyuncs.com:80/dssm?sslmode=disable&connect_timeout=1"
+        }
+    },
+    "KafkaConfs": {
+    },
+    "RedisConfs": {
+        "redis-cache" :{
+           "Host": "r-bp1lwv3bjpv6zee8zw.redis.rds.aliyuncs.com",
+           "Port": 6379,
+           "Password": "alirecommend@2021",
+           "ConnectTimeout": 1000,
+           "ReadTimeout": 100
+        }
+    },
+    "SceneConfs": {
+        "video_feed":{
+            "default":{
+                "RecallNames":["UserGroupHotRecall", "U2IRecall", "UserGlobalHotRecall", "SwingU2IRecall", "ColdStartRecall"]
+            }
+        }
+    },
+    "LogConf": {
+      "RetensionDays": 3,
+      "DiskSize": 20,
+      "LogLevel": "INFO"
+    },
+    "RankConf": {
+         "video_feed": {
+              "RankAlgoList": [
+                "sv_dbmtl"
+              ],
+              "RankScore": "${sv_dbmtl_probs_is_videoRealPlay} + ${sv_dbmtl_y_playduration} + ${sv_dbmtl_y_play_rate} + 0.5 * ${sv_dbmtl_probs_is_videoShareFriend_videoShareH5_videoFavorite}",
+              "BatchCount" : 100,
+              "Processor": "EasyRec"
+        }
+    },
+    "FeatureConfs": {
+        "video_feed":{
+           "AsynLoadFeature": true,
+           "FeatureLoadConfs" :[
+            {
+              "FeatureDaoConf": {
+                "AdapterType": "hologres",
+                "HologresName": "wx-holo",
+                "FeatureKey": "user:uid",
+                "UserFeatureKeyName": "mid",
+                "HologresTableName": "mid_all_feature",
+                "UserSelectFields": "*",
+                "FeatureStore": "user"
+              },
+              "Features": [
+                {
+                    "FeatureType":"new_feature",
+                    "FeatureName":"day_h",
+                    "Normalizer" : "hour_in_day",
+                    "FeatureStore":"user"
+                },
+                {
+                    "FeatureType":"new_feature",
+                    "FeatureName":"week_day",
+                    "Normalizer" : "weekday",
+                    "FeatureStore":"user"
+                }
+              ]
+            }
+            
+          ]
+        }
+    },
+    "ColdStartRankConfs" :{
+        "video_feed": {
+           "RecallName": "ColdStartRecall"
+        }
+    }
+ }
+

+ 14 - 0
push.sh

@@ -0,0 +1,14 @@
+DOCKER=docker
+SOURCE_DIR=src
+BIN_NAME=bin_rec
+REGISTRY=registry.cn-hangzhou.aliyuncs.com/ali-recommend
+DOCKER_TAG=0.0.10
+TEMP_DIR_SERVER:=$(shell mktemp -d)
+
+cd ${SOURCE_DIR}; mv ${BIN_NAME} ${TEMP_DIR_SERVER}/appd
+cp docker/Dockerfile ${TEMP_DIR_SERVER}/
+cp conf/config.json.production ${TEMP_DIR_SERVER}/config.json
+cd ${TEMP_DIR_SERVER}  &&  ${DOCKER} build  -t ${REGISTRY}/${BIN_NAME}:${DOCKER_TAG} .
+${DOCKER} push ${REGISTRY}/${BIN_NAME}:${DOCKER_TAG}
+
+

+ 3 - 3
src/main.go

@@ -3,11 +3,11 @@ package main
 import (
 	"tzld_rec/src/controller"
 	"tzld_rec/src/sort"
-	"tzld_rec/src/filter"
+	//"tzld_rec/src/filter"
 
 	"gitlab.alibaba-inc.com/pai_biz_arch/pairec"
 	psort "gitlab.alibaba-inc.com/pai_biz_arch/pairec/sort"
-	pfilter "gitlab.alibaba-inc.com/pai_biz_arch/pairec/filter"
+	//pfilter "gitlab.alibaba-inc.com/pai_biz_arch/pairec/filter"
 	"gitlab.alibaba-inc.com/pai_biz_arch/pairec/web/proxy"
 )
 
@@ -15,7 +15,7 @@ func main() {
 	pairec.AddStartHook(func() error {
 		psort.RegisterSort("VideoMixSort", sort.NewVideoMixSort())
 		psort.RegisterSort("UniqueUploaderSort", sort.UniqueUploaderSort())
-		pfilter.RegisterFilter("DrationFilter", filter.NewDurationFilter())
+		//pfilter.RegisterFilter("DrationFilter", filter.NewDurationFilter())
 		return nil
 	})