conveyal / otpa-cluster

Cluster backend for otpa many-to-many queries.
0 stars 1 forks source link

Don't group large clusters of requests together #23

Closed mattwigway closed 9 years ago

mattwigway commented 9 years ago

Ulan Bator processes very fast, and hence my chunk size floats to 505, at which point I get:

akka.remote.OversizedPayloadException: Discarding oversized payload sent to Actor[akka.tcp://MySystem@127.0.0.1:2599/user/manager_0#-1900535495]: max allowed size 128000 bytes, actual size of encoded class com.conveyal.otpac.message.ProcessClusterRequests was 167466 bytes.

We can increase the payload limit as well as the poll frequency, but we probably ought to just send each origin as a separate item.

mattwigway commented 9 years ago

Fixed.