I'm creating a Java web server on the Google App Engine to do full text search on my database. Before I can search, I have to add all my database entries to an index. I should only have to do this once because the index is stored in persistent storage. Even if GCP creates a new instance of my Java server, the index should still be there(right?).
My question is, how do I set up my program so it will only create the index once? I've tried using Warming Services, but as I understand it that will be called every time a new instance is created, so there'd be redundant calls to my index creation code -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/76a3e6de-24b9-437c-9ed8-772f536a2c30%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
