VPS for BAS: how many browsers a server can handle and where to keep it
Browser Automation Studio (BAS) builds scripts from ready-made actions: open a page, fill in a form, save a table, send the result to a file or a database. Typical tasks are checking prices in your own shop, regularly exporting data from your own dashboards, testing forms and pages of your own website before a release, and collecting public data for analytics. When scripts have to run on a schedule and around the clock, they are moved to a Windows server. This selection contains servers in Russia with 4 cores and 6 GB of memory or more.
How BAS uses resources
BAS is released for Windows only; a Linux server will not do. The load is determined by the thread mode:
- A browser thread starts a separate process of the built-in Chromium-based browser. Each such process keeps the page, its scripts and cache in memory: on ordinary sites allow 300–600 MB per thread.
- An HTTP client thread runs without a browser and uses almost no memory. The developer states up to 2000 threads for the HTTP client; in practice the limit becomes the network and the site itself.
BAS has no official memory figure per thread, so estimate like this: 2–3 GB for Windows with a desktop plus the number of browser threads multiplied by half a gigabyte. With 6 GB that gives 4–6 browser threads, with 8 GB of memory up to ten. You need roughly one core per two or three active browsers: a VPS has no graphics card, so pages are rendered by the CPU. If a script does not need to execute JavaScript, switch it to the HTTP client: it is the cheapest way to speed things up.
Before choosing a bigger plan, check the real load. Run the script with the required number of threads, leave it for an hour and look at peak memory and CPU load in Task Manager. If memory runs short, Windows goes into the page file and scripts start failing on timeouts: pages do not manage to load within the allotted time. A fast disk reduces this effect, since browsers constantly write cache, but it does not replace missing memory. A 20–30% margin over the peak values saves you from failures on heavy pages.
Licence: what is tied to what
Unlike many automation programs, BAS is not activated against the computer's hardware: the free version is enough to write and run your own scripts, and it can be installed on any server. A paid subscription is registered to a Bablosoft account and is needed by those who build a standalone application from a script, with code protection, their own interface and user access control. So changing the VPS for BAS involves no rebinding: it is enough to move the folder with projects and resources.
Why a server in Russia
If the scripts work with Russian websites, a server close to them shortens the load time of every page. For a single request the difference is small, but a browser thread makes dozens of requests per page, and over a day the savings add up to hours. Sites show regional prices and availability based on the visitor's location, and that matters when checking your own range. The second advantage is a responsive remote desktop: from Moscow to a server in a Moscow data centre latency is usually a few milliseconds, and debugging a script over RDP feels no different from working at your own computer. If your sites and team are elsewhere, the same reasoning applies: choose a server in their region.
Scheduled runs and stability
- Run compiled scripts through Windows Task Scheduler with autostart after a reboot.
- Disconnect from RDP by closing the window rather than signing out of the session: signing out of the account ends the browser threads.
- Limit the request rate in the script with pauses. This is both courtesy towards someone else's site and protection against bugs where a loop without a delay performs thousands of identical actions.
- Enable error logging in the script: when it runs unattended, this is the only way to understand why the night-time export came out empty.
Projects and backups
A BAS project is a script file plus resources: input lists, templates, results in the built-in database or in external files. Keep everything in one folder and copy it off the server on a schedule, and take a snapshot before updating BAS: a new version sometimes changes how actions behave, and a rollback saves a day. For debugging a new script it is handy to have a separate temporary server; such plans are collected on the VPS for testing page.
Use BAS for your own tasks and within the rules of websites: your own accounts, public data, a reasonable request rate. If you are comparing BAS with another program, the Windows and memory requirements are close to those described in the VPS for ZennoPoster selection.