Need to be able to send multiple requests over one socket connection.
Bug #1552250 reported by
Ben Kietzman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Logger |
Won't Fix
|
Medium
|
Ben Kietzman |
Bug Description
Logger currently only handles one request per socket connection. Some applications utilize Logger heavily which means they must open a rapid succession of socket connections to Logger. This could be better handles by simply allowing multiple requests over a single socket connection. That kind of approach would be much friendlier on resources.
Changed in logger: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Ben Kietzman (ben-kietzman) |
To post a comment you must log in.
Under a single socket connection with multiple requests, the client application would probably not want to request a feed or perform a search. Requesting a feed would mean the client would be receiving an endless stream of messages which would be messy when mixed in with other responses. The responses from performing a search would be a similar issue where the client would be receiving a download of message that could potentially be mixed with other responses.
So it would be recommended to only use this single socket connection with multiple requests for the log and message functions. The feed and search functions would be better handled using individual socket connections with only a single request on the given socket.