throwaway38375
Joined 2 years ago
Joined 2 years ago
Seems enough for browsing the internet, online banking, emails, some social media, and watching videos in standard definition.
That sounds like enough for the average person. :)
I maintain a web application with a few hundred daily users and with the following table I have never had any problems:
CREATE TABLE `jobs` ( `id` BIGINT NOT NULL AUTO_INCREMENT, `queue` VARCHAR NOT NULL, `payload` JSON NOT NULL, `created_at` DATETIME NOT NULL, PRIMARY KEY `id`, INDEX `queue` );
Using MySQL's LOCK and UNLOCK I can ensure the same job doesn't get picked up twice.
All in all, it's a very simple solution. And simple is better!
Another team got given the rewrite and build it in six months using MySQL.
I've never seen SQLite used in a setup which multiple machines connect to the same database over a network.
For example: A web application with a web server, a worker/job server, and a database server.
In these instances MySQL or PostgreSQL seem to be much better choices.
So will SQLite ever be able to "take over" in these scenarios?
How did you find the development experience? Anything that you would change or do differently?
Also, how does Kaboom/Kaplay hold up under load with lots of sprites? I've hit a few performance problems with my game when rending lots of sprites...
I just don't get the value of it for always online servers.
What benefit does encryption at rest solve for something which is never intended to actually rest?
For example, a MySQL database powering a web application is expected to be alive and responding to requests 24/7. It's never really intended to be at rest.
So what benefit does encryption at rest bring? Won't a hacker be attempting to take data when it's online (and therefore not resting)?
You are not alone. It is very complicated, but a lot of people seem to get off on the complexity (for some unknown reason).
> Is it not possible to just like include react through CDN with `link` or `script` tags and still make good use of it?
Not with React (as far as I know). But with Vue you can use it straight off a CDN.
Follow this guide through. It take about 15 minutes but it is entirely worth it!
https://v2.vuejs.org/v2/guide/#Getting-Started
> More specifically, I want to know what can I hope to achieve if I migrate from jquery to react?
You can build SPAs (which although not impossible to do in jQuery, is a lot harder). You can also be part of "The React Gang" and get more jobs.
> And to begin with, is this a good idea even?
Not if jQuery is still working for you. If it ain't broke, don't fix it! :)
Stick with the LAMP/LEMP stack. It's not perfect, but if you're moving from WordPress (which uses the LAMP/LEMP stack) then sticking with it will make the move less painful.
In terms of a framework. Laravel is a good idea for RAD, although Symfony is a fine choice too!
---
Frontend:
Assuming is has to be a SPA: Use whatever you know best. React, Vue, or Angular are fine. Laravel seems to prefer Vue slighty?
If you can get away with SSR: Use a templating system. Assuming you're using PHP, you could use Blade (for Laravel) or Twig (for Symfony).
---
In terms of hosting and deploying, use one big VM for as long as possible. It's not better, but it's simpler... and I'd say you've got a lot on your plate!
---
But to answer your original question:
If you stick with LAMP/LEMP and a framework, there is so much documentation (and so many guides) that you will be able to figure out what to do. :)