<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Thinking > Coding >Think]]></title><description><![CDATA[架构，新技术，吐槽]]></description><link>https://blog.csdn.net/vargas</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; vargas]]></copyright><item><title><![CDATA[高可用&负载均衡常用架构]]></title><link>https://blog.csdn.net/vargas/article/details/48845483</link><guid>https://blog.csdn.net/vargas/article/details/48845483</guid><author>vargas</author><pubDate>Thu, 01 Oct 2015 14:05:44 +0800</pubDate><description><![CDATA[下面总结一下常用的高可用复杂均衡架构模式。


1. 客户端切换。
客户端配置多个服务器地址。如果发生某个服务器无法访问或者使用异常，客户端就切换到其它服务器上。
优点：简单，高效，可以在业务层面检测服务可用性
缺点：需要提前配置。



Mysql connect 这样做load balance 和failed over .在JDBC连接上可以配置多个服务器。


ht]]></description><category></category></item><item><title><![CDATA[Mysql的坑--与Oracle对比]]></title><link>https://blog.csdn.net/vargas/article/details/43941313</link><guid>https://blog.csdn.net/vargas/article/details/43941313</guid><author>vargas</author><pubDate>Wed, 25 Feb 2015 22:55:24 +0800</pubDate><description><![CDATA[之前主要oracle平台上做开发，最近几个才开始使用mysql。发现mysql一些坑总结如下。


1. 字符比较竟然不区分大小。难以想象。。。。。


2. 表名在windows平台不区分大小写，在unix/linux平台区分大小写。 系统在windows平台测试过来，发布到linux平台就不工作了。。。


