Why MySQL is not a queue

I tweeted something a few days ago about queues and MySQL. MySQL is not a data queue. MySQL is not a data queue. MySQL is not a data queue. MySQL is not a data queue. MySQL is not a data queue. — Kevin Schroeder (@kpschrade) October 23, 2016 … and I got a few confused looks, largely because you can use MySQL as a data queue (as in it is possible).  So here, now, I will explain why I said that MySQL is not a data queue, even though it can

Running Selenium server as a CentOS systemd service

… is very easy to do. You need two things.  1) Xvfb for the virtual screen, 2) systemd.  (And the Selenium Server binary, of course) First Xvfb 1 2 3 4 5 6 7 8 9 10 11 [Unit] Description=X Virtual Frame Buffer Service After=network.target   [Service] Type=simple User=magiumlib ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24   [Install] WantedBy=selenium.target This will start up the virtual framebuffer so Selenium has a virtual screen to run the browser on.  Next up is the Selenium service itself. 1 2 3 4 5 6 7 8 9 10

What’s wrong with the sound in movies

My wife and I saw the new Star Trek movie in Imax 3D last night.  It wasn’t too bad.  She complained about it being too loud (fuddy duddy) whereas I was impressed with the acoustic treatments in the theater and the clarity of the low end frequencies.  Imax has always been cool with the large screens, but I have always been more impressed by the sound.  Incidentally, I was really disappointed in the screen size.  I was expecting the huge 4:3 screen that I used to watch documentaries on.  This was

Shutting down Magium (and (eventually) looking for a new awesome company to work for)

If you don’t know what Magium is, it is a Selenium based testing framework for Magento and other platforms that makes it much, MUCH, easier to test those applications.  I’ve been working on it since December and it is now 7 months out.  7 months of very little income (thank you to MagentoU for having me do some training work for you).  And after 7 months of working on Magium with little by way of progress (as a business.  The technology progressed quite nicely) I’ve decided that it’s time to throw in the

Using PHP WITH Jetty, Camel, ActiveMQ, WebSockets and other things that might score high on SEO

Over the past several days (more than I would like to admit) I’ve been working on getting a system based off of Jetty and ActiveMQ to work out of the box for PHP developers.  While “out of the box” isn’t quite true I have been able to get everything to work in a single downloadable container.  It uses ActiveMQ as the messaging system, which also has a WebSocket listener.  ActiveMQ also has a queue called “worker” which is used to send job queue requests to the queue.  That queue has an HTTP

Configuring Jetty to run Magento

Yesterday I wrote a blog post on my surprising finding that Jetty was able to out-perform, or at minimum keep up (depending on how you looked at the numbers), Nginx when it comes to static files.  Today I wanted to get it up and running and able to serve Magento requests. It turns out that it is stupid easy.  That said, it was stupid hard figuring out how stupid easy it was. To get Magento running with Jetty Set up PHP-FPM as you would with Nginx, making sure that you

Browser Communication with Nginx and WebSockets…

… was what I was going to write about.  I’ve been meaning to come up with a solution where I could do a combination of regular HTTP requests combined with Web Sockets combined with Redis to send messages easily back and forth between the backend and the frontend.  My thought was that I might be able to take Nginx, which has WebSockets proxy support and combine it with Redis to create a means of facilitating communication between a frontend browser user and any backend asynchronous tasks that might have pertinent messages to

Metaphysics and Software Design

When I say that this is an experimental blog post I mean it.  I’m thinking out loud here. Those who know me know that I am somewhat critical of some modern advancements in software design.  It’s not that I’m a Luddite or anything but the root of my discontent is that software and real life often do not match well.  Inbox by Google is a good example of this.  They refuse to put an “unread” feature into their software.  It messes with their blessed workflow.  Never mind that sometimes real life