Connect with us

TECHNOLOGY

Automatic Tuning: How Systems Learn to Run Themselves Better

Published

on

Every complicated system has knobs. A database has settings for memory, cache size, how many connections it accepts at once. A web server has timeouts, thread counts, limits on how much work it does in parallel. Set them well and everything runs smoothly. Set them badly and the same hardware crawls — or falls over entirely.

For years, setting those knobs was a human job, done by specialists who learned, through experience, which values worked. Automatic tuning hands that job to the system itself: it watches how it is performing, tries small adjustments, measures the result, and keeps the changes that help.

The loop, step by step

It helps to think of automatic tuning as a loop that never stops. First, the system measures — how fast are queries answering, how much memory is free, how long are users waiting? Then it compares those measurements against a goal: response time under a certain limit, for example, or the most work done per second.

Then it adjusts. Not wildly — a small change to one setting at a time, so the effect can be measured. Then it measures again. If things improved, the change stays. If they got worse, it is reversed. Over hours and days, the system drifts towards settings that suit the actual workload it is carrying, not the workload someone guessed it would carry when it was first installed.

The clever part is that workloads change. A shop’s database behaves differently on a quiet Tuesday than on a sale weekend. A human would have to notice, log in, and retune by hand. An automatic system notices the pattern itself and adjusts in advance — or at least in time.

Where you already meet it

You have probably used automatic tuning without knowing the name. Modern databases — the ones behind most apps and websites — ship with it built in, adjusting indexes and memory as data grows. Cloud platforms do it at a larger scale: they add or remove servers as traffic rises and falls, which is the same idea applied to whole machines instead of single settings. Even your phone does a version of it, throttling performance to save battery when you are not using it heavily, and opening up when you are.

The reason it has become standard is scale. A company running a handful of servers could afford a specialist to tune each one. A company running thousands cannot — the knobs multiply faster than the people. Automation is not a luxury there; it is the only way the system stays manageable at all.

The limits, honestly stated

Automatic tuning is not magic, and it has failure modes worth knowing. A system can tune itself into a corner: it optimises for the workload it sees today and performs worse when that workload changes suddenly. It can also chase the wrong goal — making one number look good while another quietly gets worse. And when something goes wrong, the cause is harder to trace, because the settings changed themselves while nobody was watching.

That is why most real systems keep a human in the loop, at least at the edges: people set the goals and the safe limits, and the automation works inside them. The best analogy is cruise control, not a self-driving car. The driver still chooses the speed and the destination; the system just holds the speed steady over a long, boring road.

If you run anything on the cloud, this is part of what you are paying for, even if you never see it: the same cloud computing that hosts apps and backends also hosts the tuning that keeps them responsive. And if you build software, it is worth remembering that the code you ship is only half the story — the other half is how the system it runs on is configured, and increasingly, that half configures itself.

Continue Reading

TECHNOLOGY

Cyber Security Consultant: What They Actually Do (and When You Need One)

Published

on

By

Most companies know they should take security seriously, and most of them are not sure where to start. A cyber security consultant is the person they call in that situation: an outside expert, hired for a fixed piece of work, whose job is to look at a company’s systems the way an attacker would — and then tell them, plainly, what needs fixing first.

It is worth saying what the job is not. A consultant does not sit in your office forever, and does not replace your IT team. They arrive, they investigate, they report, and they leave. That distance is the point. An internal team knows the systems too well to see them freshly; it also has every reason not to report that something it built is unsafe. An outsider has neither problem.

A typical engagement, step by step

It usually starts with questions, not computers. What data matters most? Who can access it? What would happen if it leaked, or if the systems went down for a day? The answers set the priorities, because no company can protect everything equally, and trying to is a good way to protect nothing well.

Then comes the technical work. The consultant checks how the network is set up, whether passwords and access rules are sensible, whether software is up to date, and whether backups would actually work if they were needed. Often they test the defences directly — trying, with permission, to get into systems the way a real attacker would. The findings are usually a mix: a few serious problems, and a long list of small ones that are easy to fix and easy to ignore until they are not.

The deliverable is a report, ranked by risk, with fixes in plain language. A good report does not just list problems; it says which three matter most, what each fix costs, and what happens if it is left undone. That ranking is the real product. Anyone can find a hundred issues in a company’s systems. Knowing which five to fix this month is the skill.

When it is worth the money

For a small business with straightforward systems, a consultant is often overkill — the basics (strong passwords, updates, backups, and end-to-end encryption for private messages) cover most of the risk, and a good IT provider can handle them. The case for a consultant gets strong in three situations: after an incident, when something has already gone wrong and nobody is sure how far it went; before a big change, like moving systems to the cloud; or when a customer or regulator asks for proof that security has been checked by someone independent.

