In this post i want to show you how to take database backup using Laravel backup package this package will provide command to take backup from your live server and that command you can use in crontab file on server that way you can get backup daily on every hourly etc as you want Database backup
In a previous post, we looked into load balancing for PHP apps and how to configure read-write splitting on MySQL Replication setups. The native PHP MySQL driver (php-mysqlnd_ms) would perform read/write splits, and the MySQL connections would be made on one of the two listeners of HAProxy.
In this post, we’ll play around with Java, Connector/J, MySQL Replication and HAProxy. One important thing to note is that, unlike php-mysqlnd_ms, Connector/J is aware of MySQL Replication but it does not automatically perform read-write splitting. We have to instruct the query statement in the code of our Java application to establish a so-called read operation, using a JDBC connection object as read-only. Then, the driver will redirect the query to one of the healthy slaves as defined in the JDBC connection …
[Read more]
When your database undergoes a restart, whether it's a clean
reboot or a crash, it will typically create two negative effects
your application will have to face:
blackout (downtime) and brownout (period
of degraded performance after startup).
In my previous post, I described how Aurora makes
downtime less stressful for you, now it's time to investigate yet
another feature that should come in handy in mission-critical
environments: the survivable page cache.
Introduction As usual, let's throw in a tiny bit of theory before
looking at the demonstrations.
The InnoDB Buffer Pool is an in-memory area for
caching data and index pages. That said, buffer pool can also be
called a "page cache". Both terms mean …
Sometimes we have apis implemented in our application and there
are different levels at which these can be tested.
1. Unit tested at model level to check the logic is working
fine
2. Tested at API call level to ascertain whether all the apis as
expected are working and are returning data as expected.
Today, we will be learning how to test APIs in CodeIgniter 2.x
version using phpunit and Guzzle Http client.
Basically Guzzle Http client is a client used to make http client
requests.
Ref: https://github.com/guzzle/guzzle
"Guzzle is a PHP HTTP client that makes it easy to send HTTP …
nowdays sublime is a very popular text edir in the developing field sublime text editor is provide lots of packages like code formatter php syntax etc sublime is also provide snippet snippet is very intrsting point because if you need to write same code lots of time than you can create shortcut
However you want the scrolling process to have animated effect you have to follow bellow example in this post you can add button for scrolling top with animate effect Most of website you can see with one button left side or right side for scrolling top of the page so if you want to create on yo
This blogpost extends last one. In the last blogpost, we had a look into Docker Network and how it makes the communication between the containers (over multiple hosts) easier. Of course we used Galera for that :)
In this blogpost we are going to use Docker Swarm to bootstrap a Galera Cluster.
Why using Docker Swarm?
Docker Swarm is (simplified) a proxy. So we've got one accesspoint to manage multiple hosts. (The swarm manage service will run on 172.17.152.11:2376). We also use Docker Swarm to abstract from the nodes. As we want the cluster to be running but we don't want to define explicitly where to run them. (Think about a 3-node-cluster on Docker Swarm with 100 nodes.)
Let us point the local docker to Docker Swarm:
export DOCKER_HOST=tcp://172.17.152.11:2376
We still got …
[Read more]The MariaDB project is pleased to announce the immediate availability of MariaDB 10.1.13, and MariaDB Connector/J 1.3.7. See the release notes and changelogs for details on these releases. Download MariaDB 10.1.13 Release Notes Changelog What is MariaDB 10.1? MariaDB APT and YUM Repository Configuration Generator Download MariaDB Connector/J 1.3.7 Release Notes Changelog About MariaDB Connector/J […]
The post MariaDB 10.1.13 and Connector/J 1.3.7 now available appeared first on MariaDB.org.
Sylvia Botros, Sendgrid’s lead DBA, recently told us about one of the ways her teams have found unique value in VividCortex. “Engineering managers and individual developers have pinged me and said, ‘Hey, I saw this in VividCortex -- what do you think?’ Some of our developers are not fully familiar with the generals of MySQL,” she explained, “but VividCortex is giving them a view into how their app is dealing with databases. And at the same time it’s teaching them DB lingo, which is good.”
This feedback from Sylvia opens the door to one of the questions we hear a lot about VividCortex: “How is your solution different from my existing APM (Application Performance Management) tool?”It’s a great question with many technical answers, but ultimately the only answers that matter are the ones focused on results. As an engineering-led company, we’re …
[Read more]Whenever you need to convert object to array in your php project then you can do that using array It is a pretty simple example to convert php object into array that way you can use array So lets see the following examplestrong classexampleExamplestrongpre classprettyprint lang