Tag:Client

  • Why does OAuth need refresh token in addition to access token?

    Time:2022-6-10

    What is the purpose of a “Refresh Token”? Question: I have a program that integrates with the YouTube live streaming API. I use the refresh token every 50 minutes to obtain a new access token. My question is, why does OAuth design dual tokens? When I authenticate with youtube, it gives me a refresh token. […]

  • How to install and deploy owncloud?

    Time:2022-6-10

    Owncloud is a free and open source client-side to server software that can be used as a personal cloud storage solution. It includes two parts: server and client.Owncloud is similar to Baidu network disk. It can perform cloud backup and store pictures, videos and documents in the cloud.Ownclowd function·Storage: pictures, documents, videos, contacts and others·Client […]

  • How to design the token between the mobile end and the server end?

    Time:2022-6-10

    Author: be a front end Link:https://www.jianshu.com/p/e07f51c5c8bd There seems to be no detailed explanation on the use of tokens between mobile client and server data transmission on the Internet, which is basically a one-off description. For simply adding a fixed parameter token, it is easy to capture packets. introduce The token is an encrypted string returned […]

  • Summary of multi person blog management project

    Time:2022-6-10

    giteeBaidu network diskExtraction code: b2et Blog — source code directory └ — config — configuration file ├── development. JSON — development environment configuration ├── default. JSON — default configuration ├── production. JSON — production environment configuration └── custom-environment-variables. JSON — private environment variable └ – Middleware └──loginGuard. JS login interception └ — Model — database […]

  • Structural type: IV proxy pattern

    Time:2022-6-9

    What is the proxy mode Proxy mode is a structural design mode, which allows you to provide a substitute for the real service object to the client. The proxy receives the client’s request and performs some processing (access control, caching, etc.), and then passes the request to the service object. Why proxy mode In some […]

  • What is socket programming in Python?

    Time:2022-6-9

    Summary:This article covers all areas of socket programming using python. Sockets can help you establish these connections, and python can undoubtedly simplify them. This article is shared from Huawei cloud community《Learn Python from scratch | what is socket programming in Python and how to master it?》, original author: Yuchuan. It is undeniable that the Internet […]

  • The second anniversary of rocketmq spring’s graduation, why can it become the most popular messaging implementation in the spring ecosystem?

    Time:2022-6-9

    Author | rocketmq official wechatSource|Alibaba cloud native official account In January, 2019, rocketmq spring, which has been incubated for 6 months, officially graduated as a subproject of Apache rocketmq, and released the first release version 2.0.1. The project encapsulates the rocketmq client in the way of spring boot, allowing users to send and consume messages […]

  • For example, gorpc of chestnut – encoding and decoding of messages

    Time:2022-6-9

    The first RPC in 2022 is a little earlier than the previous one Stay in Hangzhou for the new year Write something Initialize project gorpc With go module, we can easily create a new project mkdir gorpc go mod init github.com/taadis/gorpc // output: go: creating new go.mod: module github.com/taadis/gorpc Message conventions The communication between RPC […]

  • Which solution do you prefer for distributed session?

    Time:2022-6-9

    I found a shopping mall. Before I log in, I can add items to the shopping cart. After adding several items, I am ready to pay. I need to log in first and pay after logging in. At present, many shopping malls require users to log in first, and then add goods to the shopping […]

  • Live broadcast review | overview of new features of Apache pulsar 2.10.0

    Time:2022-6-9

    About streamnational Streamnational is an open source basic software company, which is formed by the founding team of Apache pulsar, a top-level project of Apache Software Foundation, to build a next-generation cloud native batch stream fusion data platform around pulsar. As a commercial company of Apache pulsar, streamnational focuses on open source ecology and community […]

  • Redis distributed lock case

    Time:2022-6-8

    1. component dependency First, we need to introduce the jedis open source component through Maven. In pom Add the following code to the XML file: <dependency> <groupId>redis.clientsgroupId> <artifactId>jedisartifactId> <version>2.9.0version> dependency> 2. locking code First show the code, and then slowly explain why it is implemented in this way: //Java project fhadmin cn public class RedisTool […]

  • MySQL connection parameter Max_ connect_ errors

    Time:2022-6-8

    Relevant parameters: mysql> show variables like ‘%max_connect_errors%’; +——————–+——-+ | Variable_name | Value | +——————–+——-+ | max_connect_errors | 3 | +——————–+——-+ 1 row in set (0.00 sec) If a host continuously requests mysql, and these requests are interrupted because of network delay. When the cumulative value of these continuous requests is greater than this parameter, the […]