惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog RSS Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
G
GRAHAM CLULEY
Hacker News - Newest:
Hacker News - Newest: "LLM"
C
Cybersecurity and Infrastructure Security Agency CISA
Simon Willison's Weblog
Simon Willison's Weblog
Latest news
Latest news
C
CERT Recently Published Vulnerability Notes
T
Threatpost
V
Vulnerabilities – Threatpost
AWS News Blog
AWS News Blog
Blog — PlanetScale
Blog — PlanetScale
C
Cisco Blogs
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
U
Unit 42
The Register - Security
The Register - Security
T
The Blog of Author Tim Ferriss
Stack Overflow Blog
Stack Overflow Blog
The Hacker News
The Hacker News
AI
AI
Project Zero
Project Zero
Scott Helme
Scott Helme
S
Securelist
Vercel News
Vercel News
GbyAI
GbyAI
S
Security @ Cisco Blogs
I
InfoQ
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Check Point Blog
Forbes - Security
Forbes - Security
Google Online Security Blog
Google Online Security Blog
W
WeLiveSecurity
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
H
Heimdal Security Blog
G
Google Developers Blog
D
DataBreaches.Net
The Last Watchdog
The Last Watchdog
D
Docker
MyScale Blog
MyScale Blog
T
Tor Project blog
Cyberwarzone
Cyberwarzone
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
T
Tenable Blog
T
Threat Research - Cisco Blogs
Cisco Talos Blog
Cisco Talos Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 聂微东
月光博客
月光博客

博客园 - GDOUJKZZ

.net 8程序如何在信创的arm64架构下运行【nuget包如何判断能不能在arm架构跑呢】 【AI】第五篇 大话说神经网络第一篇 docker 目录下的overlay2层的太多,导致占用大量占用磁盘空间怎么办呢。【docker目录清理】 【AI】第四篇 什么是神经网络 【AI】第三篇 RAG是什么 【AI】前置篇 Ai Agent的全貌概览 【AI】第二篇 为什么会有神经网络 【AI】第一篇 语言模型的前世 n-gram的简单介绍 【一】AI赋能 javascript里面的var let const关键字区别和使用 学习心态 从应用开发转到大数据开发 一分钟RequireJS介绍 .NET 6 在小并发下如何生成唯一单据号 垃圾回收机制简单理解 NPOI导出大量数据的避免OOM解决方案【SXSSFWorkbook】 递归有环问题解决方案 C# 使用NPOI处理Excel模板-【前面部分固定,中间是动态的几行,尾部是固定的部分】 高并发的场景下,如何保证生产者投递到消息中间件的消息不丢失
【AI应用】【声纹识别】一、mini io 来构建高可用的文件存储方案
GDOUJKZZ · 2026-01-22 · via 博客园 - GDOUJKZZ

  今天甲方这边提了一个需求,希望把很多的录音文件(里面是噪声),交给AI识别来分析到底是什么类型的声音,从而进行自动的溯源。

      那么先解决甲方的文件存储的问题,录音文件很多,一年下来50T左右。考虑到大部分文件除了给AI学习使用之后,业务上一般也就访问最近一到两个月的数据。

      所以考虑采用Mini IO双层存储的方案

     image

      Mini IO 自迁移策略

# lifecycle_migration.py
import boto3
from datetime import datetime, timedelta
from minio import Minio
from minio.lifecycleconfig import LifecycleConfig, Rule, Expiration, Filter

class StorageManager:
    def __init__(self):
        # 连接两个MinIO实例
        self.hot_client = Minio(
            "hot-minio:9000",
            access_key="hot-access-key",
            secret_key="hot-secret-key",
            secure=False
        )
        self.cold_client = Minio(
            "cold-minio:9000",
            access_key="cold-access-key",
            secret_key="cold-secret-key",
            secure=False
        )
    
    def auto_migrate_old_files(self):
        """自动迁移30天前的文件到冷存储"""
        # 1. 扫描热存储中30天前的文件
        objects = self.hot_client.list_objects("recordings", recursive=True)
        
        for obj in objects:
            if self.is_older_than(obj.last_modified, days=30):
                # 2. 复制到冷存储
                self.copy_to_cold_storage(obj.object_name)
                
                # 3. 从热存储删除(或设置标记)
                self.hot_client.remove_object("recordings", obj.object_name)
                
                print(f"Migrated: {obj.object_name}")

  还要集成AI分析的功能。

       AI的声纹识别后面再讲