Architecture

系统拆分:

如何设计一个架构:

Micro Server

Cloud

Summary

CGP部署

compare:

AWS

deployee spring boot to aws

s3 403 forbidden

Docker

Docker Desktop failed to start…

docker-engine-starting: 很可能版本错误

Kubernetes

文字:

视频:

Linux

官方说明

微软商店无法安装Ubuntu

确认WSL

wsl --list --verbose
wsl -l -v

卸载发行版:

wsl --unregister <要卸载的发行版>

0x800701bc

Graalvm

install native-image

install graalvm

错误排查

环境变量

Quarkus

official:

tutorial:

udemy: Starting with Quarkus

mvn -U io.quarkus:quarkus-maven-plugin:create "-DprojectGroupId=org.agoncal.quarkus.starting" "-DprojectArtifactId=rest-book" "-DclassName=org.agoncal.quarkus.starting.BookResource" "-Dpath=/api/books" "-Dextensions=resteasy-jsonb"

NativeImageBuildStep$ImageGenerationFailureException

mvn clean install -Dnative -Dquarkus.native.container-build=true

API

Android

  • android后台运行 悬浮窗 悬浮球

项目

教程

FIT

职场

心得

面试

java:

排序:

redis

  • 回答上这些Redis面试题,20K稳了_哔哩哔哩_bilibili
  • 雪崩:大量缓存key在同一时间失效,大量请求直接落在数据库上,导致数据库宕机
  • 穿透:缓存与数据库中没有相对应数据,无法进行响应与拦截,直接被穿透到数据库中,导致数据库宕机
  • 击穿:某一个热点key在失效的一瞬间,大量的访问就会击破缓存到达数据库,导致宕机

SQL / NoSQL

spring

子网掩码

  • https://www.bilibili.com/video/BV1v44y1g7Hf/?spm_id_from=333.337.search-card.all.click&vd_source=4d508668fdc469b49599e0ae807fc3b4
  • https://www.bilibili.com/video/BV1xu411f7UW/?spm_id_from=333.337.search-card.all.click&vd_source=4d508668fdc469b49599e0ae807fc3b4

java date

  • https://stackoverflow.com/questions/36113530/java-convert-string-date-to-month-name-year-mmm-yyyy
  • https://stackoverflow.com/questions/6543174/how-can-i-parse-utc-date-time-string-into-something-more-readable
  • https://howtodoinjava.com/java/date-time/parse-string-to-date-time-utc-gmt/
        String stringDate1 = "Feb 2, 2023 11:34:00 UTC";
        String stringDate2 = "2023-02-02T11:34:00+00:00";
        String stringDate3 = "Feb 2, 2023 at 11:34 GMT".replaceAll("at", "");
        
        SimpleDateFormat sdf1 = new SimpleDateFormat("MMM dd, yyyy HH:mm:ss 'UTC'", Locale.ENGLISH);
        SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
        SimpleDateFormat sdf3 = new SimpleDateFormat("MMM dd, yyyy HH:mm 'GMT'", Locale.ENGLISH);

        Date date1 = sdf1.parse(stringDate1);
        Date date2 = sdf2.parse(stringDate2);
        Date date3 = sdf3.parse(stringDate3);
        System.out.println(date1);
        System.out.println(date2);
        System.out.println(date3);

//    @JsonFormat(pattern = Constants.DATE_FORMATTERS, locale = "en_US")
//    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
//    @JsonFormat(pattern = "MMM dd, yyyy 'at' HH:mm 'GMT'", locale = "en_US", timezone = "GMT")