tensorflow serving java case

Background introduction This article is a reference case for tensorflow serving java api, basically introducing the use of the core API of TFS. The case is divided into three parts: Dynamic Update Model: Used to load the model dynamically when TFS is in runtime. Getting model state: Used to get basic information about the loaded model. Online ...

Posted by narch31 on Thu, 16 May 2019 21:21:55 -0700

Examples of curl usage

This article will introduce the use of curl. According to the common scenarios, it will provide the demo code and server code for calling curl to realize the request, which is convenient for everyone to learn and use. 1. View the Web Source Code The curl command is followed by a web address, so you can see the source code of the web page. ...

Posted by davidcriniti on Thu, 16 May 2019 16:04:56 -0700

High Availability Load Balancing by lvs+keepalived

I. lvs 1. Noun Interpretation LVS is the abbreviation of Linux Virtual Server, which means Linux Virtual Server, is a virtual server cluster system. 2. Technical introduction of LVS The following quotation is from Baidu Encyclopedia [1] Technical Introduction LVS cluster adopts IP load balancing technology and con ...

Posted by raister on Thu, 16 May 2019 03:03:41 -0700

Openresty reverse proxy returns non-200 for retry to custom upstream

By using error_page instruction, the status codes of 404, 302 etc. returned by the reverse proxy are processed twice for sub-requests. Client - [1] - > nginx proxy < - [2] - > Site A (return 404, 302) |[3] V Site B (return 200) For example, as a CDN service, ...

Posted by guido88 on Tue, 14 May 2019 18:33:26 -0700

Sending SMS via Mobile Cloud MAS with PHP

background The client sends a request to the server and informs the user by short message. This is a very common way of pushing messages. This time, we need to do the same. The mobile short message platform we choose is 10086 cloud MAS platform, and the interface is the simplest HTTP interface. programme SMS platform data interfa ...

Posted by gnu2php on Tue, 14 May 2019 03:06:21 -0700

ES Learning Record 3 - Search Interface in ES

5. search _ES provides 2 search methods: REST-style request URI, which takes the parameters directly; Encapsulated in request body, this way can define a more readable JSON format; _The case of URI search through REST style is as follows: curl -X GET "localhost:9200/bank/_search?q=*&sort=account_number:asc&pretty" S ...

Posted by unify34 on Sun, 12 May 2019 03:42:54 -0700

Docker Quick Verification of tomcat Single-machine Multi-instance Scheme

Summary The main idea is to solve the problem. Of course, there are as detailed steps as possible. Interested children's shoes can be practiced step by step. Because of the operation and maintenance profession, it is basically the accident as a story to write, I hope I can like it. origin For at least 10 years, I haven't played Tomcat on the f ...

Posted by Kifebear on Sat, 11 May 2019 23:14:30 -0700

Docker Learning: Image's Local Storage Architecture

Written in front docker pull, docker build and docker commit are commonly used for image manipulation when using Docker. But after a bloody lesson, I've given up this command for a long time. It's probably known that Images are made up of innumerable Layer s in Docker, but Image How is it stored locally? What changes will these operations bring ...

Posted by amalosoul on Wed, 08 May 2019 13:00:40 -0700

Spring Boot 2 Dynamic Modification Log Level

This paper is based on: Spring Boot 2.1.3, which supports all versions of Spring Boot 2.x theoretically. As a programmed ape, positioning is our daily work, and log is a very important basis for positioning. When locating problems in traditional ways, the following steps are often taken: Set the log level low, such as DEBUG; Restart the appl ...

Posted by dstockto on Mon, 06 May 2019 15:05:39 -0700

Build a machine learning system like Google 2 - Develop your machine learning workflow

according to Last article After setting up a set of Kubeflow Pipelines, we'll try it out together and use a real case to learn how to develop a machine learning workflow based on Kubeflow Pipelines. Dead work Machine learning workflow is a task-driven process as well as a data-driven process, which involves data import and preparation, model tr ...

Posted by Neumy on Sat, 27 Apr 2019 19:50:36 -0700