当前位置:网站首页>Imitation B station web, app, background
Imitation B station web, app, background
2022-06-21 14:04:00 【Funny 2233】
Experience address
web End :http://82.157.168.147/
AnZhuoDuan :http://82.157.168.147:7000/bilibili/phone/app.html
web End
Details address :https://blog.csdn.net/weixin_43974265/article/details/122156697
AnZhuoDuan

backstage
- Use MyBatis The custom object factory supports annotation default value processing to meet the following special default value requirements ( Favorite default cover ), To write MyBatis The plug-in listens to the event that the object encapsulation property is completed , Distributed to processors that support processing through generics
- Encapsulated crawler API Mapping requests using interface methods , Annotation identification information , Support for json,xml Automatically encapsulate as objects , Support path .[] expression , Support method parameter filling to path , Type converter , Customize the request method , Encapsulated in the SpringBootStart, Support use GUI The tool automatically generates the corresponding entity class and its corresponding annotation according to the request selection field , It is mainly used to crawl the live broadcast information. There is too little live broadcast information , Or crawling B Station video as the initial resource
- Use database annotations for entity classes ,Service,Controller,Mapper And so on , Support entity class field and object storage binding , increase , modify , Delete and modify the object storage
- In order to solve the problem that the new version of Google browser cannot be used session problem , Customize BSession Used to store session information , front end , The Android end supports customization by using interceptors session
- Use Spring The event mechanism is decoupled , Listen to the specified method call through the method call stack to realize the history , We'll see if we've seen , Daily rewards, etc ( You can use the message middle key to replace )
- adopt Redis Frequently changing fields as part of cache optimization ( For example, the number of plays ), After the listening object property is encapsulated, the event will Redis Cache in plus , Listen for object update events ( Updates to the and hot fields are written to Redis Will not be updated to the database ) eliminate Redis The corresponding cache will also use the scheduled task to Redis Cache writes to database
- give the thumbs-up , Focus on optimization processing , Use Redis set Storage does not immediately modify the database , It is convenient to query whether to pay attention to , Please wait , Synchronize data to the database every minute ( Support querying recent likes , Coin video )
- Sweep the login code , SMS login , Password login multiple login channels , Custom sliding verification code component
- Use websocket Realize multi terminal real-time bullet screen , Number of viewers
- Custom method parameter type parser
- For output agents , Collect log information and send it by email every day
Code cloud open source address
AnZhuoDuan :https://gitee.com/shaokang123/bilibili-android
Java Back end :https://gitee.com/shaokang123/bilibili-web
web front end : Not developed by me. Please find https://blog.csdn.net/weixin_43974265?spm=1001.2014.3001.5509
TODO
Because the development time is short , Some functions have not been realized , It will be implemented later
Use the android FragmentPagerAdapter The requested data is not lazy loaded , It is easy to impact the background database
Finally send BiliBiliAPP Resource unpacking file
https://test-1302807021.cos.ap-nanjing.myqcloud.com/BiliBiliApp%E7%B4%A0%E6%9D%90%E8%A7%A3%E5%8C%85%E8%B5%84%E6%BA%90.zip
边栏推荐
- Making my footprint map using API
- Setting of Seaborn drawing style
- Redis learning (3) -- persistence mechanism
- Add SSL security certificate to web site
- Babbitt yuancosmos daily must read: wechat may ban a official account for the first time on the grounds of "involving secondary transactions in digital collections", and the new regulations of the pla
- Turn to the countdown for coupon issuance! First look at the rules of interstellar pocket donation
- MySQL - transaction management
- Master the basic usage of SQLite3
- Record the processing process of slow response of primary system
- PostgreSQL query by date range
猜你喜欢

Record the troubleshooting process of excessive CPU usage

A blazor webassembly application that can automatically generate page components based on objects or types

Turn to the countdown for coupon issuance! First look at the rules of interstellar pocket donation
JS 中的集合引用类型

Explain the design idea and capacity expansion mechanism of ThreadLocal in detail

Postman testing websocket interface

Why is epoll efficient?

Using the path module to prompt errors in ts+vite projects

Don't know how to interview? Test interview questions summary, teach you to face the interview questions

map. Values() to copy list and ArrayList
随机推荐
MySQL failover and master-slave switchover based on MHA
Atom的一些操作
Qt-3-basic assembly 2
Detailed explanation of dictionary source code in C #
"My" C code specification
Azure applicationinsights integrated in blazor
Must the database primary key be self incremented? What scenarios do not suggest self augmentation?
Review notes of web development technology
Cvpr2022 | the action sequence verification task was first proposed by X xiaohongshu of Shanghai University of science and technology, which can be applied to multiple scenarios such as scoring of spo
Add SSL security certificate to web site
Kotlin - sequence sequence
MySQL - table constraints
[Goo Goo donkey takeout rebate system] customer service configuration tutorial of takeout CPS project - (attached with picture and text building tutorial)
Some atom operations
Explain the design idea and capacity expansion mechanism of ThreadLocal in detail
Convert DICOM format to nii GZ file
Customize view to draw line chart (support zoom)
Explanation of vim, makefile and GDB tools
Blazer page element authorization -- use of the authorizeview component
CSDN's test teacher teaches JMeter to generate stress test reports