Operations and Deployment
๐๏ธ Managing Complicated Configuration Files
Having a single, monolithic configuration file for AMPS is great for simple environments, but as an instance grows to include multiple teams or applications it's often desirable to partition the config into individual components with different maintainers.
๐๏ธ How can I find the version of my AMPS server?
There are several simple ways to get the version number of the AMPS server:
๐๏ธ Can I run multiple instances of AMPS on the same system?
Yes -- we have customers in production who run over a dozen instances of AMPS on the same (large) system. AMPS is well suited for this scenario, with a little care in configuration and advance planning for system capacity.
๐๏ธ What Does it Mean When dmesg Says AMPS Blocked For More than 120 Seconds
From time to time, 60East receives reports of situations where the AMPS process becomes unresponsive for a period of time without creating a minidump and logging stuck thread warnings that don\'t seem to have an obvious cause.
๐๏ธ What does seconds_behind mean?
The AMPS statistics database and administrative interface provide a secondsbehind metric to indicate where in the transaction log a given process is. The secondsbehind number is taken by subtracting the timestamp for that point in the transaction log from the current time: this is a simple, efficient way of communicating a point in the transaction log.
๐๏ธ How do I use custom authentication with spark?
When using an authentication strategy that's been developed for your site, you can use the same authenticator that you use for your Java client.
๐๏ธ What is client reaping?
AMPS is implemented as a set of interconnected components that operate relatively independently.
๐๏ธ How much bandwidth will replication require?
AMPS replication provides the ability to provide messages from one instance of AMPS to another instance of AMPS. Starting in AMPS 4.3, AMPS offers replication compression to reduce the amount of bandwidth required for replication.
๐๏ธ What value is normal for a specific performance counter?
Since AMPS is used in a wide variety of applications that range from extremely latency-sensitive parts of order processing all the way to large-scale but low volume telemetry collection, there is no single set of values that makes sense for all AMPS applications.
๐๏ธ Why is AMPS logging a memory allocation failure when the system has plenty of free memory?
The first thing to check when AMPS logs a memory allocation failure is whether the system has enough free memory to satisfy the request. You can do this either real time, by inspecting the system, or by using the administrative console or stats.db to check the amount of memory available at the time of the failure.
๐๏ธ Can I check a configuration file without restarting AMPS?
Yes!
๐๏ธ What's the difference between sync and async acknowledgement in AMPS replication?
The difference between sync replication and async replication is when AMPS tells the publisher that the message has been persisted.
๐๏ธ Do I need to worry when a regular expression topic name can't be validated?
There's no need to take action, provided that you have ensured that the regular expression is correct and matches the topic names that you want to replicate.
๐๏ธ Can AMPS Run as a User Service?
Yes.
๐๏ธ Can I dynamically choose which topics to replicate?
AMPS requires you to specify the topics to replicate at configuration time, and does not currently allow you to change that specification without restarting AMPS.
๐๏ธ Should we have Hyper-threading enabled on AMPS servers?
We recommend always using hyper-threading. Fromย ourย tests and customer feedback,ย it turns out that typical systems (ones combining network, storage, compute -- not micro-benchmarks) benefit from the extra scheduling units.
๐๏ธ Does AMPS correctly handle leap seconds?
AMPS handles leap seconds and abrupt changes to the system time correctly. We've hardened AMPS against things more severe than leap seconds (think: suspending a VM and awakening it hours later).
๐๏ธ How do I copy a SOW from one AMPS instance to another?
Use the spark command line tool. In current versions of AMPS, spark is included in the AMPS distribution.
๐๏ธ How can I control the size of the statistics database?
AMPS supports an action to help manage the size of the statistics database.
๐๏ธ How can I configure AMPS to use a specific network adapter?
To configure AMPS to listen on a specific network adapter, simply provide the IP address of that network adapter in the InetAddr for the transport.
๐๏ธ How can I limit the amount of memory AMPS consumes?
To limit the memory for the AMPS process overall, use ulimit -m in the script that starts AMPS.
๐๏ธ What if I need to move messages from one AMPS instance to another?
To keep two instances of AMPS synchronized, AMPS includes full replication functionality. For high-availability or to populate a disaster recovery instance, 60East recommends replication. See the AMPS User Guide for more details.
๐๏ธ Is PCIe SSD a requirement when using a transaction log?
When using AMPS with a transaction log, it is recommended but not required that the journal file persistence is on the fastest storage device available. AMPS can sustain well over 800,000 1KB messages per second when written to a transaction log residing on a modern FusionIO PCIe device. If transaction log performance requirements exceed a few thousand messages per second then a fast storage device is highly recommended.
๐๏ธ How do I verify an AMPS release?
AMPS releases are signed by the key with fingerprint A49E 053A 4C60 9FF5 30EA 0C60 2899 3A8D 8D40 BD7F
๐๏ธ AMPS Log Messages
12 items