Pat Allan on 16 Jan, 2012 10:18 AM
At this point there isn't. I'd love to be able to support
Django, but the catch is dealing with Heroku's shared PostgreSQL
For Ruby sites, there is the flying-sphinx gem, and that
actually sets up a reverse SSH port forward to allow the Flying
Sphinx servers to access the database temporarily when Sphinx is
indexing. That's the hard part of what would need to be implemented
on the Django/Python side of things - the rest is a few API calls
to send the Sphinx configuration through, request indexing to
happen and start/stop the daemon, plus reading in the Sphinx
connection details via the environment variables.
I'm not at all experienced with Django or Python, mind you,
which is why such support is not something I can whip up quickly.
Do you know of any options to manage SSH connections with reverse
port forwards in Python?