Tool

Run GUI Test With Docker: Detect Web Page Loading Issues

How fast your web pages load on client sides, especially the portal or login pages? And how do you detect unexpected 302, 404 or 5XX responses. It would probably hurt your user experience or even the functionalities. Slow or problematic page loading are always bad.

Good, if you have examined that carefully. And most likely, with multiple unpleasant manual steps. The thing is how can you be so sure that it’s always good. Even with the endless code changes.

To automate the GUI test? You have to learn lots of GUI automation skills, and the complicated setup. Yes, I certainly believe you are capable for this, my friend. But you might not have enough time.

Good news! With container technology, things are way much easier now. Check out this short post. And have a try now!

Use Docker To Run GUI Test: Detect Web Page Loading Issues


(more…)

Examine Your Elasticsearch Shards

People may start their elasticsearch cluster with very few shards. Or even start with 1 somehow.

WATCH OUT! You might be in big troubles, when your data grows much bigger.

Like slow query performance. Endless service crash with out-of-memory issues. Even worse, adding more VMs won’t help!

And the cure? You have to re-index them. But it comes with a cost, which you wish not to pay. Trust me, it hurts. Badly.

Examine Your Elasticsearch Shards


(more…)

Monitor Out-Of-Memory Errors In Your Servers

As DevOps/Ops, you maintain DB instances or RAM intensive services. You see OOM issues occasionally, don’t you? Yes, the scary Out-Of-Memory issues.

Nobody enjoys OOM issues. When it does happen, what should be checked? More importantly, how to monitor OOM issues? And get alerts, before it actually happens.

Here are some of my thoughts. Take a look and discuss with me!

Monitor Out-Of-Memory Errors In Your Servers


(more…)

Ultimate Command Line To Share Files Across The Internet

Using a single command, we can easily upload any files from our computers or servers to a web server. Then our friends or colleagues can download them directly from web browsers. Isn’t that cool?

Worry about the security? We can encrypt files before transfer. Also we can claim the maxinum downloads of those files, or expire download link in several days.

Here we go! transfer.sh: easy and fast file sharing from the command-line. Zero Initial Setup and Super Easy to use.

Ultimate Command Line To Share Files Across The Internet


(more…)

Free And Temporary VPN For China

If you are in China or temporarily visit China, it’s hard to open Google, Gmail, Slideshare, Twitter, etc. Internet Censorship is fine. But… I strongly suggest there should be one exception. We, as developers, should be able to access. It’s a must to do a better job.
Here I provide a free VPN service. The password will be rotated periodically. Unfortunately I can’t afford to make a bigger commitment. It should be good for temporary use. Right? Good news is you will have a Docker image to easily run the service in your own server. Check it now!

Free And Temporary VPN For China


(more…)

Reverse SSH Tunnel: Export Your Mac Laptop To The Internet

Lots of professional programmers use Macs heavily in their daily work. Do you know we can easily export mac laptop to the internet? Trusted people can access our laptop directly from anywhere. Definitely for temporary use. It could be ssh operations or various web services.

Here is A Simple And Complete Guide in 10 min. Share it, if you like it.

Reverse SSH Tunnel. Export Your Mac Laptop To The Internet


(more…)

VPS Comparison: Linode VS DigitalOcean

DigitalOcean is inexpensive to AWS EC2. Surprisingly Linode is even 30%-40% cheaper than Digtialocean. Certainly Linode is much less matured to them both. But with reasonable compromise, Linode could be attracting to small business and individuals.

Enclosed is a detail VPS comparison report, based on my hand-on experience.

VPS Comparison: Linode VS DigitalOcean


(more…)