Learning content: dictionary type built-in method

Dictionary type built in method dict (Master) Purpose: save multiple values, but each value has a key corresponding to it. The key has the function of describing the value. Most of the stored values represent different states, such as name, age, height, weight and hobbies. Definition: {} multiple elements are separated by commas. Each element ...

Posted on Mon, 04 Nov 2019 16:32:15 -0500 by fxb9500

POJ2411 Mondriaan's Dream pressure + contour dp

Portal   Sol First of all, it's probably easy to think about the pressure The general way is to enumerate each state and judge the transition But here we can actually outline dp That is, from top to bottom, from left to right Let's say we've put it in $(i,j) $now So what affects how to fill in this position is actually the state from t ...

Posted on Sat, 02 Nov 2019 12:44:03 -0400 by runner

elixir/erlang memory leak troubleshooting.

Preface For server programs, memory leakage is a common problem. In the case of erlang, there is no need for programmers to manage memory manually. If c driver is not written, general memory problems are easy to locate. This blog summarizes common types of memory leakage and troubleshooting methods. Memory leak type process leak If there is no ...

Posted on Sun, 20 Oct 2019 16:41:05 -0400 by Niccaman

How much do you know about RabbitMQ?

1. Introduction to RabbitMQ A message queue, comparable to redis, can be described as a container for storing messages during transmission. Now the mainstream message queues are: RabbitMQ, ActiveMQ, Kafka and so on. The following figure describes them separately. 2. RabbitMQ uses: 2.1: Sinc ...

Posted on Tue, 01 Oct 2019 19:03:12 -0400 by Rairay

Introduction to RabbitMQ and examples of integration with SpringBook

What is a message queue Message refers to the data transmitted between applications. Messages can be very simple, such as containing only text strings, or more complex, possibly embedded objects. Message Queue (Message Queue) is a way of communication between applications. Messages can be sent back immediately, and the message system ensures th ...

Posted on Thu, 22 Aug 2019 23:06:50 -0400 by cdinca

RabbitMQ of Queue Factory

This time I share with you the usage of RabbitMQ queue, the previous article Queue Factory (MSMQ) RabbitMQ should be one of the most frequently used message queues in Internet companies nowadays. Look at recruitment, there will be this word. She has more diversified configuration and installation steps than the previous shared MSMQ. The biggest ...

Posted on Sat, 20 Apr 2019 00:42:33 -0400 by sheephat

PHP AMQP Extended Installation for RabbitMQ Learning

introduce AMQP is simply a high-level queue protocol. This extension is designed to enable php to support AMQP protocol communication with related queue services. Advantages: It can solve the concurrency problem of server processing. Advanced Message Queuing Protocol (AMQP) is an application layer protocol specification used for asynchronou ...

Posted on Fri, 19 Apr 2019 15:09:33 -0400 by hellrising

How to Start Learning Elixir

Portal! Portal is a game that relieves puzzles by delivering players'characters or simple items to different locations. Players use a delivery gun to shoot at a floor or wall-like plane to create an access portal: This tutorial will use Elixir to implement such portals: We will use different colors to create doors and transfer data between the ...

Posted on Sun, 07 Apr 2019 00:27:30 -0400 by sader

Erlang/Elixir: Port Driver for External Communication

Series:Erlang/Elixir: External Communication-NIFErlang/Elixir: Port Driver for External CommunicationErlang/Elixir: A-C Node for External Communication This paper is the first article of Erlang/Elixir's communication with the outside world. It describes the basic concept of port-driven and the way of communication with the outside world. At pr ...

Posted on Sat, 06 Apr 2019 17:12:31 -0400 by robdavies

Elxir High Availability Series (V) Supervisor

Summary OTP platform has high fault tolerance because it provides a mechanism to monitor the status of all processes. If there is an exception to the process, it can not only detect the error in time, but also restart the process. Supervior can effectively improve the availability of the system. A supervior can supervise one or more application ...

Posted on Thu, 21 Mar 2019 06:30:52 -0400 by hazel999