Using innodb_force_recovery to solve the problem that MySQL server crash cannot restart

One backgroundThe following error occurred when a friend of an entrepreneur restarted MySQL service because the disk array damaged the crash machine: InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... InnoDB: Doing recovery ...

Posted by SulkyGirl on Tue, 08 Jan 2019 00:12:09 -0800

Java Canning: Character Streams in the Official Guide to I/O Streams

Included in this album: Overview and Index of I/O Stream Official Chinese Guide Series Most of the content comes from The Java™ Tutorials Official guidelines, the rest from other sources such as Translation of ifeve imooc, book Android interview book and so on.Author: @youyugePersonal blog sites: https://youyuge.cn I. What is Character Stream ...

Posted by alexk1781 on Mon, 07 Jan 2019 09:03:09 -0800

socket Network Programming (TCP/IP, UDP) in Python

Socket is a basic component of network programming. Sockets are basically "information channels" between programs with two endpoints. Programs may be distributed on different computers, sending information to each other through sockets. Sockets include two: server sockets and client sockets. After creating a server socket, let it wai ...

Posted by sader on Mon, 07 Jan 2019 00:21:11 -0800

Java Network IO (BIO,NIO,AIO)

Java Network IO (BIO,NIO,AIO) 1.BIO BIO, called Block-IO, is a synchronous blocking communication mode. Stock IO is commonly referred to as BIO. It is a more traditional way of communication with simple mode and convenient use. However, the transmission processing capacity is low, communication time-consuming and depends on ...

Posted by Orkan on Sun, 06 Jan 2019 18:09:10 -0800

MINA, Netty, Twisted Learning Together (11): SSL/TLS

What is SSL/TLS Network communication without using SSL/TLS is usually plaintext transmission. Network transmission content is easy to be eavesdropped or even tampered with in the transmission process, which is very insecure. The SSL/TLS protocol is designed to solve these security problems. The SSL/TLS protocol is located on top of TCP/IP prot ...

Posted by nosheep on Sat, 05 Jan 2019 11:33:09 -0800

Hot restart golang server

Server-side code often needs to be upgraded. For online system upgrade, the usual method is to ensure that at least one service is available through the front-end load balancing (such as nginx) to upgrade, in turn (gray level). Another more convenient way is to do hot restart in the application, upgrade the application directly and keep servin ...

Posted by s4salman on Thu, 03 Jan 2019 19:12:09 -0800

SO_REUSEADDR and SO_REUSEPORT socket options for TCP/IP programming

Basic concepts: The SO_REUSEADDR socket option has four different functions: (1) SO_REUSEADDR allows you to start a listening server and bundle well-known ports, even though previously established ports still exist as their local ports. This condition is usually met as follows: A) Start a listening server; b) Connect to the req ...

Posted by YappyDog on Wed, 02 Jan 2019 09:51:09 -0800

Django|Nginx|Uwsgi|Redis|Websocket Configuration, Use and Deployment

Introduction Where to Start mysql installation Install Nginx Install php virtual environment Redis Installation and Configuration Redis installation Configure redis to use unix domain sockets Configure Redis as the back end of django session storage and caching django-websocket-redis install To configure deve ...

Posted by TheBentinel.com on Tue, 01 Jan 2019 09:51:08 -0800

Android N RIL AT command synchronization & asynchronous extension process

Combining two blog posts: 1. The original address: http://blog.csdn.net/guoleimail/article/details/41649537 2. Optimize the original address: http://blog.csdn.net/yuxiangyunei/article/details/42809543 Reference blog: 1,http://blog.csdn.net/linyongan/article/details/52189217 2,http://blog.csdn.net/linyongan/article/details/52151651 Note: ...

Posted by raymedia on Thu, 27 Dec 2018 18:57:07 -0800

python 53rd Day - Process, Collaboration. select. Asynchronous I/O...

Process: 1 #!usr/bin/env python 2 #-*-coding:utf-8-*- 3 # Author calmyan 4 import multiprocessing,threading,time 5 6 def run(name): 7 t=threading.Thread(target=run2)#Create new threads 8 t.start() 9 print('process[%s],In printing...'%name) 10 time.sleep(1) 11 12 def run2(): 13 print(threading.get_ident())#Print t ...

Posted by hotmonkey on Mon, 24 Dec 2018 10:00:07 -0800