Tag:time

  • Process function: a versatile tool in Flink datastream API

    Time:2021-1-19

    stayFlink’s time and watermarksIn this article, the related contents of Flink’s time and water level are described. You may have to ask, how do I access timestamps and watermarks? First of all, you can’t access it through the normal datastream API. You need to use the underlying API process function provided by Flink. Process function […]

  • JS front end for a large number of data display and processing

    Time:2021-1-19

    Recently, I temporarily separated from the demonstration project and started the more common form and list based projects in the company.Do one, love one. From the beginning, I felt that I had done a cool demonstration project, which was a small meaning for me. I began to step on the pit slowly, and had some […]

  • Flink’s time and watermarks

    Time:2021-1-18

    When we use Flink, we can’t avoid dealing with time and watermarks. Understanding these concepts is the basis of developing distributed flow processing applications. What temporal semantics does Flink support? How does Flink handle out of order events? What is the water line? How are watermarks generated? What is the transmission mode of water level? […]

  • Idea Hadoop development environment

    Time:2021-1-18

    Recently, I built a small cluster and organized ithadoopThe development environment of Internet Build project Choose Maven project when building Configuration of maven https://github.com/yishenggudou/examplehadoop/blob/master/pom.xml compile It was used when compilingmaven-assembly-pluginPlug ins can be directly packaged as dependency packages function Copy file to Hadoop cluster machine hadoop jar xx.jar $1 $2 code The code of the […]

  • Redis implementation of distributed lock and task queue

    Time:2021-1-18

    1、 Text As we all know, there are many second killing activities on e-commerce websites such as tmall, Jingdong, Suning, etc. for example, when you rush to buy a mobile phone with the original price of 1999, now the second killing price is only 999, there will be a peak period of user requests, and […]

  • Get the value of cookie, set cookie and delete cookie

    Time:2021-1-18

    Get the value of cookie, set cookie and delete cookie About more daily use of public class operation method, you can pay attention to the next small website http://www.feiaci.com/#/self/… /** *Gets the value in the cookie * @param {String} key */ export const getCookie = (key) => { const arr = document.cookie.match(new RegExp(`(^| )${key}=([^;]*)(;|$)`)); if […]

  • Summary of recent use of gin

    Time:2021-1-17

    Recently, a new project is developed by using gin. Some problems are encountered in the process. To sum up, as a note, I hope it can help you. Cross domain problems Middleware: func Cors() gin.HandlerFunc { return func(c *gin.Context) { //Here you can use * or the domain name you specify c.Header(“Access-Control-Allow-Origin”, “*”) //Allow header […]

  • Why to avoid big business and how to solve big business?

    Time:2021-1-17

    What is a big deal The running time is relatively long, and the transaction that has not been committed for a long time can be called a large transaction The cause of big business The operation data is quite large A lot of lock competition There are other non DB time-consuming operations in the transaction […]

  • Looking at infinite data stream through window

    Time:2021-1-16

    Welcome to my official account.Big data technology and data warehouse Get 100 g big data for free Window is one of the most commonly used operators in flow computing. Infinite flow can be cut into finite flow by window, and then calculation function can be used on each window to realize very flexible operation. Flink […]

  • ICalendar learning record

    Time:2021-1-16

    brief introduction ICalendar is the standard for calendar data exchange (RFC 5545). This standard sometimes refers to “ical”, which is a calendar software with the same name produced by apple, and this software is also an implementation of this standard. Website records Document class library Standardization description Python class library PHP handler other Personal blog […]

  • Tkinter (24) check button unit ttk.Checkbutton

    Time:2021-1-15

    Creation of TTK check button part and its options w = ttk.Checkbutton(parent, option=value, …) option explain class_ Component classification name cannot be changed after creation command The function called by the component compound The position of the image relative to the string, tk.TOP/BOTTOM/LEFT/RIGHT , set as picture priority, no string cursor The mouse that appears […]

  • Programming code | C + + / C output Gregorian calendar – beautiful calendar production

    Time:2021-1-15

    Preface: This article introduces how to use C language code to realize the use of perpetual calendar examples, application skills, summary of basic knowledge points and matters needing attention. It has a certain reference value, and friends who need it can refer to it.     Void output calendar (int year, int month, int day) […]