digitalpoint
Well-known member
Xenforo Importer Daemon mode ?
Maybe for very large forums, xenforo could have a daemon importer feature,
- you setup a separate mysql slave server which does replication only the listening to master vb database name and replicating to slave vB database name.
- you setup xenforo destination database name to connect from mysql slave server
- xenforo daemon mode continuously imports (ssh cli script what Floren is suggesting) reading from mysql slave server's vB database name into xenforo database on the slave
- live vB forum would be still online for the duration of the import as all updates/writes and reads would come from mysql master server as you don't configure vB config.php for slave usage at all.
- the live vB forum data gets replicated to mysql slave which xenforo daemon mode continuously listens and imports from into it's own xenforo database.
You would still end up bottlenecking at the DataWriters... since essentially you are spinning every individual content type and associated records through DataWriters. You certainly could speed it up exponentially by running that stuff in parallel across multiple machines... but still wouldn't be fast enough imo. Once I'm done rewriting all the core stuff I have, I'm gonna see about making a really, really fast importer (I'm shooting for a sub-2 hour downtime to import ~20M posts, 3M threads, 750k users, etc.... including necessary cache rebuilding in that time frame).
I've mucked with it a little bit, and was able to do 15M posts (just raw posts, not threads and things) in about 15 minutes, so... We'll see what I can come up with when I really have time to work on it.