Need to be able to send multiple requests over one socket connection.

Bug #1552250 reported by Ben Kietzman
6
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)
Revision history for this message
Ben Kietzman (ben-kietzman) wrote :

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.

Revision history for this message
Ben Kietzman (ben-kietzman) wrote :

We are going to back away from this issue since it would break the current socket communications model.

Changed in logger:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.