nginx 并发数问题思考:worker_connections,worker_processes与 max clients-运维者说:从菜鸟到老鸟-51CTO博客 https://blog.51cto.com/liuqunying/1420556 nginx 并发数问题思考:worker_conn ...
                            
                            
                                分类:
其他好文   时间:
2020-05-06 01:39:50   
                                阅读次数:
54
                             
                    
                        
                            
                            
                                    Recommendation system predicts the preference that a user would give to an item. Now you are asked to program a very simple recommendation system that ...
                            
                            
                                分类:
其他好文   时间:
2020-05-05 19:47:54   
                                阅读次数:
70
                             
                    
                        
                            
                            
                                    ThreadPoolExecutor 中关闭线程池的方法 判断线程池状态的方法 shutdown() 调用 shutdown() 方法之后线程池并不是立刻就被关闭,因为这时线程池中可能还有任务正在执行,或是任务队列中有正在等待的任务,它会等待正在执行的任务和队列中等待的任务执行完毕后才彻底关闭。 注 ...
                            
                            
                                分类:
编程语言   时间:
2020-05-05 16:26:25   
                                阅读次数:
190
                             
                    
                        
                            
                            
                                    nginx 必须启用 启用 --with-stream 模块。 可下载源码编译。 nginx.conf的配置: worker_processes 1; events { worker_connections 1024; } stream { server{ listen 1521 so_keepal ...
                            
                            
                                分类:
数据库   时间:
2020-05-03 22:01:32   
                                阅读次数:
373
                             
                    
                        
                            
                            
                                什么是quic? quic解决了什么问题?HTTP和QUIC QUIC :Quick UDP Internet Connections;是一种新的默认加密的互联网通信协议,它提供了许多改进,旨在加速HTTP通信,同时使其变得更加安全,其最终目的是在web上代替TCP和TLS协议 可以看到发起http ...
                            
                            
                                分类:
其他好文   时间:
2020-05-03 16:47:53   
                                阅读次数:
77
                             
                    
                        
                            
                            
                                    Traveler ZOJ - 4103 The famous traveler BaoBao is visiting the Dream Kingdom now. There are nn cities in Dream Kingdom, numbered from 11 to nn. The ci ...
                            
                            
                                分类:
其他好文   时间:
2020-05-03 00:57:04   
                                阅读次数:
81
                             
                    
                        
                            
                            
                                    ```bash 1. Linux中关机重启及注销的命令都有哪些? 关机:shutdown h now (默认是分钟),halt,init0, 重启:shutdown r now (默认是分钟),reboot,init6 shutdown c 取消设置 注销:exit,logout,ctrl+d 2. ...
                            
                            
                                分类:
其他好文   时间:
2020-05-02 21:23:19   
                                阅读次数:
69
                             
                    
                        
                            
                            
                                    命令shutdown,选项:-h 表示关机,-r 表示重启,-c 取消前一个关机命令,命令格式:shutdown [选项] 时间,例如:shutdown -h now ,表示现在立即关机,halt也可以实现关机,poweroff也可以关机,是直接断电,不建议使用,init 0也可以实现关机 重启命令 ...
                            
                            
                                分类:
系统相关   时间:
2020-05-01 23:53:21   
                                阅读次数:
109
                             
                    
                        
                            
                            
                                    ``` cpp //Tarjan求割点 void tarjan(int now,int fa){ int num=0; low[now]=dfn[now]=++dfnc; for(int i=head[now];i;i=b[i].next){ int u=b[i].to; if(!dfn[u]){ ... ...
                            
                            
                                分类:
其他好文   时间:
2020-05-01 12:26:28   
                                阅读次数:
60
                             
                    
                        
                            
                            
                                第 7章实操篇开机、重启和用户登录注销 7.1关机&重启命令 7.1.1基本介绍 shutdown shutdown h now :表示立即关机 shutdown h 1 :表示 1分钟后关机 shutdown r now:立即重启 halt 就是直接使用,效果等价于关机 reboot 就是重启系统 ...
                            
                            
                                分类:
其他好文   时间:
2020-05-01 00:59:40   
                                阅读次数:
59