tpr Posted October 4, 2016 Share Posted October 4, 2016 Anyone using ProcessWire with Google Cloud? We're in the middle of setting things up and it would be great if someone could share his experiments. I'm totally new to GC so most things sound like a rocket science to me, though what I understood is that PW should be "containerized", that is, moving session, cache, logs, etc out of the "site" directory (but I may be wrong). This could be achieved by overwriting paths in $config but haven't looked at it in detail. I know that there's a bitnami installer but that's only for v2.7.2, though I neither have any knowledge in bitnami, it just a proof that this could be done. Any light on this is welcomed. Link to comment Share on other sites More sharing options...
LostKobrakai Posted October 4, 2016 Share Posted October 4, 2016 I think the cache wouldn't need to necessarily live outside the container, for logs I'd rather hook WireLog / Wire::trackExceptions and sending messages to a 3rd party service instead of trying to shoehorn external paths onto $config. Sessions could simply be SessionHandlerDB or a redis session handler via php conf. 1 Link to comment Share on other sites More sharing options...
tpr Posted October 4, 2016 Author Share Posted October 4, 2016 Thanks. Seems like a lot of trouble for minimal benefits, at least from a dev POV (maintenance, updates, etc). Link to comment Share on other sites More sharing options...
LostKobrakai Posted October 4, 2016 Share Posted October 4, 2016 But it's a trouble you won't find a way around when trying to containerize/horizontally scale just about anything. You need to centralize logs, you need to centralize (server-side) sessions or don't use them. If it's worth depends on how big your need actually is to scale horizontally over multiple machines. Link to comment Share on other sites More sharing options...
tpr Posted October 4, 2016 Author Share Posted October 4, 2016 It's about a 10-page (mostly static) website so GC is in this case an overkill. But it would be nice to have a detailed tutorial of using PW with cloud. Link to comment Share on other sites More sharing options...
Sergio Posted October 4, 2016 Share Posted October 4, 2016 4 hours ago, tpr said: It's about a 10-page (mostly static) website so GC is in this case an overkill. But it would be nice to have a detailed tutorial of using PW with cloud. @tpr I'm wondering what benefits do you seek to achieve in GC? Could you explain a little bit more? Link to comment Share on other sites More sharing options...
tpr Posted October 4, 2016 Author Share Posted October 4, 2016 Speed (page load time). Currently it's about 3 seconds which was better when the site was non-https. If you ask me it's still fast enough but it's not about me Link to comment Share on other sites More sharing options...
Jeroen Posted November 15, 2016 Share Posted November 15, 2016 Maybe just use something like Cloudflare?! You might check this topic Link to comment Share on other sites More sharing options...
Kemal Posted July 31, 2017 Share Posted July 31, 2017 I am creating new web site with 30 language processwire + google cloud app engine + cloudflare is my solution for fast hosting and cdn I see that bitnami has lastest version of processwire 3.0.62 https://bitnami.com/stack/processwire As a hosting Hostgator cloud system is another alternative forme https://www.hostgator.com/cloud-hosting What do yout think? Any body uses this system? @tpr @LostKobrakai Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now