- If there are tens of thousands of white data concurrency, what should be handled?
- What are the server clusters?
A server cluster refers to the aggregation of many servers together for the same service, which appears to the client as if there is only one server
High Availability Clusters ( High Availability Cluster)HA: Runs on two or more nodes; the meaning of highly available is to be used to the fullest extent possible. As can be seen from the name of the cluster, the function of such a cluster is to ensure that the user's application provides service in a persistent and uninterrupted manner.
Load Balancing cluster (Load Balance Cluster) LB: The Load Balancer cluster is also comprised of two or more servers. It is divided into two parts of front-end load dispatch and backend service. The Load dispatch section is responsible for assigning the client's request to the backend service node according to different policies, and the backend node is the part that really provides the application service. Unlike HA Cluster, in a load-balanced cluster, all back-end nodes are active, and they both provide services externally and share the workload of the system.
Scientific Computing Clusters (High performance Computing Cluster) HPC: Use supercomputing cluster software to connect multiple nodes of computers together to accomplish computational tasks that are typically only available to supercomputers
- What is the implementation principle of load balancing?
- How is the reverse proxy implemented?
Forward Proxy: Set up between the client and the target host, only for proxy internal network connection requests to the Internet , the client must specify a proxy server , and will be sent directly to the Web HTTP requests on the server are sent to the proxy server
Reverse proxy : The server is set up on the server side, by buffering the frequently requested page to alleviate the workload of the server, forward the client request to the target server on the internal network, and return the results from the server to the Internet The client on which the connection is requested, at which point the Proxy server is acting as a server with the target host
- Dynamic Agent
- Reflection
- How to create a thread-safe hashmap
- What are the advantages of SSO single Sign-on
SSO: Log in to a system in a multi-system application group and be authorized in all other systems without having to log in again
Implementation mechanism: When the user first accesses the application system 1 , because has not logged in, will be directed to the authentication system to log in, according to the user provides login information, authentication system for identity verification, if through the validation, should return to the user a certified credentials-- Ticket when the user accesses another application, the Ticket The application system accepts the request and, as a credential of its own authentication, Ticket sent to the certification system for validation, inspection Ticket 's legitimacy. If tested, users can access other applications without having to log in again
Advantages: 1. improve the user's efficiency;2. improve the efficiency of developers, SSO provides a common authentication framework for developers 3. Simplified Management
- Explain the concept of cluster and distributed?
Clustering: Multiple servers to handle the same business
Distributed: Distributed computing and distributed systems; distributed computing refers to a task entrusted to multiple servers ; Distributed system is the separation of the system according to the function module . split into different systems . to accomplish different tasks
- What is the concept of Redis persistence?
- Redis one master more from how to access:
- Redis Key Setup Rules
- MySQL statement, limit, concurrency big, some tables very large, how to do?
- read/write separation , master-slave replication delay, how to handle
- What are the general implementations of the servlet implementation?
Init (): Executes the init () method only once during the lifetime of the Servlet. It is executed when the server loads the Servlet
Getservletconfig (): returns a servletconfig object that is used to return initialization parameters and servletcontext . The servletcontext interface provides Environment information about the servlet
Getservletinfo (): It provides information about the servlet , such as author, version, and copyright.
Service (): Whenever a client requests a HttpServlet object, the service () method of the object is called and passed to the method a "request" (ServletRequest) object and a "response" ( Servletresponse) object as a parameter
Destroy ():d the Estroy () method executes only once, shutting down the Servlet as part of the server process
- please write Three types of IOC implementation mechanism in spring?
Injected through an interface, by a setter method , by a setter method
- What is the difference between beanfactory and ApplicationContext in spring?
- List 4 methods that belong to the session
- Please describe the understanding of function closures.
- examples of common SQL injection methods and how to effectively protect against SQL injection risk in the open?
- What is DI mechanism?
- What is Aop?
- What are the indexes and constraints within the database ?
- What are the 2 ways in which jquery objects are transformed?
- How is JSON data transformation implemented?
- MyBatis How to simplify SQL statements?
- How do I control the scope of a bean object?
- Description How do controllers receive page parameters in Springmvc?
- The annotations used in the RESTful way to do page jumps and their functions
- What is lazy loading? What are the pros and cons?
- What is Nginx? What are the advantages?
- What is JSONP?
- The following statement creates a unique constraint on the C1,C2 column while the table is in progress, with the correct: D
- What is the concept of shared locks, mutexes, and deadlocks?
- what does a trigger in the database refer to? What's the effect?
- What is a memory leak? How to prevent?
- Write a reflection, read the private variable
- write a generic interface,Findobjectbyid, enter the parameter as class and ID, out of the class instance, in the way the test code calls this interface is User User=inst.findobjectbyid (User.class, "111")
- The difference between iterator and Listiterator
- The difference between TCP protocol and UDP protocol
- in a relational database, describe stored procedures, triggers,and function where they are used separately?
- list of 5 design patterns and application scenarios
- Common tuning Methods for JVMs
- Tomcat Common tuning methods
- Oracle to MySQL Data migration
- Database optimization Methods
- MySQL lock mechanism
- What is the clustering method for Redis, and what is the mapping algorithm for data to physical nodes?
- How to use the cross-domain way, how to realize
- Dubbo configuration, use, common commands
- What system does the user reduce inventory after shopping for goods?
- Maven Common Commands
- Docker Common Commands
what function is used in 1.sql to initialize the date
2. composite index a+b; those conditions are valid.
3.spring Interceptor How to configure
VI in 4.Linux How to find a word
5.nginx how to reboot in Linux
How much does 6.easyui know?
7. What is distributed
8.rpc know how much
9.soa know how much
1. What is the technique or implementation of a project you have recently done?
2.list can be added null
3. Big Hump Small Hump Difference-method naming rules
The IOC principle in 4.spring
5.mybatis Injection Principle < mapping >
6.redis basic type, underlying principle
7. Full-Text Search implementation
8.list and set differences
9. What do you know about the spring framework?
10. Single Sign-on (I chose to say)
11. Your understanding of the message queue
12.mqsql database subquery and join should use which
13. Types of agents
JVM Tuning, memory model
Arrylist and LinkedList differences, ArrayList why not suitable additions and deletions
HashMap know how much
MySQL database data storage super capacity how to handle
What frame does the log print have in use?
Does the shopping cart module have its own understanding of the business?
What frameworks are used in addition to the SSM framework
1 Brief introduction of project experience
2 after 2 years of work, it feels different when you start working.
3 Springmvc Intercept Request
4 If you enter the company I give you a question, such as: How to resolve the form in the background to repeat the submission, how do you
5 MyBatis You have used, for its good or bad oneself have what experience
6 There are some problems in the work, how do you solve, say that you have the most feeling of one, regardless of the size of the problem.
1 Next to your project
2 nginx+tomcats Cluster
34 The life cycle of a large scope
4 What is a session
5 What service framework do you use for the module?
6 e-commerce projects do you have preferential activities?
7 Amateur process of module you do
8 Do you have anything to ask?
Java Knowledge points-advanced