Local access to Predix database using PH
Author: Li Hongxun, Front End Engineer, GE Digital Group
scene
Because of security considerations, data services do not have external IPS and ports on Predix, so we can only access app s deployed on Predix, which can cause some development inconvenience.For example, we may need to import local data into postgres, or we may want to look at ...
Posted by ming_andrada on Mon, 01 Jul 2019 10:05:43 -0700
Some basic concepts of netty
netty Literacy
> The purpose of this article is to have a general impression of netty, so that we can have a deep understanding of some basic concepts before netty.
brief introduction
NIO Communication Framework
The number of connections supported by a single point is related to machine memory (about 10W + 1G memory), not to the maximum num ...
Posted by DeathRipple on Sun, 30 Jun 2019 17:47:15 -0700
Things about WebSocket
Push TechnologyBy establishing a long connection between the client and the server, the client can receive messages sent by the server from time to time.
(1) polling method based on ajax:
Using JQuery encapsulated $. ajax to build polling is shown below, and the polling is conducted every five seconds, regardless of whether the request is succe ...
Posted by jabapyth on Fri, 28 Jun 2019 14:01:38 -0700
Java Extensible IO
Java Extensible IO
Doug Lee
outline
Extensible Network Services
event driven
Reactor mode
Basic Edition
Multithreaded version
Other Variations
Overview of blocking IO API s in java.io packages
Network Application Server
Web server, distributed object system, etc.
Their common features
Read Request
Decode Request Message
Business Processin ...
Posted by johanafm on Thu, 27 Jun 2019 14:31:29 -0700
Nest, a TypeScript-based ode.js framework, is officially released! (2)
This article is a translation with the original address: https://kamilmysliwiec.com/nest-final-release-is-here-node-js-framework-built-top-of-typescript Author, @Kamil My liwiec
The address of the last article is: https://segmentfault.com/a/1190000009560532
Middlewares
Middleware is a function that is called before a routing handler. Middlewa ...
Posted by wscreate on Thu, 27 Jun 2019 11:28:50 -0700
phonegap framework
First, take a look at the phonegap initialization process and the flow chart of Native and JS interaction.
Description: In socket server mode, phonegap.js source code implements an XHR request in 1 millisecond, when there is JS statement data in the Native JS queue, it is the real 1 millisecond call; when there is no data, scok ...
Posted by jon23d on Wed, 26 Jun 2019 16:40:34 -0700
The Engine in netty--EventLoop and Its Implementation Source Code Analysis of NioEventLoop-like
EventLoop
In introducing the initialization and start-up process of Bootstrap, we touched NioEventLoopGroup several times. To understand this class, we also need to understand netty's thread model. NioEventLoopGroup can be understood as a set of threads, each of which can handle io events generated by multiple channel s independently.
Initializ ...
Posted by AbeFroman on Wed, 26 Jun 2019 11:27:06 -0700
Vue.js Learning 9 Components
I. Using Components
1. Registration
Create a Vue instance:
new Vue({
el: '#some-element',
// option
})
To register a global component, you can use Vue.component(tagName,options)
Vue.component('my-component', {
// option
})
Use w3c rules (lowercase, with a short bar) as much as possible for custom tag names.
After the component ...
Posted by jase01 on Tue, 25 Jun 2019 13:29:21 -0700
Redis serialization protocol
RESP Send Command Format
The sending command format RESP specifies the following format for a command. CRLF stands for "r\n":
* < Number of Parameters > CRLF
Number of bytes in parameter 1 > CRLF
Parameter 1 > CRLF
...
Number of bytes of parameter N > CRLF
Parameter N > CRLF
In the case of set hello world, what yo ...
Posted by zeno on Tue, 25 Jun 2019 12:00:30 -0700
unity Explorer's socket Transmits protobuf Byte Stream (I)
Recently, in a chess and card project, we need to use socket to transmit protobuf byte stream. After searching some blogs and articles on the Internet, we found that there is no particular comprehensive, so we can share all the source code of our research with you. Because we have just started, there may be some shortcomings. Welcome to pat bri ...
Posted by joshuamd3 on Sun, 23 Jun 2019 12:50:43 -0700