Hi,

The threads we are talking about are threads in a single process that performs
in parallel the way you are describing it.

The threads themselves perform more or less identical tasks. I a minimal
system with a single thread (the Admin thread) the system will perform all the
tasks within that single thread.

The queues are queues only in a bogged down system where the AR
Server/Database threads are all in use at the same time where user calls will
be queued until a thread is free to service them. This is why they are called
queues.

The Admin/Fast/List/Escalation/Private queues are just a way to designate
threads to certain types of operations.

Each thread can service API-calls, which typically triggers a database search
or a bunch of filter operations followerd by a write to the database.

Each thread keeps an active database connection open to the database at all
times.

        Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

> In Java a thread means a part of the program that executes independent of
> other parts. Is that same in remedy? Can you give me example of execution in
> remedy?
>
> A queue means lining up of jobs/threads like a pages in a printer.
>
> Feel free to correct me.
>
>

Hi,

There is a legacy here which might make it a little obscure.

But nowadays the AR Server uses threads (similar to Java) to compute things
parallel, and make parallel connections/calls to the database.

Each active queue has one ore more threads, and listen to different RPC
numbers, but except for Private queues you will only use RPC# 390601 (if I
remember right) and the transactions will be routed to the right queue.

In a normal system you have these queues (and each can have multiple threads):
- Fast (handles most single record operations like Submit and Modify of a 
ticket)
- List (handles most multiple record operations like a Search or getting the
list of fields for a form)
- Admin (the core thread that also handles all admin operations from DevStudio)
- Escalation (performs the escalation searches and any resulting filter
operations on updated records)
- Private (private threads can be configured if you for example have an API
integration that should be separated from the normal queues. Either to give
priority access or to prevent it from bogging down the other queues servicing
normal users)

        Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to