Reuters machine trial

Source: Internet
Author: User

Reuters's questions are quite detailed. One point, each layer is very careful. Next we will describe the unclear questions that I have encountered.

1: thread status

 
Thread thread = new thread (); State state = thread. getstate ();

The following statuses are available:

 
State. Blocked; State. waiting; State. timed_waiting; State. terminated; State. runnable; State. New;

2: serversocket class details

When serversocket is constructed with port 0, it means:

A port number of 0 means thatPort Number is automatically allocated,Typically from an ephemeral port range. This port number can then be retrieved by calling {@ link # getlocalport }.

The constructor has the following types:

Public serversocket () throws ioexceptionpublic serversocket (INT port, int backlog) throws ioexception public serversocket (INT port, int backlog, inetaddress bindaddr) throws ioexceptionthe backlog argument is the requested maximum number of pending connections on the socket.

3: Database permission operations

 
Grant usage, select, insert, update, delete on database_name.table_name to user_name @ localhost indentified by password

4: common ports

21 FTP

22 SSH

23 Telnet

25 SMTP

53 DNS

80 HTTP

443 HTTPS

The following problems should be solved:

1. What is the internal category function?
2. distributed system lock?
3. File serialization
5. View hard disk commands
6. view route table commands
7. Linux Weibo server software and FTP server software
8. view the IP addresses of all NICs.
9. CDN principles
10. Rsync startup

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.