How many PE (Parsing Engine) can be configured in a Teradata Box - teradata

Lets say, for a system with 8 nodes and 368 AMPS, what is the number of PE that be configured? And How many sessions can each PE can handle (The default is 120)

Max 10 PEs per node are permissible, but better is to add 2 PE per node (it will give you optimal performance).
1 PE supports 128 sessions where 8 are reserved for internal use. SO 128-8 = 120 sessions per PE is usable by users.

Related

What is the range of id for open groups (not the channel) in Telegram?

Created an open group whose id is -1001492565750, somewhere I read that -100 is the id of the group entity, real id is 1 492 565 750, maybe someone knows the exact range, decided to check the id of its various groups and I got about 1 340 000 000 to 1 590 000 000.
Telegram ID's can be bigger than 2^31 - 1.
(2.147.483.647)
From the Telegram Bot API 5.1 Change log:
March 9, 2021
⚠️ WARNING! ⚠️
After one of the upcoming Bot API updates, some user identifiers will become bigger than 2^31 - 1 and it will be no longer possible to store them in a signed 32-bit integer type. User identifiers will have up to 52 significant bits, so a 64-bit integer or double-precision float type would still be safe for storing them.
Please make sure that your code can correctly handle such user identifiers.

many of the channels are not occupied in asterisk with sangoma

I am using 4 port and 2 port sangoma card with direct PRI (ISDN) . Only first few channels are occupying for incoming calls. Please find the below sample report for fifth PRI,
ChannelNo Calls
125 1273
126 607
127 292
128 110
129 34
130 11
131 2
>
rest of the channels are not receiving the calls (132 to 155).
Is this issue is really belongs to service provider..? Please suggest..
Pri card is digital card. So all channels usually(unless specialy configured) belong to one span(logical channel).
As you can see from your output, you have more calls on lower channel numbers. That just mean your provider not use round-robin calling but just calling first availible channel. That is ok, nothing to do with that.
That just mean you never use more then 131 concurrent channel.

How fast can fully transaction Storm cluster process tuples?

I understand that the bench mark for commodity hardware is around 10 nodes able to process 1 million tuples (each of size 10 MB?) per second. However, the term commodity hardware is vague and just to add a pinch of salt, is each node 8 core?
Also is this bench mark speed for a fully transactional base Storm cluster or a cluster that is configured for maximum efficiency?

What if a bus can't take a whole instruction length?

I'm learning about computer architecture and I know how a computer works when it executes a program. The thing that makes me confused is when the instruction length is longer than the width of the bus AND the instruction length is NOT the double of the bus width. Let's say we have 12 bit instructions and an 8 bit bus. What does the computer do? Does it:
Analyse the PC
Go to the address of the PC
Fetch 8 bits of the instruction
store 8 bits in instruction register
increase PC by 8 bits (???)
fetch the remaining 4 bits
fill the instruction register (which is 12 bits long?)
Well as you see I'm confused here. I suppose it's not like this, but I need to know in detail how it works and what the PC is after every step.
Would be very grateful for some help! Thanks in advance.
Normally, the smalls amount of memory that can be read or written is 1 byte, i.e. 8 bits. So if the CPU needs 12 bits only, it has to read two 8-bit bytes. From the 16 bits, the required 12 bits are extracted by hardware, and the remaining 4 bits are not used.
Since this is not so memory efficient, the instruction length of a CPU normally is a multiple of 8 bits, e.g. by packing operands directly into the instruction.
So your 7 steps in your example are right except step 6, in which 8 bits are fetched, of which only 4 would be used.

How can I reduce the size of a cookie value?

I need to know the best way to reduce the size of data to be stored in cookie.
You could store a unique identifier or token as the cookie's value and then store all the data you want associated with it on the server side in the database.
User shows up with token abcdefg. You query the db and get all your info for token abcdefg.
Also depends on the kind of data you want to store. You can express a subset of known, possibly applicable property values as 2 to the power of n, e.g.
Car Wash Properties:
Basic Air Dry 1
Hand wipe with chamois 2
Steam clean wheels 4
Steam clean engine 8
Hot Wax 16
Interior vacuum 32
Tire treatment 64
such that Basic Air Dry + Interior vacuum = 33. All you'd need to store is the value 33.

Resources