thrift framework source code: client

With Simple use of thrift framework Take this article as an example, use gdb to trace the execution process of the client to learn the source code of thrift. First post the client code: #include "gen-cpp/Hello.h" #include <transport/TSocket.h> #include <transport/TBufferTransports.h> #in ...

Posted on Fri, 18 Oct 2019 15:32:44 -0700 by fitzbean

thinkphp5 combined with Swoole to develop WebSocket online chat communication system

To use Swoole in ThinkPHP, you need to install the think Swoole composer package, provided that the system has installed the Swoole PECL extension. To install think swoole, execute the composer command in the project root directory of tp5: composer require topthink/think-swoole If you don't say much, go straight to the code: To create a WebSock ...

Posted on Wed, 16 Oct 2019 08:35:14 -0700 by coldfiretech

Analysis of IP resolution exception and source code of dubbo registration service

https://www.cnblogs.com/leo-li-3046/p/5702479.html   When using dubbo to register the service, you will encounter an IP resolution error which will result in the failure of normal access. For example, the IP address of this computer is 172.16.11.111, but the actual resolution is 180.20.174.11. As a ...

Posted on Tue, 15 Oct 2019 09:08:15 -0700 by PHP Monkeh

RocketMQ Master-Slave Synchronization Source Code Analysis

Wechat Public Number "Back-end Advancement" focuses on back-end technology sharing: Java, Golang, WEB framework, distributed middleware, service governance and so on. A previous article on the difference between RocketMQ queues and Kafka partitioned replicas mentioned that RocketMQ message redundancy is mainly achieved through master- ...

Posted on Mon, 14 Oct 2019 05:11:02 -0700 by brewmiser

Notes on lwIP TCP/IP stack II: Configuration file opt.h & lwipopts.h

Catalog 1. introduction 2. Configuration opt.h description 2.1 Infrastructure NO_SYS Timers memcpy Core locking and MPU Heap and memory pools Internal memory pools SNMP MIB2 callbacks Multicast Threading Checksum Hooks (hook option) 2.2 IPv4 ARP IP ICMP DHCP AUTOIP IGMP 2.3 Call ...

Posted on Fri, 11 Oct 2019 11:38:00 -0700 by ywickham

[Solution] Kali Linux DHCP Automatic Access IP Failure VMWare Bridge

Links to the original text: http://www.cnblogs.com/blackblade/p/3688097.html root@kali:~# service networking restart [....] Running /etc/init.d/networking restart is deprecated because it may not r[warnble some interfaces ... (warning) ...

Posted on Thu, 10 Oct 2019 15:21:35 -0700 by balacay

Spring Cloud Upgrade

Upgrade related project components: eureka-server registry config-server configuration center zipkin-server link tracking admin-server monitoring center gateway-service gateway user-server user service uaa-service authorization center log-service log Center client-server business service <java.version>1.8</java.version> from Spri ...

Posted on Thu, 10 Oct 2019 12:29:49 -0700 by natasha_thomas

A Plug for UNIX (Network Flow-Maximum Flow-dinic Algorithms)

A Plug for UNIX (Network Flow-Maximum Flow-dinic Algorithms) judge: POJ 1087 Time Limit: 1000MS Memory Limit: 65536K source: East Central North America 1999 Description You are in charge of setting up the press room for the inaugural meeting of the United Nations Internet eXecutive (UNIX), which ha ...

Posted on Wed, 09 Oct 2019 23:25:59 -0700 by Entanio

Talk about nacos'TcpSuperSense Processor

order This paper mainly studies the TcpSuperSense Processor of nacos. TcpSuperSenseProcessor nacos-1.1.3/naming/src/main/java/com/alibaba/nacos/naming/healthcheck/TcpSuperSenseProcessor.java @Component public class TcpSuperSenseProcessor implements HealthCheckProcessor, Runnable { @Autowired private HealthCheckCommon healthCheckCommon; ...

Posted on Wed, 09 Oct 2019 07:58:53 -0700 by chordsoflife

docker mysql container mount using-data file_configuration file

mysql container use-data file_configuration file mount Download mirroring [root@silence ~]# docker pull docker.io/mysql:5.6 [root@silence ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/mysql 5.6 95e0fc47b096 11 days ago 257 MB docker.io/mysql ...

Posted on Wed, 09 Oct 2019 05:44:00 -0700 by bloodl