摘要: This is ApacheBench, Version 2.3 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, 阅读全文
posted @ 2023-03-21 18:45 德克斯特的实验室 阅读(32) 评论(0) 推荐(0) 编辑
摘要: import time import threading from multiprocessing import Process from concurrent.futures import ProcessPoolExecutor def time_decorator(func): def wrap 阅读全文
posted @ 2023-03-08 12:27 德克斯特的实验室 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 捕获celery task异常的两种方式, sentry, mail sentry (sentry 记录异常.) import sentry_sdk from sentry_sdk.integrations.celery import CeleryIntegration sentry_sdk.ini 阅读全文
posted @ 2023-03-08 10:00 德克斯特的实验室 阅读(129) 评论(0) 推荐(0) 编辑
摘要: How to keep SSH connection alive? (ssh 保持连接) You need to specify amount of the tries and interval of sending a packet to the server. You can put the f 阅读全文
posted @ 2022-04-12 16:17 德克斯特的实验室 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 准备 49.233.14.19 manager 49.232.2.215 worker 49.193.125.218 worker 大聪明是我没跑了, 折腾了半天虚拟机, 最后买了三台腾讯服务器...按时间/流量买的, 钱没白花(才5毛钱), 学到了:) 官方流程 | docker swarm in 阅读全文
posted @ 2022-04-09 12:30 德克斯特的实验室 阅读(222) 评论(0) 推荐(0) 编辑
摘要: StackExchage https://dba.stackexchange.com/questions/20/how-can-i-optimize-a-mysqldump-of-a-large-database The main bottleneck in the dump like this i 阅读全文
posted @ 2022-04-01 10:36 德克斯特的实验室 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 我从来没解析过这个...顺手看一下吧 有问题 stackoverflow 一级命令 pip --h Usage: pip <command> [options] Commands: install Install packages. download Download packages. unins 阅读全文
posted @ 2022-03-30 11:07 德克斯特的实验室 阅读(141) 评论(0) 推荐(0) 编辑
摘要: /********************************************************************************* *Copyright(C),Your Company *FileName: // 文件名 *Author: //作者 *Version: //版本 *Date: //完成日期 *Descr... 阅读全文
posted @ 2016-11-19 09:31 德克斯特的实验室 阅读(2769) 评论(0) 推荐(0) 编辑