I am looking to implement some performance monitoring on my ROS server.
I'm running Ubuntu 16.04 running on a VPS. Unfortunately the VPS has no performance statistics. So I'm looking to install a tool or connect to a server that will help me understand the load the server is experiencing.
I'm specifically considering deploying Prometheus. Although it looks like quiet an effort to get it running I figure it's the most comprehensive tool available.
Before I start I want to be sure that this is achievable and it will not impact the ROS performance/capability.
Has anyone implemented performance monitoring? Did you use a particular service or tool and did you use a great document/page to help you install and configure?
Closed. See my comment, in the end I used Datadog, which appears to be very good.
Related
I'm practicing learning MySQL code with SQL Fiddle, it worked sometimes but now I get errors all the time when I use the "Build schema" or "Run SQL" functions.
After a while, the error printed is "Unable to get host connection: Connections could not be acquired from the underlying database!"
Anyone know how to solve the problem? Is there another tool I can use to do practice with queries to my schema?
Install your MariaDB or MySQL database server on your local machine. Install a decent native SQL client program. HeidiSQL is great on Windows. There are plenty for Mac. Any modern laptop computer (since about 2014) can handle a student- or developer- scale database server and client without breaking a sweat.
You can install phpmyadmin. But that's a php web app, so you also have to install a web server and php to get it working. Hence the suggestions for XAMPP or LAMP stack packages. I prefer the native clients; less to go wrong; less stuff in your laptop.
It's best to reserve the database fiddles for sharing SQL demos with other people. Like for Stack Overflow posts.
This is my first question ever at stackoverflow, hope I make sense out of it. I am starting to learn about databases and also programming these days. So I would want to get some advice on MySQL database. Though it's open source and available for download, Should I install the standalone MySQL GUI version on my laptop (Windows 7 32bit) or should I install XAMPP and then access it through phpMyAdmin ?? My purpose of asking this question is that , for starters..I am learning SQL and querying. And then I would want to learn to create web application using php or JavaEE.
I am completely unaware of these concepts, so I would appreciate if someone can just take few minutes and guide me accordingly.
Thanks !
Regards
and welcome :)
If you're planning on concentrating on PHP more than MySQL, it's a good start to install XAMPP. It's more lightweight and contains both PHP and Mysql. It's better for you to concentrate on learning the basics first, rather than spend time on software components. That's why I would choose XAMPP (or my personal favorite: WAMP Server)
If you'd like to spend a bit more time on database management such as user management, jobs,... it could be interesting to download the Mysql server package from their site.
Also, that package comes with example databases which you can use to learn some SELECT and UPDATE queries. It queries a lot easier that PHPMyAdmin.
If your goal is to use MySQL with self-made applications, get XAMPP and learn some PHP before diving into queries
And then I would want to learn to create web application using php
In this case XAMPP should be your friend. BTW with XAMPP you get an MySQL-Server which is identically with the MySQL standalone. You can fire your querys by using phpmyadmin, or connect via shell (console) or thridparty programms ....
In case that you are using NPM, you can install a standalone version of MySQL using the mysql-server package: https://www.npmjs.com/package/mysql-server
I would like to have a Flash Application (not air) to connect to a local database.
Air is not only getting unsupported by Adobe in LINUX but besides, it has serious problems and miss implementation with SQLite.
So we want to connect to a local MySQL database.
This application should be simple, so we do not want to also have an unnecessary web server (also local) to make a middle communication between the flash app and the MySQL server.
There is this driver that allow to communicate Flash with MySQL
http://code.google.com/p/assql/
Question is:
Is this the best approach?
Would it be any problem using this approach when installing the whole application to each client? (because we also in the installation should install a MySQL server).
A MySQL SERVER is called a SERVER for a reason: It is meant to be installed on servers, not on clients. So the answer to your question is:
1) No, this is not the best approach. Not even close. You would be better off using a SQLite database (however shitty you may think it is)
2) Yes. Nobody would like installing a MySQL server on their computers just for the sake of running your application. Think of casual (non-expert) users who would need to install and configure the server just for running your app. That is the very REASON why they developed SQLite and so many languages support it.
You should check out http://code.google.com/p/air-sqlite/ for sqlite access in AIR (I don't know if this is the same as the inbuilt code or not, so just check that out)
I have a VPS with Liquidweb, which currently uses a standard LAMP stack. I want to replace/supplement the installed version of MySQL with Percona, specifically to leverage XtraDB's advanced features. My initial request to their SysAdmins was they don't support that since its a nonstandard install.
My question is has anyone successfully run Percona in a WHM/Cpanel controlled environment? How did you install Percona? Did you have any problems? How do you maintain that installation? Were you able to have WHM "automatically" upgrade Percona, or at least prevent it from upgrading Percona down to MySQL? Is there a better way?
As a background, I am a software developer. I can run make, but managing a secure DB installation is beyond my scope.
http://www.ecommy.com/linux/install-percona-in-a-whm-cpanel-environment
also:
http://forums.cpanel.net/f5/installing-percona-mysql-track-queries-per-user-table-access-volumes-103477.html
The install is pretty straight forward. The database upgrading will not be managed within WHM/cpanel, so you would need to use your own method to administer updates. You should be able to install Maria in about the same matter.
I would personally keep a close eye on the installed database when cpanel does an update, just to make sure that it doesn't do something crazy like kicking the Percona version out. But, it should work without too much fuss.
Is this a right thing to do? I am using the Apache/Tomcat that comes with the liferay portal bundle and I used the MySQL that comes with WampServer at home but now I want to transfer my portal to a real Server and I wanted to know whether I could still use the Wamp's MySQL or should I install a real MySQL (What's the difference?)
Thanks in advance.
WAMPS MySQL server is not artificial, its the real deal. WAMP just bundles these softwares together and lets you deploy easily for development purposes. In a production environment you would deploy MySQL as a separate software and tweak it according to your needs. You CAN you WAMP on production environment, however you will need to make sure that you do not have any security flaws in there.