首页 文章 精选 留言 我的

精选列表

搜索[AI性能],共10000篇文章
优秀的个人博客,低调大师

高性能缓存服务器Varnish架构配置

Varnish跟Squid都是一款内容加速缓存服务器,我们可以使用它们来对我们的网页内容进行缓存,以此来从某个方面提高用户体验度,提升网站整体的抗压能力。 目前自建的CDN中,有很多都是基于Squid、Varnish等相关缓存软件,经过内部的二次开发实现了更好的内容加速及管理。 那今天我们一起来学习一下Varnish简单的搭建及日常的维护,深入的东西后期分享,跟大家一起来交流。这里直接上Shell脚本自动初始化并安装: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 #!/bin/sh #autoinstallvarnish #2014-07-28bywugk DIR= /usr/src CODE=$? VER=$1 if [-z$1]; then echo "Usage:{$0'Version'install|config|start|help},Example$02.1.5install}" exit fi URL=https: //repo .varnish-cache.org /source/varnish- ${VER}. tar .gz function install () { if [!-d /usr/local/varnish -o!-f /etc/init .d /varnishd ]; then cd $DIR;wget-c$URL if [$CODE== '0' ]; then echo "ThisvarnishFilesisDownloadSuccessed!" else echo "ThisvarnishFilesisDownloadFailed!" fi useradd -s /sbin/noin varnish mkdir -p /data/varnish/ {cache,} chown -Rvarnish.varnish /data/varnish/ tar xzfvarnish-${VER}. tar .gz; cd varnish-${VER}; /bin/sh autogen.sh;. /configure --prefix= /usr/local/varnish -- enable -dependency-tracking-- enable -debugging-symbols-- enable -developer-warnings- enable -extra-warnings&& make && make install else echo "ThisVarnishisexists,Pleaseexit..." sleep 1 exit 0 fi } function config() { if [!-d /usr/local/varnish/ -o-f /etc/init .d /varnishd ]; then echo "Youcan'tconfigvarnish,Pleaseensureyouvarnishdirisornotexist..." exit 0 else echo "VarnishAlreadySuccessInstall,PleaseConfigvarnish......" fi mv /usr/local/varnish/etc/varnish/default .vcl /usr/local/varnish/etc/varnish/default .vcl.bak cat >> /usr/local/varnish/etc/varnish/default .vcl<<EOF backendserver_1 { .host= "192.168.149.128" ; .port= "8080" ; .probe={ .timeout=5s; .interval=2s; .window=8; .threshold=5; } } backendserver_2 { .host= "192.168.149.129" ; .port= "8080" ; .probe={ .timeout=5s; .interval=2s; .window=8; .threshold=5; } } directorrsverrandom{ { .backend=server_1; .weight=6; } { .backend=server_2; .weight=6; } } aclpurge{ "localhost" ; "127.0.0.1" ; } subvcl_recv { if (req.http.host~ "^(.*).tdt.com" ) { set req.backend=rsver; } else { error200 "Nocahceforthisdomain" ; } if (req.request== "PURGE" ) { if (!client.ip~purge) { error405 "Notallowed." ; } else { return (pipe); } } if (req.http.x-forwarded- for ) { set req.http.X-Forwarded-For= req.http.X-Forwarded-For "," client.ip; } else { set req.http.X-Forwarded-For=client.ip; } if (req.request!= "GET" &&req.request!= "HEAD" ) { return (pipe); } if (req.http.Expect) { return (pipe); } if (req.http.Authenticate||req.http.Cookie) { return (pass); } if (req.http.Cache-Control~ "no-cache" ) { return (pass); } if (req.url~ "\.jsp" ||req.url~ "\.php" ) { return (pass); } else { return (lookup); } }subvcl_pipe { return (pipe); }subvcl_pass { return (pass); }subvcl_hash { set req. hash +=req.url; if (req.http.host) { set req. hash +=req.http.host; } else { set req. hash +=server.ip; } return ( hash ); }subvcl_hit { if (req.request== "PURGE" ) { set obj.ttl=0s; error200 "Purged." ; } if (!obj.cacheable) { return (pass); } return (deliver); }subvcl_miss { if (req.request== "PURGE" ) { error404 "Notincache." ; } if (req.http.user-agent~ "spider" ) { error503 "Notpresentlyincache" ; } return (fetch); } subvcl_fetch { if (req.request== "GET" &&req.url~ "\.(txt|js)$" ) { set beresp.ttl=3600s; } else { set beresp.ttl=30d; } if (!beresp.cacheable) { return (pass); } if (beresp.http.Set-Cookie) { return (pass); } return (deliver); } subvcl_deliver{ if (obj.hits>0){ set resp.http.X-Cache= "HITFROMTDTWSCacheCenter" ; } else { set resp.http.X-Cache= "MISSFROMTDTWSCacheCenter" ; } return (deliver); } EOF if [$?==0]; then echo '----------------------------------' sleep 2 echo "ThisVarinshConfigSuccess!!!" else echo "ThisVarinshConfigFailed,PleaseCheckConf!" fi } function start() { if [!-d /usr/local/varnish -o-f /etc/init .d /varnishd ]; then echo "Youcan'tconfigvarnish,Pleaseensureyouvarnishdirisornotexist..." exit 0 else count=` ps -ef| grep varnishd| grep - v grep | wc -l` if [$count- eq 0]; then echo "VarnishAlreadySuccessInstall,Nowstartvarnish...." cat <<EOF ------------------------------------------------------ StartVarnishtolisten0.0.0.0:80. TheVarnishloadbalancerserver1(192.168.149.1288080). TheVarnishloadbalancerserver1(192.168.149.1298080). TheVarnishMgraddresstolisten0.0.0.0:8001. TheVarnishCacheDIR /data/varnish/cache . EOF /usr/local/varnish/sbin/varnishd -n /data/varnish/cache -f /usr/local/varnish/etc/varnish/default .vcl-a0.0.0.0:80-s file , /data/varnish/varnish_cache .data,16G-puser=varnish-pgroup=varnish-pdefault_ttl=14400-pthread_pool_max=8000-psend_timeout=20-w5,51200,30-T0.0.0.0:8001-P /usr/local/varnish/var/varnish .pid if [$?==0]; then echo "Startvarnish...OK" fi else echo "Warning,ThisVarnishServiceisexist." fi fi } case $2 in install ) install ;; config) config ;; start) start ;; *) echo "Usage:{Usage$0versioninstall|config|start|help}" ;; esac Varnish简单测试如下图: 1.第一张图,第一次访问没有命中,去后端服务器取数据,同时在本地缓存一份:(MISS) 2.第二张图,第二次访问,缓存服务器存在,则直接从缓存中返回:(HIT) 实际线上环境中,如果用户访问我们的网站,使用Ctrl+F5刷新,我们的缓存就会失效,因为我们配置文件里面是这么配置的,匹配浏览器头信息: Pragma no-cache Cache-Control no-cache 1 2 3 4 if (req.http.Cache-Control~ "no-cache" ) { return (pass); } 只有注释掉这段代码或者设置只允许某个特定的IP,用户通过浏览器按Crtl+F5才不会把缓存给清除。 下面是针对某个特定的IP地址允许刷新: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 acl local { "192.168.149.128" } subvcl_hit{ if (!obj.cacheable){ return (pass); } if (client.ip~ local &&req.http.Pragma~ "no-cache" ){ set obj.ttl=0s; return (pass); } return (deliver); } 由于时间的原因,文章就暂时写到这里,更多深入的东西继续分享,文章引用煮酒哥的配置,非常感谢。欢迎大家一起讨论。 http://yuhongchun.blog.51cto.com/1604432/1293169 http://zyan.cc/post/313/ 本文转自 wgkgood 51CTO博客,原文链接:http://blog.51cto.com/wgkgood/1531694