One honest warning: a consultant’s report is only useful if someone acts on it. Companies sometimes pay for the review, file the report, and change nothing — which is worse than not having one at all, because now they know about the problems. The value is not in the document. It is in the three or four fixes that actually get done, in the right order, before anyone needs them.

Continue Reading

TECHNOLOGY

Java Cloud Service: What It Is and Why Developers Still Use It

Published

on

By

Java is one of the oldest languages still in everyday use, and that is not an insult. Banks, airlines, governments and large online shops run enormous systems written in Java, and those systems are not going anywhere. A Java cloud service is simply the modern way of running them: instead of buying servers and installing Java on them yourself, you rent space on a cloud platform that already has Java ready to go, and you deploy your application there.

If that sounds unremarkable, that is the point. The value is in what you stop doing. No buying hardware. No patching an operating system at midnight. No guessing how many servers you will need next month. The cloud provider handles the machines; you handle the code.

What you actually get

A Java cloud service usually comes in one of two shapes. The first is a platform: you upload your Java application, and the platform runs it, scales it up when traffic rises, and scales it down when it falls. You do not manage the server at all. The second is raw infrastructure: you rent virtual machines, install Java yourself, and keep full control. The first is simpler; the second is more flexible. Most teams start with the platform and only move to raw machines when they need something unusual.

Either way, the same Java application behaves the same way it would on a server in your own office. That is Java’s oldest selling point — “write once, run anywhere” — and it is why the language survived the move to the cloud better than most. An application written ten years ago can usually run on a modern Java cloud service with little change, which matters enormously to the organisations that depend on those applications.

Where it fits, and where it does not

Java cloud services make the most sense for the kind of software Java is already good at: large, long-lived systems that handle a lot of transactions and need to be reliable above all else. Banking, booking, billing, inventory — the unglamorous machinery of business. For a small website or a quick experiment, a lighter language and a simpler host will usually be faster and cheaper.

There are costs to watch. Cloud bills grow quietly: a service left running, a database nobody uses, traffic that spikes for one weekend and never comes back down. And moving a Java application between cloud providers is possible but never as easy as the brochures suggest, because each provider’s extra features — its databases, its queues, its monitoring — are different.

Still, for the teams that already write Java, the cloud version of it is now the default, not the exception. It is the same shift that moved the rest of computing off owned hardware and onto rented infrastructure, described in our cloud computing guide. And it pairs with the way those teams now build software: small changes, tested immediately, merged often — the continuous integration habit that makes frequent deployment safe. The language is old. The way it is run is not.

Continue Reading

TECHNOLOGY

Application Portfolio Management: How Companies Decide Which Software to Keep

Published

on

By

Ask a medium-sized company how many applications it runs and the answer is usually a guess — and usually too low. There is the accounting system, the email system, the customer database. Then the tools each department bought for itself, the old system nobody dares switch off, and the three tools that all do roughly the same job. Over years, it adds up. Application portfolio management, usually shortened to APM, is the job of making a proper list of all of it, and then deciding, application by application, what stays, what goes, and what gets replaced.

It sounds like housekeeping. In practice it is one of the more consequential things an IT team does, because every application costs something even when nobody is looking at it: a licence fee, a server, someone’s time keeping it patched, and a security risk if it is out of date.

The inventory comes first

You cannot manage what you have not counted, so APM starts with an inventory. Not just names, but what each application does, who uses it, what it costs, what data it holds, and what it depends on. The surprises at this stage are the point. Teams regularly find software nobody in the company still uses, two systems doing the same job in different departments, and — most worrying — an old application holding important data that only one person knows how to operate.

Once the list exists, each application is judged on two simple questions. How much business value does it deliver? And how healthy is it technically — is it supported, secure, and able to change when the business needs it to? The answers sort everything into four rough groups: keep and invest in, keep but leave alone, replace soon, and retire.

Why retiring software is hard

Retiring an application is where most APM efforts stall, and the reasons are human, not technical. Someone built their working life around that system. A department head remembers the project that installed it. Nobody wants to be the person who switched something off and broke a process nobody had documented.

So the practical approach is rarely a sudden switch-off. It is a plan: move the data, train the people, run the old and new systems side by side for a while, and only then retire the old one. The cost saving is real — companies that do this properly often cut a fifth or more of their application spending — but the saving comes second. The first gain is clarity: knowing what you actually run, and why.

That clarity connects to the rest of modern technology work. The systems that survive are usually the ones built to be tested and changed safely, the way continuous integration lets teams change code in small, checked steps. And they usually run in the cloud, where the infrastructure itself is someone else’s problem — the same cloud computing model that has let companies stop owning servers and start renting them. APM is the management layer on top of all that: not a product you buy, but a habit of asking, regularly, whether every piece of software you pay for still earns its place.

Continue Reading

Trending