Home > other >  Recently encountered a python interview question, ask for advice
Recently encountered a python interview question, ask for advice

Time:12-02

1, python can release the memory?
2, there is one big file, each row record a url, how to quickly detect all url is available?
3, select the message queue, redis and rabbitmq have why to distinguish?
4, multithreaded scenarios, thread switch under what circumstances?
5, selenium on how to deal with delay processing of js function?
6, what's the relationship between asynchronous and coroutines
7, there are hundreds of millions of an IP address, how to go in single weight and sorted?
8, tell me about your django event-driven
9, what's the difference between the heap memory stack memory?
Say 10, what is the epoll
11, which used concurrency library
12, with which network programming library

CodePudding user response:

I'm interested in the seventh problem, if it is in the database, that's another routine,
If it is a few large files, and it is IPV4, assumes that the memory is not big enough, the hard disk space is used to implement
A few threads respectively read files, according to the directory partition, establish the catalogue of level 4, the last directory traversal,

CodePudding user response:

His crown,
  • Related