Closed msh100 closed 7 years ago
So this specific session handler has been written
So it won't really work for you "as is".
The down side of what you are proposing is probably performance. The round-trip time would be higher than ideal from GCP without some sort of faster, local-ish cache (like Memcache/Redis).
On Saturday, 17 September 2016, Marcus Stewart Hughes < notifications@github.com> wrote:
I am looking for a session handler for Datastore however in this I see there's also memcached.
Is there any reason against storing all session data within datastore (excluding cost)?
The reason I ask is because I do not intend to run this on AppEngine (GCP compute instances instead). I suspect this also means that I'd need to authenticate with a service account.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tomwalder/php-gds-session/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMyk3ZbALJjGsv30i6Cm-XOjnnipG0Bks5qq8j1gaJpZM4J_kh1 .
Tom Walder, CTO
We're exhibiting in September & October.
[image: GCP NEXT London - 20th October 2016] https://cloudplatformonline.com/NEXT2016-London.html [image: eCommerce expo London - 28-29 September 2016] http://www.ecommerceexpo.co.uk/ We're hiring. Find out more at www.docnet.nu/jobs http://www.docnet.nu/jobs?utm_source=email_signature&utm_medium=email&utm_campaign=email_signature Call: 0161 660 7110 / Web: www.docnet.nu http://www.docnet.nu/?utm_source=email_signature&utm_medium=email&utm_campaign=email_signature This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. Venditan Limited t/a Docnet is a company registered in England and Wales. Registered number:
Thanks for the reply. Performance was a concern, do you have any benchmarks for reading/writing to datastore? It seemed like a nice scaleable approach to session handling.
I got the impression the was indeed for AppEngine and not having to manage a KV store seems like a bonus :smile:
No figures.
Bear in mind when on Compute Engine you will have to use the REST API for Datastore. So each read or write will be an HTTP round trip.
On Saturday, 17 September 2016, Marcus Stewart Hughes < notifications@github.com> wrote:
Thanks for the reply. Performance was a concern, do you have any benchmarks for reading/writing to datastore? It seemed like a nice scaleable approach to session handling.
I got the impression the was indeed for AppEngine and not having to manage a KV store seems like a bonus 😄
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tomwalder/php-gds-session/issues/3#issuecomment-247763976, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMyk3t4Txe1OFyHDTaCGbAqpAnUfxUnks5qq80UgaJpZM4J_kh1 .
Tom Walder, CTO
We're exhibiting in September & October.
[image: GCP NEXT London - 20th October 2016] https://cloudplatformonline.com/NEXT2016-London.html [image: eCommerce expo London - 28-29 September 2016] http://www.ecommerceexpo.co.uk/ We're hiring. Find out more at www.docnet.nu/jobs http://www.docnet.nu/jobs?utm_source=email_signature&utm_medium=email&utm_campaign=email_signature Call: 0161 660 7110 / Web: www.docnet.nu http://www.docnet.nu/?utm_source=email_signature&utm_medium=email&utm_campaign=email_signature This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. Venditan Limited t/a Docnet is a company registered in England and Wales. Registered number:
I understand that, however I feel like these figures are still going to be very low and am tempted to dig into it a bit more. I will have a play around later to see what overhead there is from the REST API but I think it will still be pretty reasonable for production use.
If I get a chance to measure it I will update this issue with timings
I am looking for a session handler for Datastore however in this I see there's also memcached.
Is there any reason against storing all session data within datastore (excluding cost)?
The reason I ask is because I do not intend to run this on AppEngine (GCP compute instances instead). I suspect this also means that I'd need to authenticate with a service account.