• How golang uses native RPC and microservices


    [TOC] How golang uses native RPC and microservices Microservices 1. What is micro service A set of small services is used to develop a single application. Each service runs in an independent process. It is generally interconnected by lightweight communication mechanism, and they can be deployed in an automatic way Micro service is a design […]

  • The evolution of quic protocol


    When transmitting data over the network, a new protocol quic (quick UDP Internet connection) is becoming the default choice of faang. This article describes how quic protocol overcomes the limitations of other versions of HTTP. Faang is the acronym of the five most popular and best performing technology stocks in the U.S. market, namely Facebook, […]

  • There are two versions of PHP in Ubuntu system. The default version is PHP


    Execute PHP – V PHP 7.2.24-0ubuntu0.18.04.8 (cli) (built: Jul 5 2021 17:41:32) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.24-0ubuntu0.18.04.8, Copyright (c) 1999-2018, by Zend Technologies whereis php php: /usr/bin/php /usr/bin/php7.2 /usr/lib/php /etc/php /usr/include/php /usr/local/php /usr/share/php7.2-xml /usr/share/php /usr/share/php7.2-common /usr/share/php7.2-json /usr/share/ php7.2-opcache /usr/share/php7.2-readline […]

  • Build a live broadcast system and realize H5 playing RTMP


    RTMP protocol can only be used for streaming, and RTMP protocol and HLS protocol can be used for streaming. RTMP protocol is an open protocol developed by Adobe, and HLS is a live broadcast protocol launched by apple. We use nginx’s RTMP plug-in to build the streaming server RTMP live server based on nginx Install […]

  • Increase efforts to “kill” third-party browsers? Microsoft then “boot” windows 11 users to use Microsoft edge by default


    Recently, foreign media reported that there are many cases showing that Microsoft is trying to “guide” windows 11 users to use Microsoft edge by default by increasing the difficulty of accessing third-party browsers. It is reported that Microsoft has not displayed the third-party browser in the UI at present, which may be “pushing” users to […]

  • Yylabel’s use notes and some stepped pits


    This paper only records the author’s use of yylabel related functions and some small pits he stepped on. Basic use Small problems encountered during use 1.1 simply add color, modify some fonts, add events, etc Nsstring * operatestr = @ “before you use * * * *, you must carefully read and fully understand the […]

  • SpringBoot2. 0 supports HTTPS access


    Bought dapideng COM, naturally HTTPS. In fact, in previous blogs, the issue of configuring certificates has long been mentioned, but this time it has become springboot, which has a built-in Tomcat container, which is different from packaging the project under Tomcat. The certificate is a free certificate applied by alicloud. It is placed under the […]

  • Linux + Apache cross domain configuration


    To understand cross domain, we must first understand the homology strategy. Homology policy is a very important security policy implemented for security in browsers. What is homology URLs are composed of protocol, domain name, port and path. If the protocol, domain name and port of two URLs are the same, it indicates that they are […]

  • Cross domain request backend configuration


    $origin = isset($_SERVER[‘HTTP_ORIGIN’])? $_SERVER[‘HTTP_ORIGIN’] : ”; $allowOrigin = [ ‘https://xx.com’, ‘https://xx2.com’, ‘http://xx.com’, ]; if (in_array($origin, $allowOrigin)) { header(“Access-Control-Allow-Origin:”.$origin); } header(‘Access-Control-Allow-Headers: X-Requested-With,X_Requested_With’); header(‘Content-type: text/json; charset=utf-8’); header(‘Access-Control-Allow-Methods: POST,GET’); This work adoptsCC agreement, reprint must indicate the author and the link to this article focus

  • Online http / HTTPS protocol get, post, restful interface test


    Online http / HTTPS protocol get, post, restful interface test Online http / HTTPS protocol get, post, restful interface test It can simulate HTTP protocol online to test post and get requests, including delete requests, put requests, patch requests, head and options requests, customize header and cookie information, support setting various parameters, and provide test […]

  • Enable tls1.0 in Windows 2008 2TLS1. 0


    1、Ssltools toolEnable tls1_ 2 agreement 2. Check three TLS protocols and restart the system. If PFS is not supported, select ecdhe and DHE in the encryption suite. Method 2 1. Tls1 can be enabled using IIS crypto tools_ 2 agreement Run the software on the server, click the “bes” button, and then ensure that TLS […]

  • Multiple arrays to determine whether the key value has a dependency relationship


    $products = array( [‘id’ => 1,’name’ => ‘A’,’catid’ => 5], [‘id’ => 2,’name’ => ‘B’,’catid’ => 6], [‘id’ => 3,’name’ => ‘C’,’catid’ => 7], ); $category = [ [‘id ‘= > 5,’ name ‘= >’ Category 1 ‘], [‘id ‘= > 6,’ name ‘= >’ Category 2 ‘], [‘id ‘= > 99,’ name ‘= >’ […]