Bloomberg LP Interview Question for Financial Software Developers


Country: United States
Interview Type: Phone Interview




Comment hidden because of low score. Click to expand.
1
of 1 vote

Port & sockets are different. In linux its maximum number of file descriptors.

Socket is a set of five [ SRC IP, Dest IP, SRC Port, Dest Port, Protocol ]

eg. A multi threaded server (web server) can listen to 1000's of socket on a single port. ( 80 )

- d1val October 30, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The IP protocol (at least IPv4) provides for a 16-bit integer to represent the port. So you can listen on 65536 different ports. Some of these may be in use or reserved, so you may have fewer actual port availabilities.

I really don't know in what sort of context you're asking the second question. What sort of request?

- eugene.yarovoi June 11, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

When Client request for a connection then it is only the initiation of the connection requets and Synchronization packet SYN sent from client to Server.Once the Server recieves the SYN packet from the client,It also sends the SYN packet with an acknowledgement of the SYN packet sent from the client.Third step is client acknowledge the SYN packet of the server.So it is 3 way handshake.One these 3 way handshake happened,Connection is established.

- Imran July 11, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

A process can open as many sockets as allowable file descriptors which is configured at os configuration.

- Taewon January 06, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

1) Up to available swap space, or RAM if no swap space.

2) This would be a DoS attack and crash the server.

- Yev August 15, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More