Tag:Resources

  • Java Concurrent Programming: the formation condition and treatment of deadlock in concurrency

    Time:2021-3-4

    Deadlock is an infinite state of waiting for each other. Two or more threads or processes form a ring of waiting for each other. Taking two threads as an example, thread one holds a lock while waiting for b lock, while thread two holds b lock while waiting for a lock, which leads to two […]

  • Yaml’s k8s Tour – Part one

    Time:2021-3-4

    preface It is often asked: “what happened after the browser entered the URL”. This question seems simple, but it can comprehensively investigate a person’s understanding of the system. If we extend this question to k8s, we can ask similar questions like “what happened after k8s client submitted yaml”. Similarly, to answer this question, we need […]

  • Do you know these knowledge points of browser cache?

    Time:2021-3-4

    1、 Basic knowledge of browser cache It is divided into strong cache and negotiation cache 1. When the browser loads a resource, it first determines whether it hits the strong cache according to some HTTP headers of the resource. If the strong cache hits, the browser reads the resource directly from its own cache and […]

  • Using nginx to cache static files on the server

    Time:2021-3-3

    1、 Advantages of nginx cache As shown in the figure, nginx caching can reduce the processing pressure of the source server to a certain extent. Because many static files (such as CSS, JS, pictures) are not updated frequently. Nginx uses proxy_ Cache caches the user’s request to a local directory. The next same request can […]

  • Practice brings you to know — HTTP caching

    Time:2021-3-2

    In order to understand the mechanism of HTTP caching, this article builds nginx and sets nginx configurationIn fact, there are a lot of articles on the Internet, but most of them are written. Caching is more theoretical, which leads me to be confused at the beginning So this time I use the screenshots and step […]

  • A list of rust books on GitHub

    Time:2021-3-1

    A series of articles: awesome rust Mongodb officially released mongodb rust driver Rust organization on GitHub Learn rust through examples Rust implementation of common algorithms Lightweight Windows GUI tool library based on Rust Chinese English comparison of rust language terms Official weekly diary of rust Small and fast rust asynchronous runtime SMOL Microsoft open source […]

  • TLS certificate management under k8s

    Time:2021-3-1

    A series of articles: Application management under k8s — Understanding Helm Application management under k8s — understanding helmfile TLS certificate management under k8s Application management in k8s — creation and maintenance of private helm chart It’s very easy to implement TLS termination in kubernetes. The ingress resource contains asecretNameProperty to specify the name of the […]

  • Application management in k8s — creation and maintenance of private helm chart

    Time:2021-2-27

    A series of articles: Application management under k8s — Understanding Helm Application management under k8s — understanding helmfile TLS certificate management under k8s Application management in k8s — creation and maintenance of private helm chart In the previous article, I introduced: How to use gitlab CI for continuous deployment. How to deploy and apply helm […]

  • Explore the application mode of flink1.11

    Time:2021-2-27

    With the rise of streaming computing, real-time analysis has become a modern business tool. More and more platforms and companies build their real-time computing platform based on Apache Flink and SaaS. These platforms are designed to reduce the burden of end users by simplifying the submission of applications. The usual way is to provide a […]

  • Using fetch API and promise to call restful interface for post

    Time:2021-2-27

    Basic Concept Promise Overview Promise is a js standard built-in object. Promise is used for asynchronous computations. A Promise represents a value which may be available now, or in the future, or never. A Promise is in one of these states: pending: initial state, not fulfilled or rejected. fulfilled: meaning that the operation completed successfully. […]

  • Application management under k8s — Understanding Helm

    Time:2021-2-26

    A series of articles: Application management under k8s — Understanding Helm Application management under k8s — understanding helmfile TLS certificate management under k8s Application management in k8s — creation and maintenance of private helm chart HelmIt is a “package manager” for kubernetes. Although it is called package manager, it is slightly different from the package […]

  • ASP.NET Localization of core web API (single resource file)

    Time:2021-2-26

    At startupConfigureServicesServices required for registration localizationAddLocalizationandConfigure public void ConfigureServices(IServiceCollection services) { services.AddLocalization(); services.Configure(options => { var supportedCultures = new List { new CultureInfo(“en-us”), new CultureInfo(“zh-cn”) }; options.DefaultRequestCulture = new RequestCulture(culture: “en-us”, uiCulture: “en-us”); options.SupportedCultures = supportedCultures; options.SupportedUICultures = supportedCultures; options.RequestCultureProviders = new IRequestCultureProvider[] { new RouteDataRequestCultureProvider { IndexOfCulture = 1, IndexofUiCulture = 1 } }; […]