Hi Tobias,
thank you for your input and sorry for my late reply.
Your assumptions are correct and suggestion number one is an option, but was not possible due to time constraints. Also your question / concern in regards to performance is right. There could be various components on a page template relying on the data (which can be dynamic per user, so page caching is not an option), hence the api would have to be performant to those needs.
To number 2: Not sure i understand that correctly. Right now the system pushes the data to the author system and does a publish right away. There is no delay and no delay needed (from a domain level) between those actions. I guess one could also just put the data into the public instance(s)! and avoid the publishing at all.
However I need to do some more detailed analysis of what is slowing down. I think my initial comment was wrong that the adding/publish is using that amount of ram, i think that was a GET request for all nodes. Yet, the individual actions (put/post + publish) are in the area of seconds or more, not ms which i would expect.
Anyway, I'll do some deeper analysis, but am open to more input.
Thank you again!
Christoph
Regards,
Christoph