CodeIgniter Forums
Concurrency in CI? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forum-31.html)
+--- Thread: Concurrency in CI? (/thread-69162.html)



Concurrency in CI? - richb201 - 10-15-2017

I am working on a Grocery Crud application which maintains a few tables in MySQL. I need to write another small separate CI app which will access that same database being maintained with Grocery crud, and also respond to an ajax get by a completely different JavaScript extension running within Chrome. Bottom line, there is no connection between my chrome extension and my mySQL data other that this ajax interaction.

I am mostly concerned with two separate process's accessing the same table at the same time. In the past we would serialize access to a single resource with a system semaphore. Is there something analogous in ci or is it taken care of under the covers?