I code everything myself. WordPress REST API.Hello !
Which plugin / tool are you using to insert bulk post ? I tried some plugins and wordpress_xmlrpc in python but it takes 1 second per post, too slow when I want to insert 100k+ on different websites...
Should I insert in the database directly with SQL requests ?
Thanks
Any idea how many post per second you can send with the REST API ?I code everything myself. WordPress REST API.
the REST API will not be your bottleneck, trust meAny idea how many post per second you can send with the REST API ?
Don't use wordpress for this. It gets SLOWER over time.Any idea how many post per second you can send with the REST API ?
I just tried on a newly installed wordpress and it takes 1 second per 1/2 post too, it seems to me it's the wordpress functions used to create posts that are very slow. Because I get same result with every method I use, (RPC / REST API / Plugins) they probably all use the same "create post" wordpress function) So API is not the bottleneck but the "create post" function used by API may be... Don't you have the same problem? Did you find a solution to bulk post hundreds of posts within few seconds?the REST API will not be your bottleneck, trust me![]()
generate a XML export file where you first create all the posts locally with say 100k posts, then you can import the file in wordpress.I just tried on a newly installed wordpress and it takes 1 second per 1/2 post too, it seems to me it's the wordpress functions used to create posts that are very slow. Because I get same result with every method I use, (RPC / REST API / Plugins) they probably all use the same "create post" wordpress function) So API is not the bottleneck but the "create post" function used by API may be... Don't you have the same problem? Did you find a solution to bulk post hundreds of posts within few seconds?
That's what the plugin I tried does. But when I import the file, it then takes 1 second per post too.generate a XML export file where you first create all the posts locally with say 100k posts, then you can import the file in wordpress.
well you could directly insert it in the mysql db too with multithreads, thats as fast as it gets.That's what the plugin I tried does. But when I import the file, it then takes 1 second per post too.
wp is not really designed to create posts in masses, so they didnt take into account that people might want to create hundreds of thousands of posts a day.That's why I'm asking Sartre if he really succeeded to insert in bulk using the REST API because he said was doing like that.
Inserting directly in the database with MySQL was my first idea, but I saw it was not recommended because it could cause hard to debug problem if badly done. I prefere trying safe solutions first
you're right. My way is more in the thousands of posts. if I go over 10k, I remove posts that are not performing well.wp is not really designed to create posts in masses, so they didnt take into account that people might want to create hundreds of thousands of posts a day.
if you want to create hundreds of thousands or millions of pages a day, its best you use static HTML or create a custom PHP solution.
holy shit and here I was thinking I was killing it generating 50 posts/day with wp-auto - You guys never fail to amaze.is 1 post per second really not enough for you? Generating a post takes more than 1 second, so the REST API is most likely not the bottleneck.
1 post per second is 86k posts/day.
@Sartre rightly pointed out that the creation process takes much longer than 1 second to create a post, so unless you already have all the posts "ready" to be "imported", there really isn't much point in dedicating yourself to improving the wordpress post generation time.That's why I'm asking Sartre if he really succeeded to insert in bulk using the REST API because he said was doing like that.
Inserting directly in the database with MySQL was my first idea, but I saw it was not recommended because it could cause hard to debug problem if badly done. I prefere trying safe solutions first
You can 100% create a fantastic tool using GPT3 using multiple prompting and repromptings (davinci003).@Sartre
Any tips would help a lot.
- you mentioned in the past that you are not using GPT3 but some other AI writer. Is that AI writer available on the internet or is that some private thing?
- How does it compare to GPT3?
- DO you think you could have the same success with GPT3/chatgpt? If yes, why not use it instead?
- Does your AI writer cost you any money to generate text? (except servers, proxies etc)
- How do you avoid thin content with AI?