TensorRT/parsers/caffe/caffeParser/opParsers/opParsers.h source code study

TensorRT/parsers/caffe/caffeParser/opParsers/opParsers.h source code study TensorRT/parsers/caffe/caffeParser/opParsers/opParsers.h function pointer function pointer as template argument std::unordered_map Reference link TensorRT/parsers/caffe/caffeParser/opParsers/opParsers.h /* * Copyright (c) ...

Posted by mrjiggyhill on Tue, 04 Feb 2020 07:59:00 -0800

Talk about network healthcheck of artemis

order This paper focuses on the network health check of artemis NetworkHealthCheck activemq-artemis-2.11.0/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/NetworkHealthCheck.java public class NetworkHealthCheck extends ActiveMQScheduledComponent { private static final Logger logger = Logger.getLogger(NetworkHealthCheck ...

Posted by jasonc310771 on Tue, 04 Feb 2020 06:34:14 -0800

Mybatis learning notes - annotation configuration development

Overview: 1. Preparation Create a database and user table, account table (using mysql) Entity class User Entity class Account dao.UserDao dao.AccountDao 2. XML configuration file Mybatis-config.xml.xml (under resources directory) 3. Operation test UserDaoTest AccountDaoTest 4. note: Project ...

Posted by rake on Tue, 04 Feb 2020 01:28:48 -0800

Use Spring Security for security control in Spring Boot learning

Security configurations are often used in development, and users who do not have access need to go to the login form page.There are many ways to achieve access control, including through Aop, interceptors, and frameworks (such as Apache Shiro, Spring Security). We describe how Spring Security is used fo ...

Posted by Nickosssss on Mon, 03 Feb 2020 18:07:37 -0800

RocketMQ practice -- high concurrency seckill scenario

1. Preface Seckill is essentially a short-term, sudden and high concurrent access problem. Its business features are as follows: Triggered by timing, the flow suddenly increases in an instant Only some of the requests for seckill are successful Seckill products are often limited in quantity, not over ...

Posted by fatepower on Sun, 02 Feb 2020 22:06:54 -0800

mybatis notes (open)

Development environment jdk1.8 maven mysql8.0 1, guide package 2. Configure config (including write db.properties) db.properties: driver=com.mysql.cj.jdbc.Driver url=jdbc:mysql://localhost:3306/mybatis?useSSL=false&serverTimezone=UTC mybatis-config.xml: <?xml version="1.0" encoding="UT ...

Posted by Sa177ir on Sun, 02 Feb 2020 10:15:51 -0800

Batch deployment of apache based on Saltstack

What is SaltStack SaltStack management tool allows administrators to create a consistent management system for multiple operating systems Preparation of experimental environment Name role address centos7-min master 192.168.142.172 centos7-min2 client 192.168.142.110 Experimental steps ...

Posted by Adastra on Sun, 02 Feb 2020 07:32:55 -0800

Simple example of using Hystrix in Spring cloud (Spring cloud learning Note 6)

1, Analysis of current architecture problems 1.1 problem analysis Our current architecture is shown in the figure below. Eureka is used for service discovery service registration, and Ribbon is used for load balancing. Now let's assume that if the service provider's response is very slow, the servic ...

Posted by srfdriver22 on Sun, 02 Feb 2020 05:01:29 -0800

Talk about artemis' individual knowledge

order This paper mainly studies the individual knowledge of artemis acknowledge activemq-artemis-2.11.0/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessage.java public class ActiveMQMessage implements javax.jms.Message { //...... public void acknowledge() throws JMSException { if (session != nul ...

Posted by dylan001 on Sat, 01 Feb 2020 06:06:02 -0800

Construction of eureka Registration Center

Is there a problem? Briefly review what we have just written: Service provider: a microservice that provides querying users according to their id. Service consumer: a service caller who calls service provider remotely through RestTemplate. What's the problem? In consumer, we hard cod ...

Posted by Vorotaev on Sat, 01 Feb 2020 02:13:45 -0800