当前位置:网站首页>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
边栏推荐
- Qmetaobject:: connectslotsbyname: no matching signal for problem solving
- A complete set of skills that a software test engineer needs to master
- Master the basic usage of SQLite3
- Automation operation and maintenance 1 - installation and deployment of ansible
- Alibaba cloud log service is available in Net project
- Highly available configuration of database (MySQL)
- C language elementary level (IX) enumeration
- Never change
- Mr. Ali taught you how to use JMeter for pressure test (detailed drawing)
- Visualization strategy of Seaborn data overall distribution
猜你喜欢

Qt-5-multi window programming

Please, don't use pessimistic locks in high concurrency scenarios!

Configuring MySQL master-slave and implementing semi synchronous replication in docker environment

Work content of service governance

Lamp Architecture 3 -- compilation and use of PHP source code

Are you still using generator to generate crud code of XXX management system? Let's see what I wrote

Record the troubleshooting process of excessive CPU usage

How can an e-commerce system automatically cancel an order when it times out?

3000 frame animation illustrating why MySQL needs binlog, redo log and undo log

Detailed explanation of dictionary source code in C #
随机推荐
C language -- program compilation and linking
Iterm2 file transfer with remote server
Postman testing websocket interface
How does JMeter implement interface association?
Record the processing process of slow response of primary system
[Goo Goo donkey takeout rebate system] customer service configuration tutorial of takeout CPS project - (attached with picture and text building tutorial)
Solution to the problem of long waiting (ttfb) time during web page loading
C language elementary level (IX) enumeration
Must the database primary key be self incremented? What scenarios do not suggest self augmentation?
Qt-5-multi window programming
Chapter IX Cisco ASA application nat
Lamp architecture 6 -- MySQL master-slave replication and optimization method
[test process and theory - Test Technology System]
Tcp/ip FAQs
[test process and theory - software development process and project management]
Summary of the latest remote deployment O & M tools
技术分享 | MySQL中一个聚类增量统计 SQL 的需求
Write efficient defect reports
Record the troubleshooting process of excessive CPU usage
Is the micro securities account opening regular and safe? How to open an account?