How to integrate google/pprof into existing services?

Last week, I received the R & D requirements from the leaders and wrote a monitoring service monitor server to analyze the status of the services registered in etcd. Most of the services in the project have introduced the pprof library. To view the / debug/pprof of these services, you only need to go through one layer of proxy. Here, use th ...

Posted on Mon, 04 Nov 2019 04:55:18 -0500 by dgudema

Effect and Effect of PostgreSQL Parameter search_path

A little familiarity with PG makes search_path useful, so there's no need to talk about its usage here. This article focuses on how it is handled in the program. 1. Definition of GUC parameters This is a config_string parameter { {"search_path", PGC_USERSET, CLIENT_CONN_STATEMENT, gettext_noop("Sets the schema search order for names that ...

Posted on Wed, 18 Sep 2019 19:50:19 -0400 by NZ_Kiwis

Change Software Source

1. Reasons Linux systems install and update most software through the package manager, which downloads packages from the server (software source).Most software sources on Linux systems are foreign addresses and access speed is slow. Changing the software source to domestic source can greatly improve the speed of software download and update. 2. ...

Posted on Fri, 12 Jul 2019 12:50:29 -0400 by Basdub

NFS file system usage

NFS File System NFS: Network File System Network File System, a kernel-based filesystem developed by Sun Company. By using NFS, users and programs can access files on the remote system as if they were local files, which is based on RPC (Remote Procedure Call).RPC: In C/S mode, the client requester calls the process to send a call information w ...

Posted on Mon, 20 May 2019 14:14:54 -0400 by youqing

Custom GridView -- Adding or deleting pictures

Brief introduction: click on the'+'icon to add pictures. After adding pictures, Click to view them. Long-click popView, you can choose to delete or view them. This is the effect after running on the free ride simulator, because I set up a row of four pictures, so the interval is a little big. Here are a few points to co ...

Posted on Wed, 15 May 2019 19:50:41 -0400 by hoogie

Configuration and optimization of sshd

The sshd server-side configuration file is / etc/ssh_config Some common parameters in configuration files Common parameters Explain port port number ListenAddress ip IP address monitored LoginGraceTime How long must I log in and disconnect after the connection is initiated PermitRootLogin Whether root is allowed to log in Str ...

Posted on Sat, 11 May 2019 09:01:19 -0400 by horsleyaa

Error: Agent admitted failure to sign

Exceptions and Solutions Error description sign_and_send_pubkey: signing failed: agent refused operationPermission denied (publickey) When you link to coding.net or github.com via SSH under the terminal of a Linux computer, you may see the following code: sign_and_send_pubkey: signing failed: agent refused operation Permission denied (publicke ...

Posted on Thu, 14 Feb 2019 00:45:19 -0500 by Ellypsys

ArcGIS Runtime SDK for Android Learning (17): Display local map data - tpk cache slices

This article mainly explains how to display local tpk cache slice files with ArcGIS Runtime SDK for Android. Implementation steps: 1. Create an Android project 2. Adding Runtime SDK dependencies 3. Adding permissions and OpenGL ES support The first three steps are omitted. Beginners can refer to them. ArcGIS Runtime SDK fo ...

Posted on Tue, 05 Feb 2019 04:09:17 -0500 by sundawg

apache access permission error, apache selinux permission problem, (13) Permission Denied

Today, when using httpd as a file server, we found that the png image was not opened, but the original files in the www/html folder can be opened. Later I guess it's selinux. I always wanted to write a blog about selinux. Now let's mention a point here. To solve the (13) Permission Denied problem in detail, you can refer to apache's official do ...

Posted on Sun, 03 Feb 2019 21:18:16 -0500 by RonDahl

WXConfig, TOKEN and TICKET are pits everywhere.

In the development of Wechat, you often get stuck in a puzzle because you get certain values or configure what settings. So do I. Clearly feel right, but always unsuccessful, this article mainly summarizes the pit I fell into. Wechat Gets openID In the development of Wechat, you may want to get the user's openID as the user's only credent ...

Posted on Fri, 14 Dec 2018 14:45:03 -0500 by AcousticJames