优秀的个人博客,低调大师

高性能缓存服务器Squid架构配置

前言*随着网站访问人数越来越多,承受的并发和压力也越来越高,这时候我们需要对网站和架构进行优化,今天我们来讨论使用Squid对架构进行优化,缓存网站。网上对squid描述的文章也有成千上万,我这里简单记录一下实践的步骤。 一、实施环境 1 2 3 系统版本:CentOSx86_645.8 Squid版本:squid-2.6 Nginx版本:nginx-1.4.2 二、正式安装 安装之前我们需要对系统进行优化,主要优化系统内核相关参数,仅供参考: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 vi /etc/sysctl .conf #sysctl.confconfig2014-03-26 net.ipv4.ip_forward=0 net.ipv4.conf.default.rp_filter=1 net.ipv4.conf.default.accept_source_route=0 kernel.sysrq=0 kernel.core_uses_pid=1 net.ipv4.tcp_syncookies=1 kernel.msgmnb=65536 kernel.msgmax=65536 kernel.shmmax=68719476736 kernel.shmall=4294967296 net.ipv4.tcp_max_tw_buckets=10000 net.ipv4.tcp_sack=1 net.ipv4.tcp_window_scaling=1 net.ipv4.tcp_rmem=4096873804194304 net.ipv4.tcp_wmem=4096163844194304 net.core.wmem_default=8388608 net.core.rmem_default=8388608 net.core.rmem_max=16777216 net.core.wmem_max=16777216 net.core.netdev_max_backlog=262144 net.core.somaxconn=262144 net.ipv4.tcp_max_orphans=3276800 net.ipv4.tcp_max_syn_backlog=262144 net.ipv4.tcp_timestamps=0 net.ipv4.tcp_synack_retries=1 net.ipv4.tcp_syn_retries=1 net.ipv4.tcp_tw_recycle=1 net.ipv4.tcp_tw_reuse=1 net.ipv4.tcp_mem=94500000915000000927000000 net.ipv4.tcp_fin_timeout=1 net.ipv4.tcp_keepalive_time=15 net.ipv4.ip_local_port_range=102465535 优化Linux文件打开最大数: 1 2 3 4 5 vi /etc/security/limits .conf *softnproc65535 *hardnproc65535 *softnofile65535 *hardnofile65535 接下来上自动安装Squid脚本,里面分别配置了两个虚拟主机域名,前端有LVS,LVS均衡后端多组squid集群,根据命中率去调整squid集群的数量,Squid后端均衡Nginx或者Apache。(完整的架构LVS+Keepalived+Squid+Nginx+Resin/Tomcat/PHP+MySQL集群) 简单逻辑图如下: 直接上脚本: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 #!/bin/sh #Automakeinstallsquidserver #Authorwugk2014-03-26 SQUID_CNF= /etc/squid/squid .conf CACHE_DIR=( /data/cache1 /data/cache2 ) #Installsquidshell yum install -ysquid #configsquid.conf cat >>$SQUID_CNF<<EOF #globalconfigsquid.conf2014-03-26 http_port80accelvhostvport cache_peer192.168.149.128parent800originservername=wugk1 cache_peer192.168.149.129parent800originservername=wugk2 cache_peer_domainwugk1www.wugk1.com cache_peer_domainwugk2www.wugk2.com visible_hostnamelocalhost forwarded_foroff viaoff cache_varyon #aclconfig aclmanagerprotocache_object acllocalhostsrc127.0.0.1 /32 aclto_localhostdst127.0.0.0 /8 0.0.0.0 /32 acllocalnetsrc10.0.0.0 /8 #RFC1918possibleinternalnetwork acllocalnetsrc172.16.0.0 /12 #RFC1918possibleinternalnetwork acllocalnetsrc192.168.0.0 /16 #RFC1918possibleinternalnetwork aclSSL_portsport443 aclSafe_portsport808080 #http aclSafe_portsport21 #ftp aclSafe_portsport443 #https aclallsrc0.0.0.0 /0 aclCONNECTmethodCONNECT http_accessallowmanagerlocalhost http_accessdenymanager http_accessdeny!Safe_ports http_accessdenyCONNECT!SSL_ports http_accessallowlocalnet http_accessallowlocalhost http_accessallowall aclPURGEmethodPURGE http_accessallowPURGElocalhost http_accessdenyPURGE #squidconfig2014-03-25 cache_diraufs /data/cache1 1024016256 cache_diraufs /data/cache2 1024016256 cache_mem4000MB maximum_object_size8MB maximum_object_size_in_memory256KB hierarchy_stoplistcgi-bin? coredump_dir /var/spool/squid refresh_pattern^ ftp :144020%10080 refresh_pattern^gopher:14400%1440 refresh_pattern-i( /cgi-bin/ |\?)00%0 refresh_pattern\.(jpg|png|gif|mp3|xml|html|htm|css|js)144050%2880ignore-reload refresh_pattern.020%4320 EOF #configcache_dir mkdir -p${CACHE_DIR[@]}; chown -Rsquid:squid${CACHE_DIR[@]} #restartsquidserver /etc/init .d /squid restart if [ "$?" == "0" ]; then echo "TheSquidServerInstallSuccessfully!!" else echo "TheSquidServerInstallFailed!!,PleaseCheckLog......" fi 最后测试,前端LVS截图(注LVS此处不配置了,博客有专门的安装方法) 通过浏览器查看head头,缓存命中情况截图如下: 通过命令 1 squidclient-p 80 mgr:info|egrep "(RequestHitRatios|ByteHitRatios)" 查看缓存命中率如下: 三、批量清空缓存 使用Shell脚本批量清空squid缓存脚本auto_clean_cache.sh 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 #!/bin/sh DIR= /data/cache/ Command= /usr/sbin/squidclient if [ "$1" = "" ]; then echo "Usage:{$0" \$1 ",Exampleexec$0forum.php}" exit fi grep -r-a$1${DIR}|strings| grep "http:" | grep - v "=" >list.txt count=` cat list.txt| wc -l` if [ "$count" - eq "0" ]; then echo -e "---------------------------------\nThe$1cachealreadyupdate,Pleaseexit......" exit fi while read line do $Command-mPURGE-p80 "$line" >> /dev/null if [$?- eq 0]; then echo -e "----------------------------------\nThe$linecacheupdatesuccessfully!" fi done <list.txt 脚本执行: 1 2 3 4 [root@node2~]#shauto_clean_cache.shforum.php ---------------------------------- Thehttp: //www.wugk2.com/forum.phpcacheupdatesuccessfully! [root@node2~]# 更多squid优化及深入配置后期更新。。 本文转自 wgkgood 51CTO博客,原文链接:http://blog.51cto.com/wgkgood/1384580

