I have a web app using centos, php 5.6, laravel 4.2, mariadb and redis. I have a model that with one-to-one and one-to-many relationships touches 12 tables. I have a UI that when a user changes a value, I send the change to the server to do calculations that can affect numerous tables. While the user is editing the object, I keep the model in redis so I’m not touching the database with each calculation. To make sure I persist my object in the database, I have a scheduler that checks redis for changed objects, then updates the database.
User begins edit of object in UI, load from database and put into redis.
User makes changes (on lost focus event), changes sent to server, load object from redis, update + calculations, update redis, return object to UI.
On the server, in the background using a scheduler, check for changed objects, pull from redis, update database.
1. Is there a better way of persisting data from redis to mariadb that the user does not have to wait for.
- Is there a good way to monitor the scheduler? If my scheduler stops, I won’t notice in a timely manner. My biggest concern is that the scheduler will stop and I risk losing user edits.
1. My calculations must be done on the server. This can’t be changed.
2. I can’t load from mariadb and write to db with each changes, its just too slow.
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!