<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[极客世杰]]></title><description><![CDATA[一个极客的自我修养]]></description><link>https://blog.youkuaiyun.com/github_33644920</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; github_33644920]]></copyright><item><title><![CDATA[Elasticsearch教程之《一文读懂ES的数据类型Field datatypes》]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/140182043</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/140182043</guid><author>github_33644920</author><pubDate>Thu, 04 Jul 2024 16:04:59 +0800</pubDate><description><![CDATA[Elasticsearch是一个基于Lucene的搜索引擎，它提供了丰富的数据类型来满足不同场景下的数据存储和查询需求。本文将详细介绍Elasticsearch中的数据类型，包括它们的应用场景、代码示例以及使用注意事项，并特别对比文本（Text）和关键词（Keyword）两种类型。]]></description><category></category></item><item><title><![CDATA[Elasticsearch教程之《一文读懂ES-DSL》]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/139830663</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/139830663</guid><author>github_33644920</author><pubDate>Thu, 20 Jun 2024 13:52:27 +0800</pubDate><description><![CDATA[bool。]]></description><category></category></item><item><title><![CDATA[为什么Redis没有实现典型的加锁功能?]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/78055229</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/78055229</guid><author>github_33644920</author><pubDate>Thu, 21 Sep 2017 18:12:09 +0800</pubDate><description><![CDATA[在访问以写入为目的数据的时候（SOL中的SELECT FOR UPDATE),关系数据库会对被访同的数据行进行加锁，直到事务被提交（Commit） 
或者被回滚（ROLLBACK）为止，如果有其他客户端试图对被加锁的数据行进行写入，那么该客户端将被阻塞、直到第一个事务执行完毕为止。加锁在实际使用中非常有效，基本上所有关系数据库都实现了这种加锁功能，它的缺点在于，持有锁的客户端运行越慢，等待解锁的客户]]></description><category></category></item><item><title><![CDATA[Java最佳线程数]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/78049875</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/78049875</guid><author>github_33644920</author><pubDate>Thu, 21 Sep 2017 11:20:42 +0800</pubDate><description><![CDATA[对于计算密集型任务,在拥有Ncpu个处理器的系统上,当线程池大小为N+1时,通常能实现最优的利用率,(即当计算密集型任务偶尔由于页缺失故障或者其他原因而暂停时,这个额外的现线程也能够确保CPU的时钟周期不会被浪费。) 对于包含IO操作或者其他阻塞操作的任务,由于线程并不会一直执行,因此线程池的规模应该更大.要正确的设置线程池的大小，你必须估算出任务的等待时间和计算时间的比值。这种估算不需要很精确，并]]></description><category></category></item><item><title><![CDATA[redis-cli之redis命令]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/77853114</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/77853114</guid><author>github_33644920</author><pubDate>Tue, 05 Sep 2017 16:33:59 +0800</pubDate><description><![CDATA[STRING LIST 
 SET 
 HASH 
 ZSET]]></description><category></category></item><item><title><![CDATA[OS X快捷安装redis的方法]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/77852514</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/77852514</guid><author>github_33644920</author><pubDate>Tue, 05 Sep 2017 15:55:52 +0800</pubDate><description><![CDATA[OS X快捷安装redis的方法]]></description><category></category></item><item><title><![CDATA[Redis数据结构简介]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/77851656</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/77851656</guid><author>github_33644920</author><pubDate>Tue, 05 Sep 2017 15:03:30 +0800</pubDate><description><![CDATA[Redis提供了5种数据结构
STRING, 字符串
LIST, 列表
SET, 集合
HASH, 散列
ZSET, 有序集合]]></description><category></category></item><item><title><![CDATA[redis与一些数据库及软件之间的区别]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/77848383</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/77848383</guid><author>github_33644920</author><pubDate>Tue, 05 Sep 2017 10:27:29 +0800</pubDate><description><![CDATA[redis与一些数据库及软件之间的区别]]></description><category></category></item><item><title><![CDATA[服务器外网端口无法访问解决办法]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/56020800</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/56020800</guid><author>github_33644920</author><pubDate>Mon, 20 Feb 2017 19:45:30 +0800</pubDate><description><![CDATA[在线上服务器上我们使用Redis、memcached、nodejs 等等 ，都需要使用端口，但是有些时候我们却发现 程序已经运行成功！但是却是连接超时访问不到。开启3000端口/sbin/iptables -I INPUT -p tcp --dport 3000 -j ACCEPT]]></description><category></category></item><item><title><![CDATA[Java线上应用故障排查之高CPU占用]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/53485632</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/53485632</guid><author>github_33644920</author><pubDate>Tue, 06 Dec 2016 12:35:34 +0800</pubDate><description><![CDATA[最近线上频繁报警CPU空闲不足，故紧急排查后作此总结topps -ef|grep 22630ps -mp 22630 -o THREAD,tid,time | sort -nr | head -15printf "%x\n" 22657jstack 22630 |grep 5881 -A 30]]></description><category></category></item><item><title><![CDATA[Linux查看物理CPU个数、核数、逻辑CPU个数]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/53465750</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/53465750</guid><author>github_33644920</author><pubDate>Mon, 05 Dec 2016 15:24:35 +0800</pubDate><description><![CDATA[总核数 = 物理CPU个数 X 每颗物理CPU的核数总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 X 超线程数查看物理CPU个数cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l查看每个物理CPU中core的个数(即核数)cat /proc/cpuinfo| grep "cpu cores"| uniq查看逻辑CPU的个数]]></description><category></category></item><item><title><![CDATA[[neocomplete] You should disable it or install FastFold plugin]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/53438104</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/53438104</guid><author>github_33644920</author><pubDate>Fri, 02 Dec 2016 19:25:16 +0800</pubDate><description><![CDATA[please add this plugins to your .vimrc.bundles.local file to solve this issue:Bundle 'Konfekt/FastFold'
Bundle 'Konfekt/FoldText']]></description><category></category></item><item><title><![CDATA[mac连接到apple ID服务器时出错解决方案之一]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/53302482</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/53302482</guid><author>github_33644920</author><pubDate>Wed, 23 Nov 2016 11:11:10 +0800</pubDate><description><![CDATA[最近几天mac上的apple id无法登录了，各种查资料，google,百度，试了网上的各种方法，配过dns,然而并没有什么卵用。appstore无法更新软件，作为一名奋青，宝宝内心是崩溃的。然而当我最终要放弃时，想到会不会苹果的网络会不会不允许被抓包，因为之前iphone上遇到同样的情况（本人程序猿一枚，常年开着charles，一种抓包工具），果断关掉charles，icloud神奇般的可以正常登]]></description><category></category></item><item><title><![CDATA[Linux下分析Java程序内存(pmap、jmap、jstat)]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/53228129</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/53228129</guid><author>github_33644920</author><pubDate>Sat, 19 Nov 2016 10:37:22 +0800</pubDate><description><![CDATA[1、pmap查看进程内存运行命令使用pmap可以查看某一个进程（非java的也可以）的内存使用使用情况，命令格式：pmap 进程id示例说明pmap 12358
  第一列，内存块起始地址 
  第二列，占用内存大小 
  第三列，内存权限 
  第四列，内存名称，anon表示动态分配的内存，stack表示栈内存 
  最后一行，占用内存总大小，请注意，此处为虚拟内存大小，占用的物理内存大小可以通过]]></description><category></category></item><item><title><![CDATA[还原 OS X 中的 DNS 缓存设置]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/53170077</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/53170077</guid><author>github_33644920</author><pubDate>Tue, 15 Nov 2016 12:38:38 +0800</pubDate><description><![CDATA[关于 DNS 缓存

OS X 会将已解析的 DNS 查询的本地缓存保留一段时间，保留时间由 DNS 服务器定义。有时可能需要立即还原缓存设置并重新查询 DNS 服务器。例如，如果您是网络或服务器管理员且您的 DNS 服务器上的条目最近有更改，您可能需要执行此操作。

如果您的 Mac 使用的不是您服务器上的最新 DNS 条目，您可重新启动 Mac 以更新其缓存的信息。如果您需要更新使用 ]]></description><category></category></item><item><title><![CDATA[memcache基础]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/53098248</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/53098248</guid><author>github_33644920</author><pubDate>Wed, 09 Nov 2016 11:56:27 +0800</pubDate><description><![CDATA[memcache的特征
协议简单
基于libevent的事件处理
内置内存存储方式
memcached不互相通信的分布式]]></description><category></category></item><item><title><![CDATA[解决gas mask在macOS Sierra下报错NSInvalidArgumentException]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/52945035</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/52945035</guid><author>github_33644920</author><pubDate>Thu, 27 Oct 2016 13:41:09 +0800</pubDate><description><![CDATA[升级macOS Sierra后，gas mask每次打开都会报如下错误：Exception Name: NSInvalidArgumentException
Description: -[NSNull objectForKey:]: unrecognized selector sent to instance 0x7fffbfb8df10
User Info: (null)0 CoreFoundat]]></description><category></category></item><item><title><![CDATA[nginx对客户端请求的特殊处理]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/52914932</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/52914932</guid><author>github_33644920</author><pubDate>Mon, 24 Oct 2016 20:10:04 +0800</pubDate><description><![CDATA[下面介绍对客户端请求的特殊处理的配置项。

（1）忽略不合法的HTTP头部

语法：ignore_invalid_headers on | off;

默认：ignore_invalid_headers on;

配置块：http、server

如果将其设置为off，那么当出现不合法的HTTP头部时，Nginx会拒绝服务，并直接向用户发送400（Bad Request）错误。]]></description><category></category></item><item><title><![CDATA[Ajax跨域请求COOKIE无法带上的解决办法]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/52870337</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/52870337</guid><author>github_33644920</author><pubDate>Thu, 20 Oct 2016 11:10:06 +0800</pubDate><description><![CDATA[原生ajax请求方式：var xhr = new XMLHttpRequest();  
xhr.open("POST", "http://xxxx.com/demo/b/index.php", true);  
xhr.withCredentials = true; //支持跨域发送cookies
xhr.send();jquery的ajax的post方法请求： $.ajax({]]></description><category></category></item><item><title><![CDATA[mac 更新到macos sierra 系统后idea的svn不可用解决办法]]></title><link>https://blog.youkuaiyun.com/github_33644920/article/details/52836913</link><guid>https://blog.youkuaiyun.com/github_33644920/article/details/52836913</guid><author>github_33644920</author><pubDate>Mon, 17 Oct 2016 10:53:46 +0800</pubDate><description><![CDATA[下载系统用了将近一天的时间，公司的破网，无力吐槽了，新的macos系统挺不错的，尤其是在处理垃圾文件的时候。

使用idea的svn时报了如下错误：

Can't use Subversion command line client: svn 

Probably the path to Subversion executable is wrong

网上找了一下，没有类似的解决办]]></description><category></category></item></channel></rss>