Speed up Django/Scala communication