Some applications might have some extensive query which might take several seconds to response, some people said a few seconds isn’t a big problem. Now, let say you one heavy query which will take 2s , remember this that 2s is when your server in low load, when your server got few hundred hits to that query, that normal 2s is no longer 2s, it will be added up. If this continue, your server will be dead.First thing people will think about caching, using ngnix (for example), but remember that, ngnix cache is based on the url , this is good for static content. ModernRead More →

If you use Splunk for Infrastructure – this CPU alert can be highly customizable . It’s not like other alert where all the values are static. Each host has different threshold,waiting time. This query can help. You can use a lookup table to customize the threshold and the waiting time.Read More →

Well, your quick answer could be yes, it’s pretty simple. All you need is to a little Selenium experience. We’ll that’s correct when you start with some simple stuff, click on this , fill some text , hit submit , then you are done. But when you are actually working on a project, things are not as simple as your first test. In order to automate a task, you need know how to get the object , either based on css/xpath/id . If you are lucky, these fields are not changed you can use it again, but if these are dynamic you must put moreRead More →

Step1: Login to jump server:     ssh -L 127.0.0.1:8080:127.0.0.1:8080 user@jump_server Step2: On jump server: ssh -D8080 user@remote_server1 Step3: Change browser socks proxy using socks5: 127.0.0.1:8080 All in one command:  ssh -L 127.0.0.1:8080:127.0.0.1:8080 -A -t -l user@jump_server “ssh -D8081 -A -t -l remote_user@remote_server”Read More →

Reboot Server Script: Automating Server Restarts for Improved Uptime and Maintenance In any production environment, maintaining system uptime and ensuring your servers are running efficiently are critical components of an IT professional’s responsibilities. Sometimes, servers need to be rebooted to apply updates, clear memory, resolve issues, or improve overall performance. While manually rebooting a server can be a straightforward task, automating this process with a script can save time and reduce human error. In this article, we will walk you through how to write and use a reboot server script to automate the reboot process on various server environments, including Linux and Windows servers. WhyRead More →

I have been struggling with my powershell script , i write a content variable to a file using Out-File $data.jar_cookie_content | Out-File -FilePath $cookie_file What’s wrong with this? i checked the output file using the text editor , they look exactly the same content of the variable. Initially, i thought the problem is from my other program , some ow it doesn’t accept this data. After 1/2 day troubleshooting i realized the filesize was double than its original content. I finally fixed it with this: $data.jar_cookie_content | Out-File -FilePath $cookie_file -encoding ASCIIRead More →

There are 2 options in sitespeed we don’t see in the documentation is : –browsertime.retries 2 –browsertime.retryWaitTime 2000 -browsertime.retries : when a browser is unable to load, this is the number of time we wait –browsertime.retryWaitTime : time to wait each time (in ms)Read More →