优秀的个人博客,低调大师

[Android Pro] Android 性能分析工具dumpsys的使用

reference to :http://www.open-open.com/lib/view/open1405061994872.html Android提供的dumpsys工具可以用于查看感兴趣的系统服务信息与状态,手机连接电脑后可以直接命令行执行adb shell dumpsys 查看所有支持的Service但是这样输出的太多,可以通过dumpsys | grep "DUMP OF SERVICE" 仅显示主要的Service的信息 一、列出dumpsys所有支持命令 $ dumpsys | grep "DUMP OF SERVICE" 以下是在三星S3手机上的输出信息 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 shell@m:/ $ dumpsys | grep "DUMP OF SERVICE" dumpsys | grep "DUMP OF SERVICE" DUMP OF SERVICE AtCmdFwd: DUMP OF SERVICE CustomFrequencyManagerService: DUMP OF SERVICE DirEncryptService: DUMP OF SERVICE Exynos.HWCService: DUMP OF SERVICE Exynos.IPService: DUMP OF SERVICE FMPlayer: DUMP OF SERVICE LEDService: DUMP OF SERVICE SecTVOutService: DUMP OF SERVICE SurfaceFlinger: DUMP OF SERVICE TvoutService_C: DUMP OF SERVICE accessibility: DUMP OF SERVICE account: DUMP OF SERVICE activity: DUMP OF SERVICE alarm: DUMP OF SERVICE android.security.keystore: DUMP OF SERVICE application_policy: DUMP OF SERVICE appops: DUMP OF SERVICE appwidget: DUMP OF SERVICE audio: DUMP OF SERVICE backup: DUMP OF SERVICE battery: DUMP OF SERVICE batteryinfo: DUMP OF SERVICE bluetooth_manager: DUMP OF SERVICE bluetooth_secure_mode_manager: DUMP OF SERVICE clipboard: DUMP OF SERVICE clipboardEx: DUMP OF SERVICE commontime_management: DUMP OF SERVICE connectivity: DUMP OF SERVICE container_service: DUMP OF SERVICE content: DUMP OF SERVICE country_detector: DUMP OF SERVICE cpuinfo: DUMP OF SERVICE dbinfo: DUMP OF SERVICE device_policy: DUMP OF SERVICE devicestoragemonitor: DUMP OF SERVICE diskstats: DUMP OF SERVICE display: DUMP OF SERVICE dreams: DUMP OF SERVICE drm.drmManager: DUMP OF SERVICE dropbox: DUMP OF SERVICE edmnativehelper: DUMP OF SERVICE enterprise_license_policy: DUMP OF SERVICE enterprise_policy: DUMP OF SERVICE entropy: DUMP OF SERVICE gfxinfo: DUMP OF SERVICE hardware: DUMP OF SERVICE harmony_eas_service: DUMP OF SERVICE input: DUMP OF SERVICE input_method: DUMP OF SERVICE iphonesubinfo: DUMP OF SERVICE isms: DUMP OF SERVICE license_log_service: DUMP OF SERVICE location: DUMP OF SERVICE lock_settings: DUMP OF SERVICE log_manager_service: DUMP OF SERVICE mdm.remotedesktop: DUMP OF SERVICE media.audio_flinger: DUMP OF SERVICE media.audio_policy: DUMP OF SERVICE media.camera: DUMP OF SERVICE media.player: DUMP OF SERVICE meminfo: DUMP OF SERVICE motion_recognition: DUMP OF SERVICE mount: DUMP OF SERVICE multiwindow: DUMP OF SERVICE netpolicy: DUMP OF SERVICE netstats: DUMP OF SERVICE network_management: DUMP OF SERVICE nfc: DUMP OF SERVICE nfccontroller: DUMP OF SERVICE notification: DUMP OF SERVICE package: DUMP OF SERVICE permission: DUMP OF SERVICE phone: DUMP OF SERVICE phone_restriction_policy: DUMP OF SERVICE phoneext: DUMP OF SERVICE power: DUMP OF SERVICE remoteinjection: DUMP OF SERVICE samplingprofiler: DUMP OF SERVICE samsung.smartfaceservice: DUMP OF SERVICE scheduling_policy: DUMP OF SERVICE search: DUMP OF SERVICE sec_analytics: DUMP OF SERVICE secontroller: DUMP OF SERVICE sensorservice: DUMP OF SERVICE serial: DUMP OF SERVICE servicediscovery: DUMP OF SERVICE simphonebook: DUMP OF SERVICE sip: DUMP OF SERVICE statusbar: DUMP OF SERVICE telephony.registry: DUMP OF SERVICE textservices: DUMP OF SERVICE tvoutservice: DUMP OF SERVICE uimode: DUMP OF SERVICE updatelock: DUMP OF SERVICE usagestats: DUMP OF SERVICE usb: DUMP OF SERVICE user: DUMP OF SERVICE vibrator: DUMP OF SERVICE voip: DUMP OF SERVICE wallpaper: DUMP OF SERVICE wfd: DUMP OF SERVICE wifi: DUMP OF SERVICE wifi_policy: DUMP OF SERVICE wifip2p: DUMP OF SERVICE window: 二、具体命令如何查看帮助 从上面可以看出Service非常多,“DUMP OF SERVICE”关键字后面的单词都可以直接通过 dumpsys + 单词 查看相关信息,具体每一个如何使用有一种通用的查看帮助的办法。 查看每一个命令的使用帮助,以下以meminfo 为例演示: 1 2 3 4 5 6 7 shell@m:/ $ dumpsys meminfo -h dumpsys meminfo -h meminfo dump options: [-a] [--oom] [process] -a: include all available information for each process. --oom: only show processes organized by oom adj. If [process] is specified it can be the name or pid of a specific process to dump. 三、一些关键命令解释 名字 功能 account 显示accounts信息 activity 显示所有的activities的信息 cpuinfo 显示CPU信息 window 显示键盘,窗口和它们的关系 wifi 显示wifi信息 batteryinfo $package_name 电量信息及CPU 使用时长 package packagename 获取安装包信息 usagestats 每个界面启动的时间 statusbar 显示状态栏相关的信息 meminfo 内存信息(meminfo $package_name or $pid 使用程序的包名或者进程id显示内存信息) diskstats 磁盘相关信息 battery 电池信息 alarm 显示Alarm信息 activity - 使用adb shell dumpsys检测Android的Activity任务栈 window - 通过adb shell dumpsys命令获取当前应用的component statusbar - 找出广告通知属于哪个应用 dumpsys statusbar | grep notification=Notification 四、参考资料 Dumpsys(官方文档) How to discover memory usage of my application in Android android中dumpsys函数介绍与使用(代码分析) 来自: http://blog.csdn.net/androiddevelop/article/details/37689339 分类: Android Pro 本文转自demoblog博客园博客,原文链接http://www.cnblogs.com/0616--ataozhijia/p/5678602.html如需转载请自行联系原作者 demoblog

优秀的个人博客,低调大师

MaxCompute SQL原理解析及性能调优

分享内容 介绍了MaxCompute(原ODPS) SQL的基于mapreduce是如何实现的及一些使用小技巧,回顾了mapreduce各个阶段可能产生的问题及相应的处理方法,同时介绍了一些应对数据倾斜的处理方法,最后介绍了一些关于数据集构造、特征选择的技巧帮助减少资源利用。 分享嘉宾 顾茂杰 阿里云天池竞赛选手DesTiny 在天池参加过阿里移动推荐算法、新浪微博互动预测大赛、IJCAI 16,并在新浪微博互动预测大赛中获得冠军。现就职于蚂蚁金服,担任推荐平台算法工程师。 分享视频https://v.qq.com/iframe/player.html?vid=l0552ocwlax&width=670&height=376.875&auto=0 分享重点 阿里巴巴大数据-玩家社区https://yq.aliyun.

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

用户登录
用户注册
修改密码
忘记密码