Conversation:
Notices
-
@takeshitakenji @moonman Er, part of the specification is that queues have to be prefixed with /queue/ so that name should be valid.
Is that Artemis or Apollo?
-
@takeshitakenji @moonman To explain the part it's complaining about is the destination part of the message.
A message looks something like this:
SUBSCRIBE
id:0
destination:/queue/foo
ack:client
^@
Thats RIGHT out of the Standard's example of subscribe.
-
@takeshitakenji @moonman The string 'statusnet/control' does not fulfill that regex
It does not include slashes.
-
@takeshitakenji @moonman So, basically what StatusNet was trying to do here was namespace stuff, presumably so you could use one STOMP install for other software as well. So it's trying to do it so it evaluates as "/queue/statusnet/control" It looks like Apollo (I think you're using Apollo?) is expecting it to be /queue/$destination_string_here (as you say a \w-t…
-
@moonman @takeshitakenji I'm not sure whether namespacing is desirable in the STOMP standard or not. If it isn't, this is easy to write out of the relevant code. If it is, you'd have to change that regex in the appropriate place to allow those slashes.
-
@moonman @takeshitakenji It also would be very easy to pseudo-namespace with other acceptable characters. postactiv_users postactiv_control etc
Though that seems a bandaid solution.
(I'm reading through the documentation now)
-
@takeshitakenji I'm seeing non-mentions fine if this is on your live instance, FWIW
-
@takeshitakenji Yeah, there is definitely the consideration of the fact that its adding processing/transit time on top of things.
This makes me wonder if you can make Artemis or Apollo work with a unix socket for a connection actually. It would cut out the transit time from GS/PA>Apollo anyways
-
@takeshitakenji GS/PA isn't doing much with it at all though, so I don't know what optimizations you can make on our end, though I will run through things with a profiler and take a look. The problem becomes TCP has a given overhead for every connection even if I get the php execution time down to fractions of a microseconds, doubly so if you're needing DNS lookups.…