WCF - how to increase message size quota

I have a WCF service that returns 1000 records from the database to the client. I have an ASP.NET WCF client (I added a service reference to the asp.net Web application project to use WCF). The following message was received while running the client application: The maximum message size limit (65536) for incoming messages has been exc ...

Posted on Sun, 26 Jan 2020 23:32:47 -0800 by neilcooper33

Druid Connection Pool for Nine SpringBoot 2 Database Access

Why use a database connection pool Do not use database connection pools: For sites with high concurrency, this can cause the following problems: Every web request establishes a database connection, reusing system resources in the same steps Unable to control the number of connection objects created, sy ...

Posted on Sun, 26 Jan 2020 17:23:07 -0800 by heepofajeep

java operates native mongoDB to query conditions

In recent project development, the company used the native mongo for data operation, and found the following native operation methods for a long time 1. Encapsulate ip and port as ServerAddress object              ServerAddress address = new ServerAddress(ip, port);   2. Next, encapsulate the user name, databas ...

Posted on Sun, 26 Jan 2020 10:54:02 -0800 by salmon

Add, delete, query and modify MySQL tables

Catalog New data Query data Full column query Specify column query Query field is an expression alias Deduplication sort Condition query: WHERE Paging query: LIMIT Modify data Delete data Key summary Around a table, the four most important operations are adding, deleting, querying and ...

Posted on Sun, 26 Jan 2020 05:10:02 -0800 by nelsok

Using Logstash to synchronize Mysql and ElasticSearch data

Preface This article is used to record an operation of synchronizing Mysql data to ElasticSearch in case of forgetting The concept of incremental synchronization Logstash has its own timing task. By default, it moves data from Mysql to ElasticSearch every minute. However, the amount of data in MySQL ...

Posted on Sun, 26 Jan 2020 00:31:09 -0800 by ekalath

Spring Boot Integration - MongoDB Integration 2 (MongoDB Entity Creation and Simple CRUD)

Front of Article About Versions rely on Edition springboot 2.0.8.RELEASE mongodb 4.0.14 This content is just to introduce the most basic use and configuration of mongodb. As a well-known database, it has quite a lot of advanced usage. It will expand to introduce a lot of content. Of cours ...

Posted on Thu, 23 Jan 2020 21:06:36 -0800 by rusty1001

The solution of Sqlachemy cannot be queried in other functions in Flask

Interception of error information: File "D:\python 3.5\lib\site-packages\flask_sqlalchemy\__init__.py", line 912, in get_app 'No application found. Either work inside a view function or push' RuntimeError: No application found. Either work inside a view function or push an application context. See http://flask-sqlalchemy.pocoo.org/con ...

Posted on Thu, 23 Jan 2020 07:20:59 -0800 by Lefu

Rabbitmq? Getting started with spring AMQP

3.Spring AMQP 3.1. introduction Sprin t has many different projects, including AMQP support: Spring AMQP page: http://spring.io/projects/spring-amqp Note the description here: Spring AMQP is the abstract implementation of AMQP protocol, while spring rabbit is the specific implementation of the ...

Posted on Tue, 21 Jan 2020 23:28:01 -0800 by unlishema.wolf

Flyweight mode

I. definition Using sharing technology to effectively support a large number of fine-grained objects. Also known as "fly quantity mode". When it comes to sharing mode, the first thing I think about is pool technology. String constant pool, database connection pool, buffer pool and so on a ...

Posted on Mon, 20 Jan 2020 21:09:42 -0800 by a94060

openstack (queens) multi node manual installation: installation of control node and compute node neutron components

Overview of neutron components Neutron core components provide users with the function of defining network in the cloud platform. It is responsible for managing virtual network components, including Networks, Switches, Subnets and Routers, and also provides some advanced network services, such as Load ...

Posted on Mon, 20 Jan 2020 08:37:39 -0800 by Wayne Herbert