LexLuth0r's recent timeline updates
LexLuth0r

LexLuth0r

V2EX member #440557, joined on 2019-09-10 11:03:01 +08:00
Today's activity rank 16057
Per LexLuth0r's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
LexLuth0r's recent replies
Mar 2
Replied to a topic by DragonX 生活 我目前听过最离谱的天价彩礼
@BigPig666 #87 这种风格的提示词是什么呢
支持
支持下老哥,买过几次,品质还是不错的
资瓷~
资瓷
Aug 16, 2022
Replied to a topic by dzdh 问与答 聊聊 PHP 容器应用的最佳实践
一个 Pod 中启动多个 container ,如 nginx 、php-fpm 服务、queue 服务。如果 queue 启动较多防止单个 Pod 资源不足,queue 服务也可以单独部署在一个 Pod 中,cron 同理。如果某一个 container 会频繁扩容就单独放到一个 Pod 中方便增加副本数。
May 26, 2022
Replied to a topic by minuo0day PHP 关于 PHP 高并发,请教各位
现阶段可以考虑用 swoole 扩展一下,推荐 https://github.com/hhxsv5/laravel-s ,高并发还是推荐用 go
Nov 4, 2021
Replied to a topic by bfc 程序员 开发速度最快的 Web 框架?
laravel + 1
Sep 8, 2021
Replied to a topic by git00ll MySQL 在一个事务内插入大量数据会怎么样
开启事物,innodb 引擎会开始记录 redolog 和 undolog,写入的数据会记录到 buffer pool 的脏页中,当 redolog 写满或脏页占比过高会开始 flush 影响写入和查询的性能。未提交事物的 binlog 会记录在 binlog cache 中,binlog cache 写满也会刷到磁盘影响写入性能并且在等在等待真正的 binlog 记录时主从同步会暂停。undolog 写入同理。因为 mvcc 的机制,这个事物开始前的视图不会删除,在事物提交前会大量占用磁盘( MySQL 5.5 及以前的版本提交后也会占用)。回滚事物,读取 undolog,删除插入的记录。未提交时异常断电会从已保存在磁盘上的 redolog 开始恢复数据。所以只要磁盘足够大,大事物的只会影响读写性能,不会让整个服务挂掉。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3277 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 13:24 · PVG 21:24 · LAX 06:24 · JFK 09:24
♥ Do have faith in what you're doing.