The ipc is too slow for large strings

Bug #612828 reported by Matt Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rootin Tootin
Fix Released
Critical
Matt Jones

Bug Description

The shared memory / stdio based ipc is too slow and has size limitations. This makes it bad for large requests and files.

Plus it has performance problems:
. It isn't a good idea to block the server with requests reading
. Having to read the requests and send it to another process that reads it again is redundant

Revision history for this message
Matt Jones (workhorsy) wrote :

We should use unix sockets. One process can accept connections, then send them to another process for reading and writing.

See this for an example:
http://lists.canonical.org/pipermail/kragen-hacks/2002-January/000292.html

Matt Jones (workhorsy)
Changed in rester:
status: Confirmed → In Progress
Matt Jones (workhorsy)
summary: - The ipc is too slow for large requests and files
+ The ipc is too slow for large strings
Revision history for this message
Matt Jones (workhorsy) wrote :

Now we are not using IPC for anything.

We should use IPC to read the stdio from the application processes.

Matt Jones (workhorsy)
Changed in rester:
assignee: nobody → Matt Jones (workhorsy)
Revision history for this message
Matt Jones (workhorsy) wrote :

Fixed. We no longer use shared memory for the ipc of requests or logging.

Changed in rester:
status: In Progress → Fix Committed
Matt Jones (workhorsy)
Changed in rester:
status: Fix Committed → Fix Released
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.