切换导航
🛠️ 开发工具箱
首页
时间戳转换
JSON格式化
Base64互转
API测试
PDF转Word
图片压缩
AI翻译
心得分享
心得分享
分享开发心得和技术经验
Prometheus监控体系搭建指南
DevOps运维
2026-04-24 15:39
Prometheus监控体系搭建指南 在微服务和容器化架构中,监控是保障系统稳定运行的关键。Prometheus是目前最流行的开源监控方案,配合Grafana可以实现强大的可视化监控。本文将介绍Prometheus监控体系的搭建方法。 一、Prometheus核心概念 # prometheus.yml - 基础配置 global: scrape_interval: 15s evalu...
Nginx高性能配置详解
DevOps运维
2026-04-22 03:02
Nginx高性能配置详解 Nginx是目前最流行的Web服务器和反向代理,以其高性能、低内存消耗和丰富的功能而闻名。正确的配置可以让Nginx发挥出最大的性能,本文将介绍Nginx的关键配置优化策略。 一、基础性能优化 worker_processes auto; # 自动匹配CPU核心数 worker_rlimit_nofile 65535; # 提高文件描述符...
Kubernetes入门与实战部署
DevOps运维
2026-04-20 11:48
Kubernetes入门与实战部署 Kubernetes(K8s)是当前最流行的容器编排平台,它可以自动化容器的部署、扩展和管理。虽然学习曲线较陡,但掌握K8s是现代云原生开发的必备技能。本文将介绍K8s的核心概念和实战部署方法。 一、核心概念 # Pod - 最小部署单元 apiVersion: v1 kind: Pod metadata: name: myapp-pod spec: ...
Docker Compose多服务编排实战
DevOps运维
2026-04-13 03:02
Docker Compose多服务编排实战 在现代Web开发中,一个应用往往需要多个服务协同工作:Web服务器、数据库、缓存、消息队列等。Docker Compose可以让我们用一个YAML文件定义和管理所有这些服务,实现一键启动完整的开发环境。本文将通过实际案例介绍Docker Compose的使用方法。 一、Compose文件基础 # docker-compose.yml version...
Nginx高性能配置与安全加固指南
DevOps运维
2026-04-11 10:09
Nginx高性能配置与安全加固指南 Nginx是全球使用最广泛的Web服务器和反向代理服务器,超过三分之一的网站使用Nginx提供服务。正确的Nginx配置不仅能大幅提升网站性能,还能有效防范各种网络攻击。本文将详细介绍Nginx的性能优化配置和安全加固方法。 一、基础性能优化 # nginx.conf 主配置 worker_processes auto; # 自动...
CI/CD流水线搭建:GitHub Actions实战教程
DevOps运维
2026-04-10 10:12
CI/CD流水线搭建:GitHub Actions实战教程 CI/CD(持续集成/持续部署)是现代软件开发的核心实践,它通过自动化的构建、测试和部署流程,确保每次代码变更都经过充分验证后安全地发布到生产环境。GitHub Actions是目前最受欢迎的CI/CD工具之一,它直接集成在GitHub中,配置简单且免费额度充足。本文将通过实际案例手把手教你搭建完整的CI/CD流水线。 一、GitHu...
Linux服务器安全加固指南
DevOps运维
2026-04-07 09:08
Linux服务器安全加固指南 服务器安全是运维工作的重中之重。一台没有加固的服务器就像一扇没锁的门,随时可能被入侵。本文将系统介绍Linux服务器的安全加固措施,从系统层面到应用层面,全面提升服务器安全性。 一、SSH安全配置 # /etc/ssh/sshd_config # 禁止root远程登录 PermitRootLogin no # 使用密钥认证,禁用密码登录 PubkeyAuth...
CI/CD自动化部署最佳实践
DevOps运维
2026-04-05 09:07
CI/CD自动化部署最佳实践 持续集成/持续部署(CI/CD)是现代软件开发的基石,它通过自动化构建、测试和部署流程,帮助团队快速、安全地交付软件。本文将介绍CI/CD的核心概念和实战配置。 一、GitHub Actions配置 # .github/workflows/deploy.yml name: Deploy on: push: branches: [main] pu...
Linux常用命令总结
DevOps运维
2026-03-24 23:10
Linux常用命令完全指南 Linux是服务端开发和运维的基础平台,熟练使用Linux命令行是每个开发者的必备技能。本文将系统分类介绍最常用的Linux命令,从文件操作到系统监控,从网络调试到权限管理,每个命令都配有实际使用示例,帮助你快速上手Linux命令行操作。 一、文件与目录操作 1. 目录导航与文件查看 # 目录切换 cd /var/log # 切换到绝对路径 c...
Docker容器化部署实践
DevOps运维
2026-03-22 23:10
Docker容器化部署实践 Docker通过容器化技术,将应用及其所有依赖打包成一个标准化的可移植单元,彻底解决了"在我电脑上能运行"的环境一致性问题。本文将从Docker基础概念讲起,逐步深入到多容器编排、生产环境部署和性能优化,帮助你全面掌握Docker的实际应用。 一、Docker核心概念 理解Docker需要先掌握三个核心概念: 镜像(Image):只读模板,包含运行应用所需的所...
文章分类
全部文章
前端开发
后端开发
DevOps运维
数据库技术
工具使用
编程思维
开发心得
基本
文件
流程
错误
SQL
调试
请求信息 : 2026-07-06 12:52:18 HTTP/2.0 GET : www.xpwl.work/article/category/17
运行时间 : 0.080439s [ 吞吐率:12.43req/s ] 内存消耗:3,729.77kb 文件加载:79
查询信息 : 7 queries 1 writes
缓存信息 : 1 reads,1 writes
配置加载 : 76
/www/wwwroot/www.xpwl.work/public/index.php ( 0.88 KB )
/www/wwwroot/www.xpwl.work/thinkphp/start.php ( 0.72 KB )
/www/wwwroot/www.xpwl.work/thinkphp/base.php ( 2.60 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Loader.php ( 21.07 KB )
/www/wwwroot/www.xpwl.work/vendor/composer/autoload_static.php ( 10.49 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/deprecation-contracts/function.php ( 0.98 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/polyfill-php80/bootstrap.php ( 1.50 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
/www/wwwroot/www.xpwl.work/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
/www/wwwroot/www.xpwl.work/vendor/guzzlehttp/guzzle/src/functions_include.php ( 0.16 KB )
/www/wwwroot/www.xpwl.work/vendor/guzzlehttp/guzzle/src/functions.php ( 5.54 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/polyfill-php73/bootstrap.php ( 0.99 KB )
/www/wwwroot/www.xpwl.work/vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php ( 0.10 KB )
/www/wwwroot/www.xpwl.work/vendor/topthink/think-helper/src/helper.php ( 2.88 KB )
/www/wwwroot/www.xpwl.work/vendor/fastadminnet/fastadmin-addons/src/common.php ( 15.67 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Route.php ( 60.23 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Config.php ( 6.38 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Hook.php ( 4.71 KB )
/www/wwwroot/www.xpwl.work/vendor/overtrue/wechat/src/Kernel/Support/Helpers.php ( 2.54 KB )
/www/wwwroot/www.xpwl.work/vendor/overtrue/wechat/src/Kernel/Helpers.php ( 1.89 KB )
/www/wwwroot/www.xpwl.work/vendor/topthink/think-captcha/src/helper.php ( 1.94 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Validate.php ( 42.78 KB )
/www/wwwroot/www.xpwl.work/vendor/topthink/think-queue/src/common.php ( 1.19 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Console.php ( 23.13 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Error.php ( 3.75 KB )
/www/wwwroot/www.xpwl.work/thinkphp/convention.php ( 10.37 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/App.php ( 21.58 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Request.php ( 49.78 KB )
/www/wwwroot/www.xpwl.work/application/config.php ( 12.00 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Env.php ( 1.21 KB )
/www/wwwroot/www.xpwl.work/application/database.php ( 2.17 KB )
/www/wwwroot/www.xpwl.work/application/extra/addons.php ( 0.19 KB )
/www/wwwroot/www.xpwl.work/application/extra/queue.php ( 0.55 KB )
/www/wwwroot/www.xpwl.work/application/extra/site.php ( 0.87 KB )
/www/wwwroot/www.xpwl.work/application/extra/upload.php ( 1.05 KB )
/www/wwwroot/www.xpwl.work/application/tags.php ( 1.23 KB )
/www/wwwroot/www.xpwl.work/application/common.php ( 15.57 KB )
/www/wwwroot/www.xpwl.work/thinkphp/helper.php ( 17.30 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Debug.php ( 7.13 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Log.php ( 6.05 KB )
/www/wwwroot/www.xpwl.work/addons/summernote/Summernote.php ( 1.42 KB )
/www/wwwroot/www.xpwl.work/vendor/fastadminnet/fastadmin-addons/src/Addons.php ( 7.64 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Cache.php ( 6.10 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/cache/driver/File.php ( 7.27 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/cache/Driver.php ( 5.98 KB )
/www/wwwroot/www.xpwl.work/application/common/behavior/Common.php ( 3.02 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Lang.php ( 7.42 KB )
/www/wwwroot/www.xpwl.work/thinkphp/lang/zh-cn.php ( 11.81 KB )
/www/wwwroot/www.xpwl.work/application/route.php ( 2.43 KB )
/www/wwwroot/www.xpwl.work/application/index/lang/zh-cn.php ( 10.79 KB )
/www/wwwroot/www.xpwl.work/extend/fast/Form.php ( 39.79 KB )
/www/wwwroot/www.xpwl.work/application/index/controller/Article.php ( 3.05 KB )
/www/wwwroot/www.xpwl.work/application/index/controller/Base.php ( 3.15 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Controller.php ( 6.07 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/traits/controller/Jump.php ( 4.92 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/View.php ( 6.77 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/view/driver/Think.php ( 5.64 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Template.php ( 44.92 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/template/driver/File.php ( 2.24 KB )
/www/wwwroot/www.xpwl.work/application/admin/model/Article.php ( 0.58 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Model.php ( 69.55 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Db.php ( 6.67 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/connector/Mysql.php ( 3.89 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Connection.php ( 29.97 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Query.php ( 93.80 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/builder/Mysql.php ( 4.53 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Builder.php ( 31.81 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/model/relation/BelongsTo.php ( 7.75 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/model/relation/OneToOne.php ( 10.03 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/model/Relation.php ( 3.61 KB )
/www/wwwroot/www.xpwl.work/application/admin/model/Category.php ( 0.14 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/paginator/driver/Bootstrap.php ( 5.23 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Paginator.php ( 9.94 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Expression.php ( 1.11 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Collection.php ( 11.10 KB )
/www/wwwroot/www.xpwl.work/application/admin/model/ToolUsageStats.php ( 0.37 KB )
/www/wwwroot/www.xpwl.work/runtime/temp/f129fe533e1b896832fbaa77dcac8f47.php ( 10.54 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Response.php ( 8.28 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/debug/Html.php ( 4.17 KB )
[ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000235s ]
[ CACHE ] INIT File
[ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003074s ]
[ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001122s ]
[ LANG ] /www/wwwroot/www.xpwl.work/thinkphp/lang/zh-cn.php
[ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000039s ]
[ ROUTE ] array ( 'type' => 'module', 'module' => array ( 0 => 'index', 1 => 'Article', 2 => 'index', ), 'convert' => false, )
[ HEADER ] array ( 'accept-encoding' => 'gzip, br, zstd, deflate', 'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'accept' => '*/*', 'host' => 'www.xpwl.work', 'content-length' => '', 'content-type' => '', )
[ PARAM ] array ( 'category_id' => '17', )
[ LANG ] /www/wwwroot/www.xpwl.work/public/../application/index/lang/zh-cn.php
[ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.003313s ]
[ RUN ] app\index\controller\Article->index[ /www/wwwroot/www.xpwl.work/application/index/controller/Article.php ]
[ DB ] INIT mysql
[ VIEW ] /www/wwwroot/www.xpwl.work/public/../application/index/view/article/index.html [ array ( 0 => 'site', 1 => 'canonical_url', 2 => 'seo', 3 => 'list', 4 => 'categories', 5 => 'currentCategoryId', ) ]
0.081200s