সব বই

পেশাদার

1 Markets I: The Ecosystem and Exchange-Traded Marketsবাজার অনলাইন 2 Markets II: Rates, FX and Creditবাজার অনলাইন 3 Markets III: Commodities, Energy and Cryptoবাজার অনলাইন 4 Quantitative Methodsপদ্ধতি অনলাইন 5 Derivatives and Volatilityডেরিভেটিভস অনলাইন 6 Rates, Credit, XVA and Riskসুদহার, ঋণ ও ঝুঁকি অনলাইন 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosগবেষণা অনলাইন 8 Strategies I: Equities and Futuresকৌশল অনলাইন 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksকৌশল অনলাইন 10 Microstructure and Executionএক্সিকিউশন অনলাইন 11 Market Making and High-Frequency Tradingমার্কেট মেকিং অনলাইন 12 Machine Learning for Marketsমেশিন লার্নিং অনলাইন 13 Low-Latency Softwareপ্রযুক্তি অনলাইন 14 Networks, Hardware and Trading Infrastructureপ্রযুক্তি অনলাইন 15 Research, Data and Risk Platformsপ্রযুক্তি অনলাইন 16 The Desk and the Firmপ্রতিষ্ঠান অনলাইন 17 The Industry: Firms, Roles and Careersক্যারিয়ার অনলাইন 18 Interviews I: Maths, Probability and Speedক্যারিয়ার অনলাইন 19 Interviews II: Markets, Trading Games and the Final Roundক্যারিয়ার অনলাইন 20 Interviews III: Codeক্যারিয়ার অনলাইন
অ্যাপ পরিচিতি Coach সাইন ইন পড়া শুরু করো

বইগুলো এখনো বাংলা ভাষায় পাওয়া যায় না — ইংরেজি সংস্করণ দেখানো হচ্ছে।

Quantitative Finance · পরিভাষা

TLS handshake, session resumption কী?

অন্য নাম: TLS handshake · session resumption

Definition 17.2 Low-Latency Software · অধ্যায় 17 — WebSocket, REST, TLS and JSON at Speed

The TLS handshake is the exchange that opens a TLS connection: the two sides agree on a protocol version and cipher, exchange key shares, the server proves its identity with its certificate, and both derive the keys that protect the records that follow; in TLS 1.3 it takes one round trip. Session resumption opens a new connection with a key derived from an earlier one (a pre-shared key sent to the client as a ticket), skipping the certificate and part of the key exchange.

Operation (loopback, laptop)Cost
TLS 1.3 full handshake (Python ssl, both ends)2.1 ms2.1\,\mathrm{m}\mathrm{s}
TLS 1.3 resumed handshake (Python ssl, both ends)1.6 ms1.6\,\mathrm{m}\mathrm{s}
Round trip of 300 bytes over TLS (Python)45 µs45\,\text{µ}\mathrm{s}
Round trip of 300 bytes over plain TCP (Python)33 µs33\,\text{µ}\mathrm{s}
AES-128-GCM seal of a 300-byte record (OpenSSL, C++)0.16 µs0.16\,\text{µ}\mathrm{s}
AES-128-GCM open of a 300-byte record (OpenSSL, C++)0.15 µs0.15\,\text{µ}\mathrm{s}
Table 17.1. TLS on the laptop’s loopback: medians of 300 handshakes each way and of 5 000 round trips, and of 21 passes of 1 000 records. Measured on a laptop (Intel Core Ultra 7 155H) under WSL2, no isolated cores; OpenSSL 3.0.2, Python 3.10. Data: bench_web.py, measured_tls.csv and measured_web.csv.
প্রসঙ্গসহ পড়ো →