3. 默认的事务隔离级别是repeatable read, orac]]></description><category></category></item><item><title><![CDATA[Mysql update 子查询锁表问题。]]></title><link>https://blog.csdn.net/vargas/article/details/42557869</link><guid>https://blog.csdn.net/vargas/article/details/42557869</guid><author>vargas</author><pubDate>Fri, 09 Jan 2015 18:06:40 +0800</pubDate><description><![CDATA[今天碰到诡异的表死锁问题。
首先Tomcat报错：


Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
at sun.reflect.NativeC]]></description><category></category></item><item><title><![CDATA[Unix信号处理学习笔记 ]]></title><link>https://blog.csdn.net/vargas/article/details/4595637</link><guid>https://blog.csdn.net/vargas/article/details/4595637</guid><author>vargas</author><pubDate>Fri, 25 Sep 2009 22:14:00 +0800</pubDate><description><![CDATA[信号是传送给进程的一种事件通知，生成信号的事件有三大类：1.       程序错误：除零，非法内存访问…2.       外部信号：终端Ctrl-C产生SGINT信号，定时器到期产生SIGALRM…3.       显示请求：kill函数允许进程发送任何信号给其他进程或进程组。信号生成既可以是同步的（信号与程序中的某个具体操作相关并在那个操作同时产生），也可以是异步的。通常程序错误]]></description><category></category></item><item><title><![CDATA[重读TCP协议]]></title><link>https://blog.csdn.net/vargas/article/details/4579660</link><guid>https://blog.csdn.net/vargas/article/details/4579660</guid><author>vargas</author><pubDate>Tue, 22 Sep 2009 13:20:00 +0800</pubDate><description><![CDATA[TCP 的数据流       TCP的数据流大致可以分为两类，交互数据流与成块的数据流。交互数据流就是发送控制命令的数据流，比如relogin，telnet，ftp命令等等；成块数据流是用来发送数据的包，网络上大部分的TCP包都是这种包。       很明显，TCP在传输这两种类型的包时的效率是不一样的，因此为了提高TCP的传输效率，应该对这两种类型的包采用不同的算法。       总]]></description><category></category></item><item><title><![CDATA[The C10K problem翻译 ]]></title><link>https://blog.csdn.net/vargas/article/details/4575337</link><guid>https://blog.csdn.net/vargas/article/details/4575337</guid><author>vargas</author><pubDate>Mon, 21 Sep 2009 11:14:00 +0800</pubDate><description><![CDATA[The C10K problem翻译 The C10K problem如今的web服务器需要同时处理一万个以上的客户端了，难道不是吗？毕竟如今的网络是个big place了。 现在的计算机也很强大了，你只需要花大概$1200就可以买一个1000MHz的处理器，2G的内存， 1000Mbit/sec的网卡的机器。让我们来看看--20000个客户，每个为50KHz，100Kbyes]]></description><category></category></item><item><title><![CDATA[AIX:栈溢出]]></title><link>https://blog.csdn.net/vargas/article/details/4555558</link><guid>https://blog.csdn.net/vargas/article/details/4555558</guid><author>vargas</author><pubDate>Tue, 15 Sep 2009 17:16:00 +0800</pubDate><description><![CDATA[$cat memset.c（根据实际代码简化）#include#includeint main(){char path[256];memset(path,1,PATH_MAX);} $xlc -g memset.c$a.outIllegal instruction(coredump)$dbx a.outType help for help.[using memo]]></description><category></category></item><item><title><![CDATA[三种不配置tnsnames.ora的另类sqlplus连接数据库方式]]></title><link>https://blog.csdn.net/vargas/article/details/3246234</link><guid>https://blog.csdn.net/vargas/article/details/3246234</guid><author>vargas</author><pubDate>Fri, 07 Nov 2008 13:49:00 +0800</pubDate><description><![CDATA[三种不配置tnsnames.ora的另类sqlplus连接数据库方式2007-04-04 10:061、脚本里在当前目录下自动生成tnsnames.ora：ora =(description=(address=(protocol=tcp)(host=172.19.96.4)(port=1521))(connect_data=(server=dedicated)(serv]]></description><category></category></item><item><title><![CDATA[原罪意识对人观的影响]]></title><link>https://blog.csdn.net/vargas/article/details/1852821</link><guid>https://blog.csdn.net/vargas/article/details/1852821</guid><author>vargas</author><pubDate>Mon, 29 Oct 2007 00:41:00 +0800</pubDate><description><![CDATA[                                                                                                                                                    原罪意识对人观的影响                  ]]></description><category></category></item><item><title><![CDATA[再探结构化设计和面向对象设计方法]]></title><link>https://blog.csdn.net/vargas/article/details/1694579</link><guid>https://blog.csdn.net/vargas/article/details/1694579</guid><author>vargas</author><pubDate>Tue, 17 Jul 2007 11:09:00 +0800</pubDate><description><![CDATA[结构化设计历来备受责备的就是需求和设计之间的鸿沟，以前不是很理解这个鸿沟的原因。现在再看，在结构化设计中模块和模块之间的关系，被紧紧局限于信息流，这限制了对模块之间众多关系的表达，也无法体现模块和模块之间其他的众多关系，包含各种各样的结构、行为、依赖、包含（在结构化设计中这种关系隐含在分层中）、继承、关联关系等等。它仅仅解决了模块在封装和信息隐藏方面的问题。　　再看面向对象设计方法，充分挖掘了]]></description><category></category></item><item><title><![CDATA[TUP的信号消息]]></title><link>https://blog.csdn.net/vargas/article/details/1688492</link><guid>https://blog.csdn.net/vargas/article/details/1688492</guid><author>vargas</author><pubDate>Fri, 13 Jul 2007 15:35:00 +0800</pubDate><description><![CDATA[ l        ACB 接入拒绝信号（Access barred signal）l        ACM 地址全消息（Address complete message (note)）——地址全、计费（ADC）（Address-complete, charge）    ——地址全、免费（ADN）（Address-complete, no charge）    ——地址全、投币式（AD]]></description><category></category></item><item><title><![CDATA[父子进程共享文件表的]]></title><link>https://blog.csdn.net/vargas/article/details/1686149</link><guid>https://blog.csdn.net/vargas/article/details/1686149</guid><author>vargas</author><pubDate>Thu, 12 Jul 2007 10:15:00 +0800</pubDate><description><![CDATA[通过一段小代码，证明当父进程fork后，并没有复制文件表，只是复制了 文件描述符，所以父子进程有同样的 状态标识符，当前位移#include #include #include #include #include int main(int argc,char * argv[]){        int fd;        if((fd=open("lhtmpfile",O_RDWR|O_]]></description><category></category></item><item><title><![CDATA[Your account has expired; please contact your system  ]]></title><link>https://blog.csdn.net/vargas/article/details/1686089</link><guid>https://blog.csdn.net/vargas/article/details/1686089</guid><author>vargas</author><pubDate>Thu, 12 Jul 2007 09:32:00 +0800</pubDate><description><![CDATA[NAME usermod - modify a user accountSYNOPSIS usermod [options] LOGINDESCRIPTION The usermod command modifies the system account files to reflect the changes that are specified on the command]]></description><category></category></item><item><title><![CDATA[电信计费术语]]></title><link>https://blog.csdn.net/vargas/article/details/1685523</link><guid>https://blog.csdn.net/vargas/article/details/1685523</guid><author>vargas</author><pubDate>Wed, 11 Jul 2007 17:35:00 +0800</pubDate><description><![CDATA[                                    CDR                                                     call detail record.                                                     1. A rec]]></description><category></category></item><item><title><![CDATA[简述并行编程]]></title><link>https://blog.csdn.net/vargas/article/details/1626684</link><guid>https://blog.csdn.net/vargas/article/details/1626684</guid><author>vargas</author><pubDate>Sat, 26 May 2007 13:25:00 +0800</pubDate><description><![CDATA[并行编程模式主要有三种，那么三种模式的优劣又是怎样的呢?请看下文:　　并行编程模式主要有以下三种:　　共享地址空间模式:以OpenMP为代表，主要是利用添加并行化指令到顺序程序中，由编译器完成自动并行化。　　消息传递模式:以MPI为代表，PVM是消息传递模式的一个变种。　　数据并行模式:比较少见，但以其独特的处理方式受到特定用户群的喜欢。　　我可以这样打比方:作并行计算好比是盖]]></description><category></category></item><item><title><![CDATA[Virtual Function Access]]></title><link>https://blog.csdn.net/vargas/article/details/1490502</link><guid>https://blog.csdn.net/vargas/article/details/1490502</guid><author>vargas</author><pubDate>Mon, 22 Jan 2007 22:24:00 +0800</pubDate><description><![CDATA[The access for a virtual function is specified when it is declared. The access rules for a virtual function are not affected by the access rules for the function that later overrides the virtual fun]]></description><category></category></item><item><title><![CDATA[error LNK2001: unresolved external symbol _main解决办法]]></title><link>https://blog.csdn.net/vargas/article/details/1490453</link><guid>https://blog.csdn.net/vargas/article/details/1490453</guid><author>vargas</author><pubDate>Mon, 22 Jan 2007 21:33:00 +0800</pubDate><description><![CDATA[解决外部符号错误:_main,_WinMain@16,__beginthreadex EJ,?,$O  在创建MFC项目时, 不使用MFC AppWizard向导,  就会在编译时产生很多连接错误, 如error LNK2001错误, 典型的错误提示有: MMb4 libcmtd.lib(crt0.obj) : error LNK2001: unresolved external symb]]></description><category></category></item><item><title><![CDATA[c/c++ ，java 和c# 谁是英雄 ？]]></title><link>https://blog.csdn.net/vargas/article/details/1488214</link><guid>https://blog.csdn.net/vargas/article/details/1488214</guid><author>vargas</author><pubDate>Sat, 20 Jan 2007 03:16:00 +0800</pubDate><description><![CDATA[刚接到公司的通知，要求确定明年的培训的方向（c/c++和java二选一），也是以后的工作方向。我是一个应届的毕业生，刚和公司签定了就业协议，是一家主要电信计费的公司，签约时间是，五年挺长的所以要谨慎考虑，c/c++还是java呢？这段时间刚好在csdn上又看到关于c/c++和java语言的论战，这次不像以前那样只是看看热闹而已，这可是的关于自己的终生大事啊！还是和以前一样，双方是谁也说服不了]]></description><category></category></item><item><title><![CDATA[用c++写的著名应用程序]]></title><link>https://blog.csdn.net/vargas/article/details/1487542</link><guid>https://blog.csdn.net/vargas/article/details/1487542</guid><author>vargas</author><pubDate>Fri, 19 Jan 2007 13:02:00 +0800</pubDate><description><![CDATA[  C++ Applicationshttp://www.research.att.com/~bs/applications.htmlModified December 13, 2006 Here is a list of systems, applications, and libraries that are completely or mostly written in ]]></description><category></category></item><item><title><![CDATA[c++:过去，现在和将来]]></title><link>https://blog.csdn.net/vargas/article/details/1487537</link><guid>https://blog.csdn.net/vargas/article/details/1487537</guid><author>vargas</author><pubDate>Fri, 19 Jan 2007 12:56:00 +0800</pubDate><description><![CDATA[http://www.hwswworld.com/bs_interview.phpC++: Past, Present and Future System Design Frontier (SDF): Any language leverages the power of expression behind one抯 mind, whether concise or verbose. Writ]]></description><category></category></item></channel></rss>